add content structure for seuh main menu

master
B Kleinen 3 years ago
parent 771f38fc8e
commit c84d89b329

@ -11,3 +11,11 @@ The SEUH 2022 Website is based on the
Based on a fork in [seuh2022/hugo-hero-theme](https://github.com/seuh2022/hugo-hero-theme), after Based on a fork in [seuh2022/hugo-hero-theme](https://github.com/seuh2022/hugo-hero-theme), after
reading this article: reading this article:
[Using git submodule for Hugo themes - Don't Panic](https://www.andrewhoog.com/post/git-submodule-for-hugo-themes/) [Using git submodule for Hugo themes - Don't Panic](https://www.andrewhoog.com/post/git-submodule-for-hugo-themes/)
| SEUH | Programm | Termine | Kontakt |
|:--------------------|:--------------|:---------------|:----------------|
| - About + Sponsoren | - Programm | - CFP | - Maillingliste |
| - Geschichte | - Tagungsband | - Registration | - local Orga |
| | | | |
| | | | |

@ -0,0 +1,57 @@
---
title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
icon: "seuh/service-icon-1.png"
featured: true
draft: false
weight: 100
heroHeading: 'SEUH'
heroSubHeading: 'heroSubheading'
heroBackground: 'seuh/service1.jpg'
---
Lorem markdownum aequalis strigis. Saetigeri iubeas, vultu huic alvum nondum
de obside ut laniavit arbor palmis, cum quin. Rupes vetat videndo, armigerae
crimen habet Priamum nec.
## Ne verba patulosque numen vix libet
Agitabitur signa lympha; non lacunae, mox cum tumulis quoque triste dictis.
Ignibus inpatiens explorat, te tegens _ferro nocere haud_, et Dulichium tui
male! Quo sed [fuit flexit et](#vexant-achivi) hic die solido, gloria?
1. Cum det dixit Parcarum qui spemque est
2. Exit ex huic
3. Quod consiste agitataque claustraque vicina videt lacertis
4. Loquor videt
5. Ardua non igne caelesti coniugis cognovi diversorum
6. Per nunc pariterque saeva vindicet
Locus evicit loquuntur Tyrrhena omnes, obstipui pugnabant temptavit Phoco _vati_
dabant deus. Memorata haberet sepulcrales gentisque dum sic, in flumina templa!
Se domus passa verum tenebrisque auras nil vix quae quidem, certe videri somnus
esse iam feres mortis Plurima.
## Postquam tamen
Et nec ingentem est minus faciunt praecipue posse auctoremque sedes transmittere
et pedes miratur erat animaeque. Tellus admonuit humanam funes, sagittis et
licet! Inserui quamvis Clymeni.
- Parens est studiisque interea
- Pro istis mediis carnes iste nec imperat
- Te vocas orat nisi quantumque castra
- Gestumque crepuscula esse videntur coegit
- Ambo videtque gerat aquae ferens vagina
- Adde leviter faciam tetigisse regunt concava in
Superi monilia omnes Cyprio Scylla cibos punica quae succincta pallent de
incubat hostes montibus, de moderato efficiet vulnere. Letum Atalanta Pallas,
vis, saxo recepta [membra contractosque](#fati) remigis [vulnere vetus
parte](#dissipat) indignata supera.
Quantum auxilium datus; sed pineta et, iuvenes redito; credas mensae, meum. Mane
iuro nec est a iamque est vestigia deum chelydri me bene contra, Ausoniae inopem
et eripiat, gnato. Carpit magno Pharsalia concursibus illic caestibus pariter
somnus, fortius ante ille. Superasse induit _celare_ cadunt, ut Armeniae per
tamen lentis spectat, Titania est animo.

@ -39,7 +39,7 @@ theme = "hugo-hero-theme"
[[menu.main]] [[menu.main]]
name = "Kontakt" name = "Kontakt"
url = "/kontakt/" url = "/contact/"
weight = 4 weight = 4
[[menu.main]] [[menu.main]]
name = "Sponsoren" name = "Sponsoren"
@ -68,10 +68,6 @@ theme = "hugo-hero-theme"
url = "/history/" url = "/history/"
weight = 3 weight = 3
[[menu.main]]
name = "Contact"
url = "/contact/"
weight = 4

@ -1,7 +1,7 @@
--- ---
title: 'Home' title: 'Home'
date: 2018-02-12T15:37:57+07:00 date: 2018-02-12T15:37:57+07:00
heroHeading: 'Hero - Hugo Small Business Theme' heroHeading: 'SEUH 2022'
heroSubHeading: 'Hero is a multipurpose Hugo theme with fullscreen hero images and fullwidth sections. It contains content types for a business or portfolio site.' heroSubHeading: 'Software-Engineering im Unterricht der Hochschulen Berlin'
heroBackground: 'images/jason-blackeye-1191801-unsplash.jpg' heroBackground: 'images/jason-blackeye-1191801-unsplash.jpg'
--- ---

@ -1,5 +1,5 @@
--- ---
title: 'Contact' title: 'Kontakt'
date: 2018-02-22T17:01:34+07:00 date: 2018-02-22T17:01:34+07:00
--- ---

@ -0,0 +1,7 @@
---
title: 'SEUH'
date: 2018-02-10T11:52:18+07:00
heroHeading: 'SEUH 2022'
heroSubHeading: 'Software Engineering im Unterricht der Hochschulen'
heroBackground: 'https://source.unsplash.com/eluzJSfkNCk/1600x400'
---

@ -0,0 +1,57 @@
---
title: "About"
date: 2021-09-23
icon: "icons/info-square.svg"
featured: true
draft: true
weight: 1
heroHeading: 'About'
heroSubHeading: 'heroSubheading'
heroBackground: 'seuh/placeholder.jpg'
---
Lorem markdownum aequalis strigis. Saetigeri iubeas, vultu huic alvum nondum
de obside ut laniavit arbor palmis, cum quin. Rupes vetat videndo, armigerae
crimen habet Priamum nec.
## Ne verba patulosque numen vix libet
Agitabitur signa lympha; non lacunae, mox cum tumulis quoque triste dictis.
Ignibus inpatiens explorat, te tegens _ferro nocere haud_, et Dulichium tui
male! Quo sed [fuit flexit et](#vexant-achivi) hic die solido, gloria?
1. Cum det dixit Parcarum qui spemque est
2. Exit ex huic
3. Quod consiste agitataque claustraque vicina videt lacertis
4. Loquor videt
5. Ardua non igne caelesti coniugis cognovi diversorum
6. Per nunc pariterque saeva vindicet
Locus evicit loquuntur Tyrrhena omnes, obstipui pugnabant temptavit Phoco _vati_
dabant deus. Memorata haberet sepulcrales gentisque dum sic, in flumina templa!
Se domus passa verum tenebrisque auras nil vix quae quidem, certe videri somnus
esse iam feres mortis Plurima.
## Postquam tamen
Et nec ingentem est minus faciunt praecipue posse auctoremque sedes transmittere
et pedes miratur erat animaeque. Tellus admonuit humanam funes, sagittis et
licet! Inserui quamvis Clymeni.
- Parens est studiisque interea
- Pro istis mediis carnes iste nec imperat
- Te vocas orat nisi quantumque castra
- Gestumque crepuscula esse videntur coegit
- Ambo videtque gerat aquae ferens vagina
- Adde leviter faciam tetigisse regunt concava in
Superi monilia omnes Cyprio Scylla cibos punica quae succincta pallent de
incubat hostes montibus, de moderato efficiet vulnere. Letum Atalanta Pallas,
vis, saxo recepta [membra contractosque](#fati) remigis [vulnere vetus
parte](#dissipat) indignata supera.
Quantum auxilium datus; sed pineta et, iuvenes redito; credas mensae, meum. Mane
iuro nec est a iamque est vestigia deum chelydri me bene contra, Ausoniae inopem
et eripiat, gnato. Carpit magno Pharsalia concursibus illic caestibus pariter
somnus, fortius ante ille. Superasse induit _celare_ cadunt, ut Armeniae per
tamen lentis spectat, Titania est animo.

@ -0,0 +1,57 @@
---
title: "Geschichte"
date: 2021-09-23T19:52:13+02:00
icon: "icons/vector-pen.svg"
featured: true
draft: false
weight: 2
heroHeading: 'Geschichte'
heroSubHeading: 'zur Geschichte der SEUH'
heroBackground: 'seuh/service1.jpg'
---
Lorem markdownum aequalis strigis. Saetigeri iubeas, vultu huic alvum nondum
de obside ut laniavit arbor palmis, cum quin. Rupes vetat videndo, armigerae
crimen habet Priamum nec.
## Ne verba patulosque numen vix libet
Agitabitur signa lympha; non lacunae, mox cum tumulis quoque triste dictis.
Ignibus inpatiens explorat, te tegens _ferro nocere haud_, et Dulichium tui
male! Quo sed [fuit flexit et](#vexant-achivi) hic die solido, gloria?
1. Cum det dixit Parcarum qui spemque est
2. Exit ex huic
3. Quod consiste agitataque claustraque vicina videt lacertis
4. Loquor videt
5. Ardua non igne caelesti coniugis cognovi diversorum
6. Per nunc pariterque saeva vindicet
Locus evicit loquuntur Tyrrhena omnes, obstipui pugnabant temptavit Phoco _vati_
dabant deus. Memorata haberet sepulcrales gentisque dum sic, in flumina templa!
Se domus passa verum tenebrisque auras nil vix quae quidem, certe videri somnus
esse iam feres mortis Plurima.
## Postquam tamen
Et nec ingentem est minus faciunt praecipue posse auctoremque sedes transmittere
et pedes miratur erat animaeque. Tellus admonuit humanam funes, sagittis et
licet! Inserui quamvis Clymeni.
- Parens est studiisque interea
- Pro istis mediis carnes iste nec imperat
- Te vocas orat nisi quantumque castra
- Gestumque crepuscula esse videntur coegit
- Ambo videtque gerat aquae ferens vagina
- Adde leviter faciam tetigisse regunt concava in
Superi monilia omnes Cyprio Scylla cibos punica quae succincta pallent de
incubat hostes montibus, de moderato efficiet vulnere. Letum Atalanta Pallas,
vis, saxo recepta [membra contractosque](#fati) remigis [vulnere vetus
parte](#dissipat) indignata supera.
Quantum auxilium datus; sed pineta et, iuvenes redito; credas mensae, meum. Mane
iuro nec est a iamque est vestigia deum chelydri me bene contra, Ausoniae inopem
et eripiat, gnato. Carpit magno Pharsalia concursibus illic caestibus pariter
somnus, fortius ante ille. Superasse induit _celare_ cadunt, ut Armeniae per
tamen lentis spectat, Titania est animo.

@ -0,0 +1,28 @@
{{ define "header_css" }}{{ end }}
{{ define "body_classes" }}page-services-list{{ end }}
{{ define "header_classes" }}{{ end }}
{{ define "main" }}
{{ partial "hero-image-setheight.html" (dict "background" .Params.heroBackground "heading" .Params.heroHeading "subheading" .Params.heroSubHeading "content" .)}}
{{ if .Content }}
<div class="container pt-6 pt-md-10">
<div class="row">
<div class="col-12">
<div class="page-intro">
{{ .Content }}
</div>
</div>
</div>
</div>
{{ end }}
<div class="container pb-6 pt-6 pb-md-10 pt-md-10">
<div class="row">
{{ range .Pages.ByWeight }}
<div class="col-12 col-md-6 mb-2 ">{{ .Render "summary" }}</div>
{{ end }}
</div>
</div>
{{ end }}

@ -0,0 +1,27 @@
{{ define "header_css" }}{{ end }}
{{ define "body_classes" }}page-services-single{{ end }}
{{ define "header_classes" }}{{ end }}
{{ define "main" }}
{{ partial "hero-image-setheight.html" (dict "background" .Params.heroBackground "heading" .Params.heroHeading "subheading" .Params.heroSubHeading "section" .Section "content" .)}}
<div class="container pt-4 pt-md-10 pb-4 pb-md-10">
<div class="row justify-content-start">
<div class="col-12 col-md-8">
<div class="service service-single">
<div class="content">{{.Content}}</div>
</div>
</div>
</div>
</div>
{{ end }}
{{ define "footer_js" }}
{{ $library := resources.Get "js/libs/library.js" }}
{{ $services := resources.Get "js/pages/services.js" }}
{{ $servicesJS := slice $library $services |resources.Concat "js/services.js" }}
{{ if .Site.IsServer }}
<script type="text/javascript" src="{{ $servicesJS.RelPermalink }}"></script>
{{ else }}
<script type="text/javascript" src="{{ ($servicesJS | minify | fingerprint).RelPermalink }}"></script>
{{ end }}
{{ end }}

@ -0,0 +1,13 @@
<div class="service service-summary">
{{ if .Params.icon }}
<div class="service-image">
<img src="{{ .Site.BaseURL }}{{ .Params.icon }}"/>
</div>
{{ end }}
<div class="service-content">
<h2 class="service-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h2>
{{ .Content | truncate 120 "..." }}
</div>
</div>

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#1c3ed3" class="bi bi-info-square" viewBox="0 0 16 16">
<path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>
<path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>
</svg>

After

Width:  |  Height:  |  Size: 546 B

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#1c3ed3" class="bi bi-terminal" viewBox="0 0 16 16">
<path d="M6 9a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 9zM3.854 4.146a.5.5 0 1 0-.708.708L4.793 6.5 3.146 8.146a.5.5 0 1 0 .708.708l2-2a.5.5 0 0 0 0-.708l-2-2z"/>
<path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm12 1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h12z"/>
</svg>

After

Width:  |  Height:  |  Size: 462 B

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#1c3ed3" class="bi bi-vector-pen" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M10.646.646a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1 0 .708l-1.902 1.902-.829 3.313a1.5 1.5 0 0 1-1.024 1.073L1.254 14.746 4.358 4.4A1.5 1.5 0 0 1 5.43 3.377l3.313-.828L10.646.646zm-1.8 2.908-3.173.793a.5.5 0 0 0-.358.342l-2.57 8.565 8.567-2.57a.5.5 0 0 0 .34-.357l.794-3.174-3.6-3.6z"/>
<path fill-rule="evenodd" d="M2.832 13.228 8 9a1 1 0 1 0-1-1l-4.228 5.168-.026.086.086-.026z"/>
</svg>

After

Width:  |  Height:  |  Size: 541 B

@ -1,10 +1,10 @@
<svg width="54px" height="54px" viewBox="0 0 54 54" xmlns="http://www.w3.org/2000/svg"> <svg width="54px" height="54px" viewBox="0 0 54 54" xmlns="http://www.w3.org/2000/svg">
<style> <style>
.heavy { font: 32px serif; fill: darkblue } .heavy { font: 32px serif; fill: #1c3ed3 }
</style> </style>
<rect x="1" y="1" width="52" height="52" class ="box" <rect x="1" y="1" width="52" height="52" class ="box"
rx="2" ry="2" rx="2" ry="2"
stroke="darkblue" fill="none" stroke-width="1"/> stroke="#1c3ed3" fill="none" stroke-width="1"/>
<text x="6" y="26" class="heavy">S</text> <text x="6" y="26" class="heavy">S</text>
<text x="29" y="26" class="heavy">E</text> <text x="29" y="26" class="heavy">E</text>
<text x="4" y="50" class="heavy">U</text> <text x="4" y="50" class="heavy">U</text>

Before

Width:  |  Height:  |  Size: 500 B

After

Width:  |  Height:  |  Size: 498 B

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<svg width="217px" height="32px" viewBox="0 0 217 29" version="1.1" xmlns="http://www.w3.org/2000/svg" > <svg width="250px" height="44px" version="1.1" xmlns="http://www.w3.org/2000/svg" >
<title>logo-seuh</title> <title>logo-seuh</title>
<defs></defs> <defs></defs>
<style> <style>
.heavy { font: 36px serif ; fill: darkblue } .heavy { font: 48px serif ; fill: #1c3ed3 }
</style> </style>
<text x="6" y="26" class="heavy">SEUH 2022</text> <text x="6" y="36" class="heavy">SEUH 2022</text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 331 B

After

Width:  |  Height:  |  Size: 311 B

Loading…
Cancel
Save