feat: Initial commit

This commit is contained in:
Thomas Schwery 2021-12-12 19:58:39 +01:00
commit dd2d9d90fa
53 changed files with 284 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/aws-env
/public

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "themes/ananke"]
path = themes/ananke
url = https://github.com/budparr/gohugo-theme-ananke.git

34
config.toml Normal file
View file

@ -0,0 +1,34 @@
baseURL = "https://portmann-schwery.ch"
languageCode = "fr-fr"
theme = "ananke"
MetaDataFormat = "yaml"
DefaultContentLanguage = "fr"
SectionPagesMenu = "main"
Paginate = 30
recent_posts_number = 2
googleAnalytics = ""
enableRobotsTXT = false
uglyurls = true
[sitemap]
changefreq = "monthly"
priority = 0.5
filename = "sitemap.xml"
[params]
favicon = "favicon.ico"
description = ""
facebook = ""
twitter = ""
instagram = ""
youtube = ""
github = ""
gitlab = ""
linkedin = ""
# choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-"
background_color_class = "bg-silver"
cover_dimming_class = "bg-black-30"
featured_image = "/images/banner.jpg"
logo_image = "/images/logo.png"
custom_css = [ "css/custom.css" ]

50
content/_index.md Normal file
View file

@ -0,0 +1,50 @@
---
title: 'Anne-Catherine et Thomas se marient 12.03.2022'
featured_image: '/images/banner1.jpg'
type: page
menu:
main: {}
---
![Timeline](/images/timeline.png)
### Vous avez besoin daide pour trouver le lieu de la cérémonie et apéro?
Cave des Bernunes
Rte des Bernunes 60
3960 Sierre
### Vous avez besoin daide pour trouver le lieu du repas?
Hôtel Chalet Royal Veysonnaz
Parking Les Grangettes
Rte du Télécabine
1993 Veysonnaz
Un parking est à disposition sous lhôtel.
### Comment réserver sa chambre à lhôtel?
Appeler directement lhôtel en indiquant que vous venez à notre Mariage
Hôtel Chalet Royal Veysonnaz - +41 27 208 56 44
### Vous aimeriez organiser une animation durant la soirée?
Contacter nos témoins :
* David :
* Tiffany :
### Vous êtes invités et souhaitez faire un cadeau à Anne-Catherine et Thomas?
Notre plus beau cadeau sera à nen pas douter votre présence, mais si vous souhaitez nous témoigner davantage, une urne sera à disposition sur place pour vous permettre de participer à notre projet.
En effet, certains rêvent dun voyage aux Maldives, dautres de tour du monde, nous rêvons de construire notre maison.
Cest pourquoi nous nous sommes lancés dans un projet de construction à Icogne, il y a quelques mois.
Et quoi de mieux quune maison remplie de petites attentions de nos familles et ami·e·s
Faites le choix du cadeau que vous souhaitez offrir accompagné dun message.
Les futurs mariés vous remercient du geste que vous vous apprêtez à faire pour les aider à concrétiser ce projet.
Quelques idées [ici]({{< ref "cadeaux.md" >}})

34
content/cadeaux.md Normal file
View file

@ -0,0 +1,34 @@
---
title: 'Cadeaux'
featured_image: 'images/banner3.jpg'
omit_header_text: true
type: page
menu:
main: {}
---
Notre plus beau cadeau sera à nen pas douter votre présence, mais si vous souhaitez nous témoigner davantage, une urne sera à disposition sur place pour vous permettre de participer à notre projet.
En effet, certains rêvent dun voyage aux Maldives, dautres de tour du monde, nous rêvons de construire notre maison.
Cest pourquoi nous nous sommes lancés dans un projet de construction à Icogne, il y a quelques mois.
Et quoi de mieux quune maison remplie de petites attentions de nos familles et ami·e·s
Les futurs mariés vous remercient du geste que vous vous apprêtez à faire pour les aider à concrétiser ce projet.
| | |
|---|---|
| Poêle à Pellets | ![cherie-h-4-1024x576.jpg](/images/maison/cherie-h-4-1024x576.jpg) |
| Meubles de cuisine | ![image12428.png](/images/maison/image12428.png) ![amenagement_economat.jpg](/images/maison/amenagement_economat.jpg) |
| Instruments de cuisine | ![image12926.png](/images/maison/image12926.png) |
| Cuisine | ![image182529.png](/images/maison/image182529.png) ![hotte_airforce.jpg](/images/maison/hotte_airforce.jpg) |
| Carrelage | ![image38096.png](/images/maison/image38096.png) ![Carrelage-montblanc_anthracite_murs.png](/images/maison/Carrelage-montblanc_anthracite_murs.png) ![Carrelage-montblanc_grey_sols.png](/images/maison/Carrelage-montblanc_grey_sols.png) |
| Mezzanines | ![image38278.png](/images/maison/image38278.png) |
| Parquet | ![parquet_chambre.jpeg](/images/maison/parquet_chambre.jpeg) |
| Luminaires | ![image52101.png](/images/maison/image52101.png) ![image23163.png](/images/maison/image23163.png) ![plafonier3.jpg](/images/maison/plafonier3.jpg) ![plafonier4.jpg](/images/maison/plafonier4.jpg) ![lampe_plafonier2.jpg](/images/maison/lampe_plafonier2.jpg) ![lampe_plafonier.jpg](/images/maison/lampe_plafonier.jpg) |
| Canapé | ![modulares-sofa-donna-mit-schlaffunktion-stoff-mollia-488228_1800x1800.jpg](/images/maison/modulares-sofa-donna-mit-schlaffunktion-stoff-mollia-488228_1800x1800.jpg) |
| Panneaux solaires | ![solarhome_S83Sol_Profil-1600x1600-2.png](/images/maison/solarhome_S83Sol_Profil-1600x1600-2.png) |
| Stores | ![store_maison.jpg](/images/maison/store_maison.jpg) |
| Chambre | ![lampe-bois-vigne-2.jpg](/images/maison/lampe-bois-vigne-2.jpg) |
| Salle de Bain | ![lavabo_sdb_simple.jpg](/images/maison/lavabo_sdb_simple.jpg) ![mitigeur-bain-douche-tender-avec-barre--flexible-et-douchette-chrome.png](/images/maison/mitigeur-bain-douche-tender-avec-barre--flexible-et-douchette-chrome.png) |
| Buanderie | ![Rangement_buanderie.jpg](/images/maison/Rangement_buanderie.jpg) ![sechelinge.png](/images/maison/sechelinge.png) ![machinealaver.png](/images/maison/machinealaver.png) |
| Terrassement | ![trou_garage.jpeg](/images/maison/trou_garage.jpeg) |

25
content/directions.md Normal file
View file

@ -0,0 +1,25 @@
---
title: 'Directions'
featured_image: 'images/banner2.jpg'
omit_header_text: true
type: page
menu:
main: {}
---
### Vous avez besoin daide pour trouver le lieu de la cérémonie et apéro?
Cave des Bernunes
Rte des Bernunes 60
3960 Sierre
{{< figure src="/images/plan-bernunes.png" >}}
### Cave des Bernunes
Hôtel Chalet Royal Veysonnaz
Parking Les Grangettes
Rte du Télécabine
1993 Veysonnaz
{{< figure src="/images/plan-hotel.png" >}}

12
layouts/404.html Normal file
View file

@ -0,0 +1,12 @@
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }}
{{ $baseURL := .Site.BaseURL }}
<article class="center cf pv5 measure-wide-l">
<h1>
Cette page n'existe pas.
</h1>
<h2>
<a href="{{ $baseURL }}/index.html">Retourner à l'accueil</a>
</h2>
</article>
{{ end }}

30
layouts/_default/single.html Executable file
View file

@ -0,0 +1,30 @@
{{ define "header" }}
{{/* We can override any block in the baseof file be defining it in the template */}}
{{ partial "page-header.html" . }}
{{ end }}
{{ define "main" }}
{{ $section := .Site.GetPage "section" .Section }}
<article class="flex-l flex-wrap justify-between mw8 center ph3">
<header class="mt4 w-100">
<h1 class="f1 athelas mb1">
{{- .Title -}}
</h1>
{{ if (gt .Date.Unix 0) }}
<time class="f6 mv4 dib tracked" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{- .Date.Format "02.01.2006" -}}
</time>
{{ end }}
</header>
<section class="nested-copy-line-height lh-copy serif f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l">
{{- .Content -}}
{{- partial "tags.html" . -}}
<div class="mt6">
{{ template "_internal/disqus.html" . }}
</div>
</section>
</article>
{{ end }}

5
layouts/index.html Normal file
View file

@ -0,0 +1,5 @@
{{ define "main" }}
<article class="cf ph3 ph5-l pv3 pv4-l f4 center measure-wide lh-copy mid-gray">
{{ .Content }}
</article>
{{ end }}

18
layouts/page/single.html Normal file
View file

@ -0,0 +1,18 @@
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }}
<div class="flex-l mt2 mw8 center">
<article class="center cf ph3 ph4-ns mw7 mid-gray">
<header>
<p class="f6 b helvetica tracked">
{{ humanize .Section | upper }}
</p>
<h1 class="f1">
{{ .Title }}
</h1>
</header>
<div class="nested-copy-line-height lh-copy f4 nested-links nested-img mid-gray">
{{ .Content }}
</div>
</article>
</div>
{{ end }}

View file

@ -0,0 +1,26 @@
{{ $featured_image := .Params.featured_image }}
{{ if $featured_image }}
{{ $featured_image := (trim $featured_image "/") | absURL }}
<header class="cover bg-center" style="background-image: url('{{ $featured_image }}');">
<div class="pb3-m {{ .Site.Params.cover_dimming_class | default "bg-black-60" }}">
{{ partial "site-navigation.html" . }}
<div class="tc-l pv6 ph3 ph4-ns">
{{ if not .Params.omit_header_text }}
<h1 class="f2 f1-l fw2 white-90 mb0 lh-title">{{ .Title | default .Site.Title }}</h1>
{{ with .Params.description }}
<h2 class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
{{ . }}
</h2>
{{ end }}
{{ end }}
</div>
</div>
</header>
{{ else }}
{{ $sitewide_image := .Param "featured_image"}}
<header class="cover bg-top" style="background-image: url('{{ $sitewide_image }}');">
<div class="{{ .Site.Params.cover_dimming_class | default "bg-black-60" }}">
{{ partial "site-navigation.html" . }}
</div>
</header>
{{ end }}

View file

@ -0,0 +1,36 @@
{{ $featured_image := .Param "featured_image"}}
{{ if $featured_image }}
{{ $featured_image := (trim $featured_image "/") | absURL }}
<header class="cover bg-top" style="background-image: url('{{ $featured_image }}');">
<div class="{{ .Site.Params.cover_dimming_class | default "bg-black-60" }}">
{{ partial "site-navigation.html" .}}
<div class="pv6 ph3 ph4-ns"></div>
<h1 class="tc-l f2 f-subheadline-l fw2 pl2 white-90 mb0 lh-title">
{{ .Title | default .Site.Title }}
</h1>
{{ with .Params.description }}
<h2 class="fw1 f5 f3-l white-80 measure-wide-l center mt3">
{{ . }}
</h2>
{{ end }}
<div class="pv3 ph3 ph4-ns"></div>
</div>
</div>
</header>
{{ else }}
<header>
<div class="pb3-m pb6-l {{ .Site.Params.background_color_class | default "bg-black" }}">
{{ partial "site-navigation.html" . }}
<div class="pv3 ph3 ph4-ns">
<h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">
{{ .Title | default .Site.Title }}
</h1>
{{ with .Params.description }}
<h2 class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
{{ . }}
</h2>
{{ end }}
</div>
</div>
</header>
{{ end }}

8
publish.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
HUGO_ENV=production hugo
. aws-env/bin/activate
aws s3 sync public s3://portmann-schwery.ch

BIN
static/images/banner1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 669 KiB

BIN
static/images/banner2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

BIN
static/images/banner3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

BIN
static/images/timeline.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

1
themes/ananke Submodule

@ -0,0 +1 @@
Subproject commit c7b9901e01ec3720b47fcef3d33bdbd6ce53f000