Initial commit
This commit is contained in:
337
templates/index.html
Normal file
337
templates/index.html
Normal file
@@ -0,0 +1,337 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Welkom bij Digitale Liturgie{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<style>
|
||||
/* Modern Google Fonts */
|
||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
|
||||
body { font-family: 'Inter', sans-serif; }
|
||||
|
||||
.hero-section {
|
||||
position: relative;
|
||||
background: url("{{ url_for('static', filename='Hero.jpg') }}") no-repeat center center/cover;
|
||||
min-height: 30rem;
|
||||
border-radius: 1.15rem;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: white;
|
||||
animation: fadeInHero 1.2s cubic-bezier(.77,0,.18,1) both;
|
||||
}
|
||||
@keyframes fadeInHero {
|
||||
from { opacity: 0; transform: translateY(-30px);}
|
||||
to { opacity: 1; transform: translateY(0);}
|
||||
}
|
||||
.hero-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(135deg, rgba(40,40,50,0.75) 0%, rgba(10,0,40,0.40) 70%);
|
||||
z-index: 1;
|
||||
border-radius: 1.15rem;
|
||||
}
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
max-width: 42rem;
|
||||
text-align: center;
|
||||
padding: 2rem 2rem;
|
||||
animation: fadeUp 1.2s .3s cubic-bezier(.77,0,.18,1) both;
|
||||
}
|
||||
.hero-content h1 {
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 5px 32px rgba(0,0,0,0.32);
|
||||
margin-bottom: 0.5rem;
|
||||
letter-spacing: -1.2px;
|
||||
line-height: 1.1;
|
||||
}
|
||||
.hero-content p {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 2rem;
|
||||
color: #f4f4f4;
|
||||
}
|
||||
.modern-btn {
|
||||
background: linear-gradient(90deg, #f7d91a 0%, #ffe486 100%);
|
||||
color: #181818;
|
||||
font-weight: 600;
|
||||
border: none;
|
||||
padding: 1rem 2.3rem;
|
||||
border-radius: 0.66rem;
|
||||
font-size: 1.14rem;
|
||||
box-shadow: 0 4px 24px rgba(247,217,26,0.13);
|
||||
transition: box-shadow 0.23s, background 0.23s, transform 0.18s;
|
||||
cursor: pointer;
|
||||
}
|
||||
.modern-btn:hover {
|
||||
background: linear-gradient(90deg,#ffe486 0%, #f7d91a 100%);
|
||||
box-shadow: 0 8px 28px rgba(247,217,26,0.19);
|
||||
transform: translateY(-2px) scale(1.045);
|
||||
color: #25201b;
|
||||
}
|
||||
|
||||
/* Contact section styling */
|
||||
.contact-section {
|
||||
background: white;
|
||||
border-radius: 1.15rem;
|
||||
margin-top: 1rem;
|
||||
padding: 2.2rem 1.5rem;
|
||||
box-shadow: 0 8px 24px rgba(0,0,0,0.09);
|
||||
max-width: 98vw;
|
||||
min-width: 280px;
|
||||
animation: fadeUp 1.1s .6s cubic-bezier(.77,0,.18,1) both;
|
||||
}
|
||||
.contact-section h2 {
|
||||
font-size: 1.8rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.contact-section input,
|
||||
.contact-section textarea {
|
||||
width: 100%;
|
||||
border: 1.3px solid #e6e6e6;
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.9rem 1.14rem;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
background: #f8f9fa;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
.contact-section input:focus,
|
||||
.contact-section textarea:focus {
|
||||
border-color: #f7d91a;
|
||||
outline: none;
|
||||
background: #fffde6;
|
||||
}
|
||||
.contact-section button {
|
||||
margin-top: 0.3rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Cards Area */
|
||||
.features-area {
|
||||
display: grid;
|
||||
gap: 2.2rem;
|
||||
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
margin-top: 2.2rem;
|
||||
margin-bottom: 2.5rem;
|
||||
animation: fadeInStagger 1s cubic-bezier(.77,0,.18,1) both;
|
||||
}
|
||||
@keyframes fadeUp {
|
||||
from { opacity: 0; transform: translateY(50px);}
|
||||
to { opacity: 1; transform: translateY(0);}
|
||||
}
|
||||
@keyframes fadeInStagger {
|
||||
from { opacity: 0;}
|
||||
to { opacity: 1;}
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
background: white;
|
||||
border-radius: 1.09rem;
|
||||
box-shadow: 0 6px 20px rgba(0,0,0,0.06);
|
||||
padding: 2rem 1.2rem 1.4rem 1.2rem;
|
||||
text-align: center;
|
||||
min-height: 19.5rem;
|
||||
animation: fadeUp 0.8s cubic-bezier(.77,0,.18,1) both;
|
||||
transition: transform 0.22s, box-shadow 0.22s;
|
||||
will-change: transform;
|
||||
/* Animation delay stagger per card (manual in HTML) */
|
||||
}
|
||||
.feature-card:hover {
|
||||
transform: translateY(-7px) scale(1.02);
|
||||
box-shadow: 0 16px 40px rgba(247,217,26,0.13);
|
||||
}
|
||||
.feature-card img {
|
||||
max-width: 55px;
|
||||
margin-bottom: 1.1rem;
|
||||
margin-top: -0.8rem;
|
||||
filter: drop-shadow(0 0 2px rgba(40,40,40,0.06));
|
||||
transition: transform 0.17s;
|
||||
}
|
||||
.feature-card:hover img {
|
||||
transform: scale(1.095) rotate(2deg);
|
||||
}
|
||||
.feature-card h3 {
|
||||
font-size: 1.23rem;
|
||||
margin-bottom: 0.9rem;
|
||||
font-weight: 700;
|
||||
color: #181a1d;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
.feature-card ul {
|
||||
text-align: left;
|
||||
color: #434243;
|
||||
font-size: 1.02rem;
|
||||
list-style: none;
|
||||
padding-left: 0.7em;
|
||||
line-height: 1.7;
|
||||
}
|
||||
.feature-card ul li::before {
|
||||
content: '• ';
|
||||
color: #f7d91a;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Responsive hero/contact split */
|
||||
@media (min-width: 1000px) {
|
||||
.hero-container {
|
||||
display: flex;
|
||||
gap: 2.4rem;
|
||||
max-width: 1330px;
|
||||
margin: 0 auto 3.3rem auto;
|
||||
}
|
||||
.hero-section, .contact-section {
|
||||
flex: 1.2;
|
||||
min-height: 32rem;
|
||||
}
|
||||
.contact-section {
|
||||
min-width: 350px;
|
||||
margin-top: 0;
|
||||
max-width: 400px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 780px) {
|
||||
.hero-section {
|
||||
min-height: 22rem;
|
||||
}
|
||||
.hero-content h1 { font-size: 2rem;}
|
||||
.features-area { gap: 1rem;}
|
||||
.feature-card { padding: 1.3rem 0.5rem; }
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="hero-section" style="margin-bottom:2.5rem;">
|
||||
<div class="hero-overlay"></div>
|
||||
<div class="hero-content">
|
||||
<h1>Psalmbord Online</h1>
|
||||
<p>
|
||||
Welkom bij Psalmbord Online.<br>
|
||||
Beheer, plan en presenteer moeiteloos je kerkdiensten.<br>
|
||||
Start direct met een eigen account!
|
||||
</p>
|
||||
<a href="/login" class="modern-btn">Log in</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="section-intro" style="margin-top: 3.7rem; margin-bottom:1.5rem; animation: fadeUp 1.1s .3s cubic-bezier(.77,0,.18,1) both;">
|
||||
<h2 class="text-3xl font-bold text-center mb-2" style="font-size:2.1rem;">Wat kan Digitale Liturgie voor u doen?</h2>
|
||||
<p class="text-center text-md mb-8" style="color:#62666b;">Beheer en presenteer moeiteloos uw kerkdiensten, gebruikers en schermen.</p>
|
||||
</div>
|
||||
|
||||
<div class="features-area">
|
||||
<div class="feature-card" style="animation-delay:.09s;">
|
||||
<img src="{{ url_for('static', filename='icons/group.png') }}" alt="Gebruikersbeheer">
|
||||
<h3>Gebruikersbeheer</h3>
|
||||
<ul>
|
||||
<li>Aanmelden & Registreren</li>
|
||||
<li>Wachtwoordbeheer</li>
|
||||
<li>Lid & Admin-rollen</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="feature-card" style="animation-delay:.20s;">
|
||||
<img src="{{ url_for('static', filename='icons/church.png') }}" alt="Kerkenbeheer">
|
||||
<h3>Kerkenbeheer</h3>
|
||||
<ul>
|
||||
<li>Kerk aanmaken & aanpassen</li>
|
||||
<li>Logo uploaden</li>
|
||||
<li>Activatie beheren</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="feature-card" style="animation-delay:.35s;">
|
||||
<img src="{{ url_for('static', filename='icons/board.png') }}" alt="Bordenbeheer">
|
||||
<h3>Bordenbeheer</h3>
|
||||
<ul>
|
||||
<li>Borden toevoegen, bewerken, verwijderen</li>
|
||||
<li>Max. 10 tekstregels per bord</li>
|
||||
<li>Achtergrond instellen of uploaden</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="feature-card" style="animation-delay:.50s;">
|
||||
<img src="{{ url_for('static', filename='icons/task.png') }}" alt="Planningen">
|
||||
<h3>Planningen</h3>
|
||||
<ul>
|
||||
<li>Diensten & liturgie-invulling per datum</li>
|
||||
<li>Meerdere borden per planning</li>
|
||||
<li>Automatisch tonen volgens tijd</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Contact form at BOTTOM -->
|
||||
<div class="contact-section" style="max-width:none; margin:3.8rem 0 0 0; width:100%;">
|
||||
<h2>Contacteer ons</h2>
|
||||
<form method="POST" action="/contact" autocomplete="off">
|
||||
<div class="contact-form-fields">
|
||||
<div class="inputs-left">
|
||||
<input type="text" id="name" name="name" placeholder="Naam" required>
|
||||
<input type="text" id="church" name="church" placeholder="Kerknaam" required>
|
||||
<input type="tel" id="phone" name="phone" placeholder="Telefoonnummer" required>
|
||||
<input type="email" id="email" name="email" placeholder="E-mail" required>
|
||||
</div>
|
||||
<div class="textarea-right">
|
||||
<textarea id="message" name="message" rows="7" placeholder="Uw bericht..." required></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="modern-btn">Verstuur</button>
|
||||
</form>
|
||||
|
||||
<style>
|
||||
.contact-form-fields {
|
||||
display: flex;
|
||||
gap: 2.2rem;
|
||||
align-items: stretch;
|
||||
}
|
||||
.inputs-left {
|
||||
flex: 1 1 210px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
min-width: 190px;
|
||||
}
|
||||
.inputs-left input {
|
||||
opacity: 0;
|
||||
transform: translateY(32px);
|
||||
animation: fadeFormInput 0.8s cubic-bezier(.77,0,.18,1) forwards;
|
||||
}
|
||||
.inputs-left input:nth-child(1) { animation-delay: 0.18s; }
|
||||
.inputs-left input:nth-child(2) { animation-delay: 0.32s; }
|
||||
.inputs-left input:nth-child(3) { animation-delay: 0.46s; }
|
||||
.inputs-left input:nth-child(4) { animation-delay: 0.6s; }
|
||||
.textarea-right textarea {
|
||||
opacity: 0;
|
||||
transform: translateY(32px);
|
||||
animation: fadeFormInput 0.8s 0.74s cubic-bezier(.77,0,.18,1) forwards;
|
||||
height: 100%;
|
||||
min-height: 150px;
|
||||
resize: vertical;
|
||||
}
|
||||
.contact-section button.modern-btn {
|
||||
opacity: 0;
|
||||
transform: translateY(32px);
|
||||
animation: fadeFormInput 0.8s 1s cubic-bezier(.77,0,.18,1) forwards;
|
||||
}
|
||||
@keyframes fadeFormInput {
|
||||
from { opacity: 0; transform: translateY(32px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
@media (max-width: 800px) {
|
||||
.contact-form-fields {
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
.textarea-right, .inputs-left {
|
||||
min-width: 0;
|
||||
}
|
||||
.textarea-right textarea {
|
||||
min-height: 100px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user