site quasi complet
This commit is contained in:
parent
80b7f7466d
commit
278a68cd9a
@ -6,3 +6,4 @@ theme = "anna"
|
|||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Accueil"
|
name = "Accueil"
|
||||||
url = "/"
|
url = "/"
|
||||||
|
weight = 10
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: "CV"
|
title: "CV"
|
||||||
date: 2020-07-04T15:09:49+02:00
|
date: 2020-07-04T15:09:49+02:00
|
||||||
menu: "main"
|
menu:
|
||||||
|
main:
|
||||||
|
weight: 50
|
||||||
---
|
---
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: ""
|
title: "Accueil"
|
||||||
date: 2020-07-04T15:40:03+02:00
|
date: 2020-07-04T15:40:03+02:00
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
---
|
---
|
||||||
title: "Contact"
|
title: "Contact"
|
||||||
date: 2020-07-04T16:17:52+02:00
|
date: 2020-07-04T16:17:52+02:00
|
||||||
menu: "main"
|
menu:
|
||||||
|
main:
|
||||||
|
weight: 40
|
||||||
---
|
---
|
||||||
# Contact
|
# Contact
|
||||||
|
|
||||||
|
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 |
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Modelisation"
|
|
||||||
date: 2020-07-04T15:09:42+02:00
|
|
||||||
menu: "main"
|
|
||||||
---
|
|
||||||
|
|
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
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Realisation"
|
|
||||||
date: 2020-07-04T15:09:37+02:00
|
|
||||||
menu: "main"
|
|
||||||
---
|
|
||||||
|
|
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
|
||||||
|
---
|
||||||
|
|
@ -38,10 +38,12 @@ body {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: xx-large;
|
font-size: xx-large;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
@ -77,26 +79,14 @@ body {
|
|||||||
grid-area: content;
|
grid-area: content;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: flex-start;
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3 {
|
|
||||||
color: #8c877d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.galery {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
|
|
||||||
a img {
|
|
||||||
margin: 0.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#contact {
|
|
||||||
background-color: #f6f1ea;
|
background-color: #f6f1ea;
|
||||||
width: 100%;
|
margin-right: 2rem;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: x-large;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
@ -104,3 +94,52 @@ h1, h2, h3 {
|
|||||||
color: #8c877d;
|
color: #8c877d;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1, h2, h3 {
|
||||||
|
color: #8c877d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gallery {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
<header>
|
|
||||||
<ul id="navbar">
|
<ul id="navbar">
|
||||||
<li><img id="logo" src="{{ relURL "logo.svg" }}"></li>
|
<li><img id="logo" src="{{ relURL "logo.svg" }}"></li>
|
||||||
{{ range .Site.Menus.main }}
|
{{ range .Site.Menus.main }}
|
||||||
@ -15,4 +14,3 @@
|
|||||||
<h1>Anna Uetwiller</h1>
|
<h1>Anna Uetwiller</h1>
|
||||||
<h2>Architecte - Dessinatrice</h2>
|
<h2>Architecte - Dessinatrice</h2>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
|
||||||
|
@ -1,13 +1,18 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<article>
|
<article>
|
||||||
<h1 class="title is-1">{{ .Title }}</h1>
|
<div class="content portfolio">
|
||||||
<div class="content">
|
<h1>{{ .Title }}</h1>
|
||||||
{{ with .Params.images }}
|
<ul>
|
||||||
<figure class="title-image">
|
{{ range .Params.images }}
|
||||||
<img src="{{ index . 0 }}" alt="">
|
{{ $img := $.Page.Resources.GetMatch . }}
|
||||||
|
<li>
|
||||||
|
<figure>
|
||||||
|
<img src="{{ $img.RelPermalink }}" alt="">
|
||||||
</figure>
|
</figure>
|
||||||
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</ul>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
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>
|
Loading…
Reference in New Issue
Block a user