commit
7fc014d6aa
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
9
config.toml
Normal file
9
config.toml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
baseURL = "http://example.org/"
|
||||||
|
languageCode = "fr-fr"
|
||||||
|
title = "Anna Uetwiller - Architecte"
|
||||||
|
theme = "anna"
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Accueil"
|
||||||
|
url = "/"
|
||||||
|
weight = 10
|
8
content/CV.md
Normal file
8
content/CV.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: "CV"
|
||||||
|
date: 2020-07-04T15:09:49+02:00
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
weight: 50
|
||||||
|
---
|
||||||
|
|
6
content/_index.md
Normal file
6
content/_index.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "Accueil"
|
||||||
|
date: 2020-07-04T15:40:03+02:00
|
||||||
|
---
|
||||||
|
|
||||||
|
# Hello there
|
12
content/contact.md
Normal file
12
content/contact.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
title: "Contact"
|
||||||
|
date: 2020-07-04T16:17:52+02:00
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
weight: 40
|
||||||
|
---
|
||||||
|
# Contact
|
||||||
|
|
||||||
|
Adresse: 16, rue du Ziegelfeld, 67100 STRASBOURG
|
||||||
|
Téléphone: [0678825821](tel:0678825821)
|
||||||
|
email: anna.tsoi.fr@gmail.com
|
19
content/modelisation/index.md
Normal file
19
content/modelisation/index.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
title: "Modelisation 3D"
|
||||||
|
date: 2020-07-04T15:09:42+02:00
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
weight: 30
|
||||||
|
---
|
||||||
|
# Modélisation 3D de l'intérieur
|
||||||
|
{{< gallery >}}
|
||||||
|
{{< img "maison1.jpg" "Image 1" "portfolio/osenbach" >}}
|
||||||
|
{{< img "maison1.jpg" "Image 1" "portfolio/osenbach" >}}
|
||||||
|
{{< /gallery >}}
|
||||||
|
|
||||||
|
# Modélisation 3D de l'extérieur
|
||||||
|
{{< gallery >}}
|
||||||
|
{{< img "maison1.jpg" "Image 1" "portfolio/osenbach" >}}
|
||||||
|
{{< img "maison1.jpg" "Image 1" "portfolio/osenbach" >}}
|
||||||
|
{{< img "maison1.jpg" "Image 1" "portfolio/osenbach" >}}
|
||||||
|
{{< /gallery >}}
|
BIN
content/modelisation/maison1.jpg
Normal file
BIN
content/modelisation/maison1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
BIN
content/portfolio/osenbach/image1.jpg
Normal file
BIN
content/portfolio/osenbach/image1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
BIN
content/portfolio/osenbach/image2.jpg
Normal file
BIN
content/portfolio/osenbach/image2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 KiB |
14
content/portfolio/osenbach/index.md
Normal file
14
content/portfolio/osenbach/index.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
title: "Maison à Osenbach"
|
||||||
|
date: 2020-08-15T17:14:42+02:00
|
||||||
|
images:
|
||||||
|
- image1.jpg
|
||||||
|
- image2.jpg
|
||||||
|
- image1.jpg
|
||||||
|
- image1.jpg
|
||||||
|
- image1.jpg
|
||||||
|
- image2.jpg
|
||||||
|
- image2.jpg
|
||||||
|
- image2.jpg
|
||||||
|
---
|
||||||
|
Contenu à écrire
|
8
content/realisation.md
Normal file
8
content/realisation.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: "Realisation de plans 2D"
|
||||||
|
date: 2020-07-04T15:09:37+02:00
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
weight: 20
|
||||||
|
---
|
||||||
|
|
20
themes/anna/LICENSE
Normal file
20
themes/anna/LICENSE
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2020 YOUR_NAME_HERE
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
2
themes/anna/archetypes/default.md
Normal file
2
themes/anna/archetypes/default.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
+++
|
||||||
|
+++
|
158
themes/anna/assets/sass/main.scss
Normal file
158
themes/anna/assets/sass/main.scss
Normal file
@ -0,0 +1,158 @@
|
|||||||
|
@import 'reset';
|
||||||
|
|
||||||
|
$base-color: rgb(1, 79, 102);
|
||||||
|
$background-color: #e6e6e6;
|
||||||
|
$content-background-color: #f6f1ea;
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: $background-color;
|
||||||
|
margin: 0;
|
||||||
|
display: grid;
|
||||||
|
color: $base-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1025px) {
|
||||||
|
body {
|
||||||
|
grid-template-columns: 250px;
|
||||||
|
grid-template-areas: 'menu title' 'menu content';
|
||||||
|
}
|
||||||
|
|
||||||
|
#navbar {
|
||||||
|
height: 100vh;
|
||||||
|
position: fixed;
|
||||||
|
padding: 1rem;
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
body {
|
||||||
|
grid-template-areas: 'title' 'menu' 'content';
|
||||||
|
}
|
||||||
|
|
||||||
|
#navbar {
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#title {
|
||||||
|
grid-area: title;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 1rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: xx-large;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: x-large;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#navbar {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
background-color: $base-color;
|
||||||
|
list-style: none;
|
||||||
|
grid-area: menu;
|
||||||
|
|
||||||
|
li {
|
||||||
|
&:not(:first-child) {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#logo {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
grid-area: content;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
background-color: $content-background-color;
|
||||||
|
margin-right: 2rem;
|
||||||
|
margin-left: 2rem;
|
||||||
|
padding: 1rem;
|
||||||
|
font-size: large;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: x-large;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style: disc;
|
||||||
|
margin: 1rem;
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.gallery {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
a {
|
||||||
|
margin: 0.5rem;
|
||||||
|
width: 20%;
|
||||||
|
img {
|
||||||
|
max-width:100%;
|
||||||
|
max-height:100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.portfolio {
|
||||||
|
h1 {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 1rem;
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
}
|
||||||
|
ul {
|
||||||
|
margin-left: 1rem;
|
||||||
|
margin-right: 1rem;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
li {
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
&:first-child {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
&:nth-child(3n) {
|
||||||
|
margin-left: 1rem;
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
&:not(:first-child) {
|
||||||
|
width: 33.333333%;
|
||||||
|
flex: 0 1 calc(33.333333% - 0.666666rem);
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
48
themes/anna/assets/sass/reset.css
Normal file
48
themes/anna/assets/sass/reset.css
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
/* http://meyerweb.com/eric/tools/css/reset/
|
||||||
|
v2.0 | 20110126
|
||||||
|
License: none (public domain)
|
||||||
|
*/
|
||||||
|
|
||||||
|
html, body, div, span, applet, object, iframe,
|
||||||
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||||
|
a, abbr, acronym, address, big, cite, code,
|
||||||
|
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||||
|
small, strike, strong, sub, sup, tt, var,
|
||||||
|
b, u, i, center,
|
||||||
|
dl, dt, dd, ol, ul, li,
|
||||||
|
fieldset, form, label, legend,
|
||||||
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||||
|
article, aside, canvas, details, embed,
|
||||||
|
figure, figcaption, footer, header, hgroup,
|
||||||
|
menu, nav, output, ruby, section, summary,
|
||||||
|
time, mark, audio, video {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
font-size: 100%;
|
||||||
|
font: inherit;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
/* HTML5 display-role reset for older browsers */
|
||||||
|
article, aside, details, figcaption, figure,
|
||||||
|
footer, header, hgroup, menu, nav, section {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
ol, ul {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
blockquote, q {
|
||||||
|
quotes: none;
|
||||||
|
}
|
||||||
|
blockquote:before, blockquote:after,
|
||||||
|
q:before, q:after {
|
||||||
|
content: '';
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
0
themes/anna/layouts/404.html
Normal file
0
themes/anna/layouts/404.html
Normal file
11
themes/anna/layouts/_default/baseof.html
Normal file
11
themes/anna/layouts/_default/baseof.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ .Site.LanguageCode }}">
|
||||||
|
{{- partial "head.html" . -}}
|
||||||
|
<body>
|
||||||
|
{{- partial "header.html" . -}}
|
||||||
|
<div id="content">
|
||||||
|
{{- block "main" . }}{{- end }}
|
||||||
|
</div>
|
||||||
|
{{- partial "footer.html" . -}}
|
||||||
|
</body>
|
||||||
|
</html>
|
13
themes/anna/layouts/_default/list.html
Normal file
13
themes/anna/layouts/_default/list.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<div class="container">
|
||||||
|
<div class="section">
|
||||||
|
<div class="content">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
{{ .Content }}
|
||||||
|
{{ range .Pages }}
|
||||||
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
3
themes/anna/layouts/_default/single.html
Normal file
3
themes/anna/layouts/_default/single.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
{{ .Content }}
|
||||||
|
{{ end }}
|
3
themes/anna/layouts/index.html
Normal file
3
themes/anna/layouts/index.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
{{ .Content }}
|
||||||
|
{{ end }}
|
0
themes/anna/layouts/partials/footer.html
Normal file
0
themes/anna/layouts/partials/footer.html
Normal file
11
themes/anna/layouts/partials/head.html
Normal file
11
themes/anna/layouts/partials/head.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<head>
|
||||||
|
<title>{{ .Site.Title }}</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<meta name="description" content="{{ .Description }}">
|
||||||
|
<base href="{{ .Site.BaseURL }}">
|
||||||
|
{{ $styles := resources.Get "sass/main.scss" | toCSS }}
|
||||||
|
<link rel="stylesheet" href="{{ $styles.Permalink }}">
|
||||||
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
|
</head>
|
||||||
|
|
16
themes/anna/layouts/partials/header.html
Normal file
16
themes/anna/layouts/partials/header.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<ul id="navbar">
|
||||||
|
<li><img id="logo" src="{{ relURL "logo.svg" }}"></li>
|
||||||
|
{{ range .Site.Menus.main }}
|
||||||
|
{{ if .HasChildren }}
|
||||||
|
{{ range .Children }}
|
||||||
|
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||||
|
{{ end }}
|
||||||
|
{{ else }}
|
||||||
|
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
<div id="title">
|
||||||
|
<h1>Anna Uetwiller</h1>
|
||||||
|
<h2>Architecte - Dessinatrice</h2>
|
||||||
|
</div>
|
20
themes/anna/layouts/portfolio/single.html
Normal file
20
themes/anna/layouts/portfolio/single.html
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<section class="section">
|
||||||
|
<article>
|
||||||
|
<div class="content portfolio">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
<ul>
|
||||||
|
{{ range .Params.images }}
|
||||||
|
{{ $img := $.Page.Resources.GetMatch . }}
|
||||||
|
<li>
|
||||||
|
<figure>
|
||||||
|
<img src="{{ $img.RelPermalink }}" alt="">
|
||||||
|
</figure>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
3
themes/anna/layouts/shortcodes/gallery.html
Normal file
3
themes/anna/layouts/shortcodes/gallery.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div class="gallery">
|
||||||
|
{{.Inner}}
|
||||||
|
</div>
|
5
themes/anna/layouts/shortcodes/img.html
Normal file
5
themes/anna/layouts/shortcodes/img.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{{ $img := $.Page.Resources.GetMatch (.Get 0) }}
|
||||||
|
{{ $res_img := $img.Fill "600x400" }}
|
||||||
|
<a href="{{ .Get 2 | ref . }}">
|
||||||
|
<img src="{{ $res_img.RelPermalink }}" alt="{{ .Get 1 }}" />
|
||||||
|
</a>
|
31
themes/anna/static/logo.svg
Normal file
31
themes/anna/static/logo.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 130 KiB |
21
themes/anna/theme.toml
Normal file
21
themes/anna/theme.toml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# theme.toml template for a Hugo theme
|
||||||
|
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||||
|
|
||||||
|
name = "Anna"
|
||||||
|
license = "MIT"
|
||||||
|
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||||
|
description = ""
|
||||||
|
homepage = "http://example.com/"
|
||||||
|
tags = []
|
||||||
|
features = []
|
||||||
|
min_version = "0.41"
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = ""
|
||||||
|
homepage = ""
|
||||||
|
|
||||||
|
# If porting an existing theme
|
||||||
|
[original]
|
||||||
|
name = ""
|
||||||
|
homepage = ""
|
||||||
|
repo = ""
|
Loading…
Reference in New Issue
Block a user