added pages and updated css / shortcodes
This commit is contained in:
parent
443ded21b0
commit
46c9431e26
34 changed files with 821 additions and 36 deletions
|
@ -1,3 +1,5 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
<div id="markdown">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
|
@ -1,16 +1,20 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="icon" href="{{ "favicon.ico" | relURL }}" type="image/x-icon">
|
||||
<!-- Bootstrap CSS -->
|
||||
<link
|
||||
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
|
||||
rel="stylesheet"
|
||||
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
|
||||
crossorigin="anonymous"
|
||||
/>
|
||||
<!-- Bootstrap JS -->
|
||||
<script
|
||||
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
|
||||
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<!-- Exo 2 Font -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Cairo&family=Exo+2:wght@600&display=swap" rel="stylesheet">
|
||||
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
|
||||
{{ partialCached "head/css.html" . }}
|
||||
|
|
|
@ -7,3 +7,12 @@
|
|||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with resources.Get "css/shortcodes.css" }}
|
||||
{{- if hugo.IsDevelopment }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
||||
{{- else }}
|
||||
{{- with . | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
<section class="py-5 bg-light hero-section">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<!-- Text Links -->
|
||||
<div class="col-md-12 text-center mb-4 mb-md-0">
|
||||
<h1 class="display-5 fw-bold text-center">Willkommen auf der Website des FSR Informatik</h1>
|
||||
<p class="lead text-muted text-center">Gemeinsam stark im Studium – dein Fachschaftsrat steht für Austausch, Unterstützung und Mitgestaltung.</p>
|
||||
<a href="#" class="btn btn-primary-dark btn-lg mt-3">mehr erfahren</a>
|
||||
<div class="d-flex justify-content-center gap-4 mt-3">
|
||||
<a href="{{ "/about" | relURL }}" class="btn btn-primary-dark btn-lg">mehr erfahren</a>
|
||||
<a href="{{ "/kontakt" | relURL }}" class="btn btn-primary-light btn-lg">kontaktieren</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="{{ "/" | relURL }}">iFSR</a>
|
||||
<a class="navbar-brand d-flex align-items-center" href="{{ "/" | relURL }}">
|
||||
<img src="{{ "images/logo.svg" | relURL }}" alt="iFSR Logo" height="50" class="me-2">
|
||||
iFSR
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#mainNav">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
@ -22,18 +25,33 @@
|
|||
</ul>
|
||||
</li>
|
||||
|
||||
<li><div class="d-lg-none d-flex flex-column dropdown-item-mobile">
|
||||
<a class="nav-link ps-0" href="{{ "/about/aufgaben" | relURL }}">Aufgaben</a>
|
||||
<a class="nav-link ps-0" href="{{ "/about/mitglieder" | relURL }}">Mitglieder</a>
|
||||
<a class="nav-link ps-0" href="{{ "/about/aemter" | relURL }}">Ämter</a>
|
||||
<a class="nav-link ps-0" href="{{ "/about/entsendungen" | relURL }}">Entsendungen</a>
|
||||
</div></li>
|
||||
|
||||
<!-- Studium -->
|
||||
<li class="nav-item dropdown d-flex align-items-center show-on-hover">
|
||||
<a class="nav-link ps-0" href="{{ "/studium" | relURL }}">Studium</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="{{ "/studium/studienberatung" | relURL }}">Studienberatung</a></li>
|
||||
<li><a class="dropdown-item" href="{{ "/studium/stoffkiste-und-ftp" | relURL }}">Stoffkiste & FTP</a></li>
|
||||
<li><a class="dropdown-item" href="{{ "/studium/manual" | relURL }}">Manual</a></li>
|
||||
<li><a class="dropdown-item" href="https://manual.ifsr.de">Manual</a></li>
|
||||
<li><a class="dropdown-item" href="{{ "/studium/services" | relURL }}">Services</a></li>
|
||||
<li><a class="dropdown-item" href="{{ "/studium/linksammlung" | relURL }}">Linksammlung</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li><div class="d-lg-none d-flex flex-column dropdown-item-mobile">
|
||||
<a class="nav-link ps-0" href="{{ "/studium/studienberatung" | relURL }}">Studienberatung</a>
|
||||
<a class="nav-link ps-0" href="{{ "/studium/stoffkiste-und-ftp" | relURL }}">Stoffkiste & FTP</a>
|
||||
<a class="nav-link ps-0" href="https://manual.ifsr.de">Manual</a>
|
||||
<a class="nav-link ps-0" href="{{ "/studium/services" | relURL }}">Services</a>
|
||||
<a class="nav-link ps-0" href="{{ "/studium/linksammlung" | relURL }}">Linksammlung</a>
|
||||
</div></li>
|
||||
|
||||
<!-- Sitzung & Protokolle -->
|
||||
<li class="nav-item"><a class="nav-link" href="{{ "/sitzung-und-protokolle" | relURL }}">Sitzung & Protokolle</a></li>
|
||||
|
||||
|
|
11
layouts/shortcodes/profile.html
Normal file
11
layouts/shortcodes/profile.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<div class="profile">
|
||||
<div class="profile-image">
|
||||
<img src="{{ .Get "image" | relURL }}" alt="{{ .Get "name" }}"/>
|
||||
</div>
|
||||
<div class="profile-content">
|
||||
<h2>{{ .Get "name" }}</h2>
|
||||
<p><strong>Studiengang:</strong> {{ .Get "studiengang" }}<br>
|
||||
📧 <a href="mailto:{{ .Get "email" }}">{{ .Get "email" }}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
{{ .Inner | markdownify }}
|
Loading…
Add table
Add a link
Reference in a new issue