default archetype, v0.1 startseite slider, slider images hochgeladen

This commit is contained in:
Andreas Hnida 2024-02-15 10:26:33 +00:00
commit 104259d5fa
11 changed files with 281 additions and 2 deletions

1
TODO.todo Normal file
View file

@ -0,0 +1 @@
TODO Cleanup content folder

5
archetypes/default.md Normal file
View file

@ -0,0 +1,5 @@
+++
date = '{{ .Date }}'
draft = false
title = '{{ replace .File.ContentBaseName `-` ` ` | title }}'
+++

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 KiB

View file

@ -1 +1,179 @@
// Add your own custom styles here
.slider-wrapper {
position: relative;
height: 100vh;
width: 100%;
color: #fff;
}
.slider-wrapper .slider {
position: relative;
height: 100vh;
width: 100%;
}
.slider-wrapper .slider .slides {
position: absolute;
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow: hidden;
opacity: 0;
transition: 0.3s ease-in-out;
}
.slider-wrapper .slider .slides.current {
z-index: 1;
opacity: 1;
}
.slider-wrapper .slider .slides:nth-child(1) {
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2339009/pexels-photo-2339009.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
.slider-wrapper .slider .slides:nth-child(2) {
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2303337/pexels-photo-2303337.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
.slider-wrapper .slider .slides:nth-child(3) {
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2346091/pexels-photo-2346091.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
.slider-wrapper .slider .slides:nth-child(4) {
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/1168764/pexels-photo-1168764.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
.slider-wrapper .slider .slides:nth-child(5) {
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2693529/pexels-photo-2693529.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
.slider-wrapper .slider .slides h1 {
font-size: 3em;
font-weight: 600;
text-shadow: 0px 0.5px 12px rgba(0, 0, 0, 0.9);
transition: 0.3s linear;
}
.slider-wrapper .slider .slides.current h1 {
animation: animateHeading 0.3s linear forwards 1;
animation-delay: 0.2s;
opacity: 0;
}
@keyframes animateHeading {
to {
opacity: 1;
}
}
.slider-wrapper .slider .slides p {
text-shadow: 0px 0.5px 5px rgba(0, 0, 0, 0.5);
transition: 0.3s linear;
opacity: 0;
}
.slider-wrapper .slider .slides.current p {
animation: animateparagraph 0.3s linear forwards 1;
animation-delay: 0.2s;
}
@keyframes animateparagraph {
to {
opacity: 1;
}
}
.slider-wrapper .prev {
position: fixed;
color: #fff;
top: 50%;
left: 5%;
transform: translateY(-50%);
z-index: 99;
font-size: 1.5em;
font-weight: 600;
border: 2px solid #fff;
padding: 10px 17px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: 0.2s ease-in-out;
cursor: pointer;
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.9);
}
.slider-wrapper .next {
position: fixed;
color: #fff;
top: 50%;
right: 5%;
transform: translateY(-50%);
z-index: 99;
font-size: 1.5em;
font-weight: 600;
border: 2px solid #fff;
padding: 10px 17px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: 0.2s ease-in-out;
cursor: pointer;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}
.slider-wrapper .prev:hover,
.slider-wrapper .next:hover {
background: #16a085;
border-color: #16a085;
}
.slider-wrapper a {
position: fixed;
color: #fff;
bottom: 15%;
left: 50%;
transform: translateX(-50%);
z-index: 99;
font-size: 1em;
font-weight: 500;
border: 1px solid #16a;
padding: 10px 17px;
line-height: 1.2em;
display: flex;
align-items: center;
justify-content: center;
border-radius: 2px;
transition: 0.2s ease-in-out;
cursor: pointer;
text-decoration: none;
background: #16a;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}
.slider-wrapper a:hover {
background: #017f
}

View file

@ -1,7 +1,16 @@
---
# Hero Slider
heroslider:
- title: "Willkommen auf unserer Homepage!"
image: "/images/startseite/startseite-slide-1.jpg"
- title: "Gemeinsam neue Wege gehen."
image: "/images/startseite/startseite-slide-2.jpg"
- title: "Administration optimieren, Zeit gewinnen."
image: "/images/startseite/startseite-slide-3.jpg"
# Banner
banner:
title: "The Ultimate Starter Template You Need To Start Your Hugo Project"
title: "Das ultimative Starter Template "
content: "Hugoplate is a free starter template built with Hugo and TailwindCSS, providing everything you need to jumpstart your Hugo project and save valuable time."
image: "/images/banner.png"
button:

53
content/german/_index_bak.md Executable file
View file

@ -0,0 +1,53 @@
---
# Banner
banner:
title: "The Ultimate Starter Template You Need To Start Your Hugo Project"
content: "Hugoplate is a free starter template built with Hugo and TailwindCSS, providing everything you need to jumpstart your Hugo project and save valuable time."
image: "/images/banner.png"
button:
enable: true
label: "Get Started For Free"
link: "https://github.com/zeon-studio/hugoplate"
# Features
features:
- title: "What's Included in Hugoplate"
image: "/images/service-1.png"
content: "Hugoplate is a comprehensive starter template that includes everything you need to get started with your Hugo project. What's Included in Hugoplate"
bulletpoints:
- "10+ Pre-build pages"
- "95+ Google Pagespeed Score"
- "Build with Hugo and TailwindCSS for easy and customizable styling"
- "Fully responsive on all devices"
- "SEO-optimized for better search engine rankings"
- "**Open-source and free** for personal and commercial use"
button:
enable: false
label: "Get Started Now"
link: "#"
- title: "Discover the Key Features Of Hugo"
image: "/images/service-2.png"
content: "Hugo is an all-in-one web framework for building fast, content-focused websites. It offers a range of exciting features for developers and website creators. Some of the key features are:"
bulletpoints:
- "Zero JS, by default: No JavaScript runtime overhead to slow you down."
- "Customizable: Tailwind, MDX, and 100+ other integrations to choose from."
- "UI-agnostic: Supports React, Preact, Svelte, Vue, Solid, Lit and more."
button:
enable: true
label: "Get Started Now"
link: "https://github.com/zeon-studio/hugoplate"
- title: "The Top Reasons to Choose Hugo for Your Hugo Project"
image: "/images/service-3.png"
content: "With Hugo, you can build modern and content-focused websites without sacrificing performance or ease of use."
bulletpoints:
- "Instantly load static sites for better user experience and SEO."
- "Intuitive syntax and support for popular frameworks make learning and using Hugo a breeze."
- "Use any front-end library or framework, or build custom components, for any project size."
- "Built on cutting-edge technology to keep your projects up-to-date with the latest web standards."
button:
enable: false
label: ""
link: ""
---

View file

@ -0,0 +1,9 @@
+++
date = '2024-02-15T08:28:44Z'
draft = false
title = 'Online Testversion'
+++
# Lorem ipsum
Sea ea est voluptua sanctus ipsum et labore kasd. Voluptua dolores magna eos diam dolor, et nonumy sit no amet.

View file

@ -1,5 +1,28 @@
{{/* Home Template File */}}
{{ define "main" }}
<!-- Banner -->
<section class="hero-slider">
<div class="swiper-container">
<div class="swiper-wrapper">
{{ range $i, $e:= .Params.heroslider }}
<div class="swiper-slide">
<div class="bg-cover bg-center h-screen" style="background-image: url('{{ .image }}')">
<div class="container h-full flex items-center">
<div class="col-12 text-center">
<h1 class="text-h1 lg:text-h1 font-primary font-semibold mb-4">
{{ .title | markdownify }}
</h1>
</div>
</div>
</div>
</div>
{{ end }}
</div>
</div>
</section>
{{ with .Params.banner }}
<section class="section pt-14">
<div class="container">

View file

@ -1,3 +1,4 @@
{{/* TODO - Read and understand this file */}}
<meta charset="utf-8" />
<!-- responsive meta -->