Initial project setup
This commit is contained in:
+41
@@ -0,0 +1,41 @@
|
|||||||
|
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
/node_modules
|
||||||
|
/.pnp
|
||||||
|
.pnp.*
|
||||||
|
.yarn/*
|
||||||
|
!.yarn/patches
|
||||||
|
!.yarn/plugins
|
||||||
|
!.yarn/releases
|
||||||
|
!.yarn/versions
|
||||||
|
|
||||||
|
# testing
|
||||||
|
/coverage
|
||||||
|
|
||||||
|
# next.js
|
||||||
|
/.next/
|
||||||
|
/out/
|
||||||
|
|
||||||
|
# production
|
||||||
|
/build
|
||||||
|
|
||||||
|
# misc
|
||||||
|
.DS_Store
|
||||||
|
*.pem
|
||||||
|
|
||||||
|
# debug
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
.pnpm-debug.log*
|
||||||
|
|
||||||
|
# env files (can opt-in for committing if needed)
|
||||||
|
.env*
|
||||||
|
|
||||||
|
# vercel
|
||||||
|
.vercel
|
||||||
|
|
||||||
|
# typescript
|
||||||
|
*.tsbuildinfo
|
||||||
|
next-env.d.ts
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
## Freiwillige Feuerwehr Traidendorf
|
||||||
|
|
||||||
|
Neustart der Vereinswebseite auf Basis von Next.js. Die erste Projektstufe liefert ein lauffaehiges Frontend-Grundgeruest mit Startseite und zentralen Unterseiten fuer Kalender, Infos, Jubilaeum, Alben, Kontakt und Impressum.
|
||||||
|
|
||||||
|
## Entwicklung
|
||||||
|
|
||||||
|
Lokalen Entwicklungsserver starten:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm run dev
|
||||||
|
```
|
||||||
|
|
||||||
|
Danach ist die Seite unter http://localhost:3000 erreichbar.
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
Produktionsbuild pruefen:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm run build
|
||||||
|
```
|
||||||
|
|
||||||
|
## Struktur
|
||||||
|
|
||||||
|
- src/app/page.tsx: Startseite mit erstem Inhaltsgeruest
|
||||||
|
- src/app/kalender/page.tsx: Platzhalter fuer Termine und Uebungen
|
||||||
|
- src/app/infos/page.tsx: Vereins- und Feuerwehrinformationen
|
||||||
|
- src/app/150-jahre/page.tsx: Bereich fuer Gruendungsfest und Rueckblicke
|
||||||
|
- src/app/alben/page.tsx: Fotoalben und Bildergalerien
|
||||||
|
- src/app/kontakt/page.tsx: Ansprechpartner und Kontaktwege
|
||||||
|
- src/app/impressum/page.tsx: Rechtliche Pflichtangaben
|
||||||
|
|
||||||
|
## Hinweise
|
||||||
|
|
||||||
|
- Das Grundprojekt wurde wegen der lokalen Node-Version 18 bewusst mit einer kompatiblen Tailwind-3-Konfiguration aufgesetzt.
|
||||||
|
- Als naechster Schritt bietet sich die Uebernahme echter Inhalte von https://ff.traidendorf.de an.
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import { dirname } from "path";
|
||||||
|
import { fileURLToPath } from "url";
|
||||||
|
import { FlatCompat } from "@eslint/eslintrc";
|
||||||
|
|
||||||
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
|
const __dirname = dirname(__filename);
|
||||||
|
|
||||||
|
const compat = new FlatCompat({
|
||||||
|
baseDirectory: __dirname,
|
||||||
|
});
|
||||||
|
|
||||||
|
const eslintConfig = [
|
||||||
|
...compat.extends("next/core-web-vitals", "next/typescript"),
|
||||||
|
];
|
||||||
|
|
||||||
|
export default eslintConfig;
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
import type { NextConfig } from "next";
|
||||||
|
|
||||||
|
const nextConfig: NextConfig = {
|
||||||
|
/* config options here */
|
||||||
|
};
|
||||||
|
|
||||||
|
export default nextConfig;
|
||||||
Generated
+5948
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"name": "feuerwehr-traidendorf-webseite",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"dev": "next dev --turbopack",
|
||||||
|
"build": "next build",
|
||||||
|
"start": "next start",
|
||||||
|
"lint": "next lint"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"react": "^19.0.0",
|
||||||
|
"react-dom": "^19.0.0",
|
||||||
|
"next": "15.3.5"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"typescript": "^5",
|
||||||
|
"@types/node": "^20",
|
||||||
|
"@types/react": "^19",
|
||||||
|
"@types/react-dom": "^19",
|
||||||
|
"autoprefixer": "^10.4.20",
|
||||||
|
"postcss": "^8.4.49",
|
||||||
|
"tailwindcss": "^3.4.17",
|
||||||
|
"eslint": "^9",
|
||||||
|
"eslint-config-next": "15.3.5",
|
||||||
|
"@eslint/eslintrc": "^3"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
const config = {
|
||||||
|
plugins: {
|
||||||
|
tailwindcss: {},
|
||||||
|
autoprefixer: {},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export default config;
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>
|
||||||
|
After Width: | Height: | Size: 391 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
|
||||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
|
||||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>
|
||||||
|
After Width: | Height: | Size: 128 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>
|
||||||
|
After Width: | Height: | Size: 385 B |
@@ -0,0 +1,19 @@
|
|||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
|
export default function JubilaeumPage() {
|
||||||
|
return (
|
||||||
|
<main className="min-h-screen bg-stone-950 px-6 py-16 text-stone-100 sm:px-10">
|
||||||
|
<div className="mx-auto max-w-4xl rounded-3xl border border-white/10 bg-stone-900 p-8 sm:p-10">
|
||||||
|
<p className="text-sm uppercase tracking-[0.3em] text-red-300">150 Jahre</p>
|
||||||
|
<h1 className="mt-4 text-4xl font-semibold text-white">Gruendungsfest und Rueckblicke</h1>
|
||||||
|
<p className="mt-6 text-base leading-7 text-stone-300">
|
||||||
|
Das 150-jaehrige Jubilaeum bekommt einen eigenen Seitenbereich. So lassen sich Programm,
|
||||||
|
Berichte, Fotos und spaetere Erinnerungen getrennt von den allgemeinen Vereinsnachrichten pflegen.
|
||||||
|
</p>
|
||||||
|
<Link href="/" className="mt-8 inline-block text-sm text-red-200 underline underline-offset-4">
|
||||||
|
Zur Startseite
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
|
export default function AlbenPage() {
|
||||||
|
return (
|
||||||
|
<main className="min-h-screen bg-stone-950 px-6 py-16 text-stone-100 sm:px-10">
|
||||||
|
<div className="mx-auto max-w-4xl rounded-3xl border border-white/10 bg-stone-900 p-8 sm:p-10">
|
||||||
|
<p className="text-sm uppercase tracking-[0.3em] text-red-300">Alben</p>
|
||||||
|
<h1 className="mt-4 text-4xl font-semibold text-white">Bilder und Galerien</h1>
|
||||||
|
<p className="mt-6 text-base leading-7 text-stone-300">
|
||||||
|
Dieser Bereich ist fuer Einsatzbilder, Vereinsveranstaltungen und historische Rueckblicke vorgesehen.
|
||||||
|
Die Grundstruktur steht, damit wir spaeter echte Galerien und Verlinkungen uebernehmen koennen.
|
||||||
|
</p>
|
||||||
|
<Link href="/" className="mt-8 inline-block text-sm text-red-200 underline underline-offset-4">
|
||||||
|
Zur Startseite
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
@@ -0,0 +1,21 @@
|
|||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--background: #ffffff;
|
||||||
|
--foreground: #171717;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root {
|
||||||
|
--background: #0a0a0a;
|
||||||
|
--foreground: #ededed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: var(--background);
|
||||||
|
color: var(--foreground);
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
|
export default function ImpressumPage() {
|
||||||
|
return (
|
||||||
|
<main className="min-h-screen bg-stone-950 px-6 py-16 text-stone-100 sm:px-10">
|
||||||
|
<div className="mx-auto max-w-4xl rounded-3xl border border-white/10 bg-stone-900 p-8 sm:p-10">
|
||||||
|
<p className="text-sm uppercase tracking-[0.3em] text-red-300">Impressum</p>
|
||||||
|
<h1 className="mt-4 text-4xl font-semibold text-white">Rechtliche Angaben</h1>
|
||||||
|
<p className="mt-6 text-base leading-7 text-stone-300">
|
||||||
|
Dieser Bereich ist als Platzhalter fuer die kuenftigen Pflichtangaben vorgesehen. Vor der
|
||||||
|
Veroeffentlichung muessen die rechtlichen Daten aus der bisherigen Seite geprueft und uebernommen werden.
|
||||||
|
</p>
|
||||||
|
<Link href="/" className="mt-8 inline-block text-sm text-red-200 underline underline-offset-4">
|
||||||
|
Zur Startseite
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
|
export default function InfosPage() {
|
||||||
|
return (
|
||||||
|
<main className="min-h-screen bg-stone-950 px-6 py-16 text-stone-100 sm:px-10">
|
||||||
|
<div className="mx-auto max-w-4xl rounded-3xl border border-white/10 bg-stone-900 p-8 sm:p-10">
|
||||||
|
<p className="text-sm uppercase tracking-[0.3em] text-red-300">Infos</p>
|
||||||
|
<h1 className="mt-4 text-4xl font-semibold text-white">Feuerwehr und Verein</h1>
|
||||||
|
<p className="mt-6 text-base leading-7 text-stone-300">
|
||||||
|
Hier entsteht der Bereich fuer allgemeine Informationen zur Freiwilligen Feuerwehr Traidendorf,
|
||||||
|
zum Vereinsleben und zu wichtigen Ansprechpunkten fuer Besucher und Mitglieder.
|
||||||
|
</p>
|
||||||
|
<Link href="/" className="mt-8 inline-block text-sm text-red-200 underline underline-offset-4">
|
||||||
|
Zur Startseite
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
|
export default function KalenderPage() {
|
||||||
|
return (
|
||||||
|
<main className="min-h-screen bg-stone-950 px-6 py-16 text-stone-100 sm:px-10">
|
||||||
|
<div className="mx-auto max-w-4xl rounded-3xl border border-white/10 bg-stone-900 p-8 sm:p-10">
|
||||||
|
<p className="text-sm uppercase tracking-[0.3em] text-red-300">Kalender</p>
|
||||||
|
<h1 className="mt-4 text-4xl font-semibold text-white">Termine und Uebungen</h1>
|
||||||
|
<p className="mt-6 text-base leading-7 text-stone-300">
|
||||||
|
Diese Seite ist als Ziel fuer Vereinskalender, Uebungsplaene und oeffentliche Termine vorgesehen.
|
||||||
|
Aktuell ist die Struktur vorbereitet, damit die bestehenden Inhalte anschliessend sauber uebernommen
|
||||||
|
werden koennen.
|
||||||
|
</p>
|
||||||
|
<Link href="/" className="mt-8 inline-block text-sm text-red-200 underline underline-offset-4">
|
||||||
|
Zur Startseite
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
|
const contacts = [
|
||||||
|
["Kommandant", "Holger Karl", "kdt@traidendorf.de"],
|
||||||
|
["1. Vorstand", "Sebastian Fleischmann", "vorstand@traidendorf.de"],
|
||||||
|
["Stellv. Kommandant", "Andreas Baumer", "kontakt@ff-traidendorf.de"],
|
||||||
|
];
|
||||||
|
|
||||||
|
export default function KontaktPage() {
|
||||||
|
return (
|
||||||
|
<main className="min-h-screen bg-stone-950 px-6 py-16 text-stone-100 sm:px-10">
|
||||||
|
<div className="mx-auto max-w-5xl rounded-3xl border border-white/10 bg-stone-900 p-8 sm:p-10">
|
||||||
|
<p className="text-sm uppercase tracking-[0.3em] text-red-300">Kontakt</p>
|
||||||
|
<h1 className="mt-4 text-4xl font-semibold text-white">Ansprechpartner</h1>
|
||||||
|
<div className="mt-8 grid gap-4 md:grid-cols-3">
|
||||||
|
{contacts.map(([role, name, mail]) => (
|
||||||
|
<article key={mail} className="rounded-2xl border border-white/10 bg-black/20 p-5">
|
||||||
|
<p className="text-sm text-red-200">{role}</p>
|
||||||
|
<h2 className="mt-3 text-xl font-semibold text-white">{name}</h2>
|
||||||
|
<a className="mt-4 inline-block text-sm text-stone-200 underline underline-offset-4" href={`mailto:${mail}`}>
|
||||||
|
{mail}
|
||||||
|
</a>
|
||||||
|
</article>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
<div className="mt-8 rounded-2xl border border-red-500/30 bg-red-500/10 p-5">
|
||||||
|
<p className="text-sm uppercase tracking-[0.2em] text-red-200">Adresse</p>
|
||||||
|
<p className="mt-3 text-white">FF Traidendorf, Rohrbacher Weg 3, 93183 Traidendorf</p>
|
||||||
|
</div>
|
||||||
|
<Link href="/" className="mt-8 inline-block text-sm text-red-200 underline underline-offset-4">
|
||||||
|
Zur Startseite
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
import type { Metadata } from "next";
|
||||||
|
import { Geist, Geist_Mono } from "next/font/google";
|
||||||
|
import "./globals.css";
|
||||||
|
|
||||||
|
const geistSans = Geist({
|
||||||
|
variable: "--font-geist-sans",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
|
const geistMono = Geist_Mono({
|
||||||
|
variable: "--font-geist-mono",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: "Freiwillige Feuerwehr Traidendorf",
|
||||||
|
description: "Neue Webseite der Freiwilligen Feuerwehr Traidendorf mit Terminen, Ansprechpartnern und Vereinsinformationen.",
|
||||||
|
};
|
||||||
|
|
||||||
|
export default function RootLayout({
|
||||||
|
children,
|
||||||
|
}: Readonly<{
|
||||||
|
children: React.ReactNode;
|
||||||
|
}>) {
|
||||||
|
return (
|
||||||
|
<html lang="de">
|
||||||
|
<body
|
||||||
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||||
|
>
|
||||||
|
{children}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,168 @@
|
|||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
|
const featuredLinks = [
|
||||||
|
{
|
||||||
|
href: "/kalender",
|
||||||
|
title: "Kalender",
|
||||||
|
text: "Uebersicht fuer anstehende Uebungen, Feste und Vereinstermine.",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
href: "/infos",
|
||||||
|
title: "Infos",
|
||||||
|
text: "Kurzportrait der Wehr, Vereinsleben und erste Inhalte fuer die neue Praesenz.",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
href: "/150-jahre",
|
||||||
|
title: "150 Jahre",
|
||||||
|
text: "Bereich fuer das Gruendungsfest und spaetere Rueckblicke in strukturierter Form.",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
href: "/alben",
|
||||||
|
title: "Alben",
|
||||||
|
text: "Platzhalter fuer Fotosammlungen, Rueckblicke und Bildarchive.",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
const contacts = [
|
||||||
|
{
|
||||||
|
role: "Kommandant",
|
||||||
|
name: "Holger Karl",
|
||||||
|
mail: "kdt@traidendorf.de",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
role: "1. Vorstand",
|
||||||
|
name: "Sebastian Fleischmann",
|
||||||
|
mail: "vorstand@traidendorf.de",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
role: "Stellv. Kommandant",
|
||||||
|
name: "Andreas Baumer",
|
||||||
|
mail: "kontakt@ff-traidendorf.de",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
export default function Home() {
|
||||||
|
return (
|
||||||
|
<main className="min-h-screen bg-stone-950 text-stone-100">
|
||||||
|
<section className="border-b border-white/10 bg-[radial-gradient(circle_at_top_left,_rgba(185,28,28,0.35),_transparent_30%),linear-gradient(180deg,_#171717_0%,_#09090b_100%)]">
|
||||||
|
<div className="mx-auto flex max-w-6xl flex-col gap-10 px-6 py-8 sm:px-10 lg:px-12">
|
||||||
|
<header className="flex flex-col gap-6 lg:flex-row lg:items-start lg:justify-between">
|
||||||
|
<div>
|
||||||
|
<p className="text-sm uppercase tracking-[0.35em] text-red-300">
|
||||||
|
Freiwillige Feuerwehr Traidendorf
|
||||||
|
</p>
|
||||||
|
<h1 className="mt-4 max-w-3xl text-4xl font-semibold tracking-tight text-white sm:text-5xl lg:text-6xl">
|
||||||
|
Neue Webseite fuer Mannschaft, Verein und Dorfleben.
|
||||||
|
</h1>
|
||||||
|
<p className="mt-6 max-w-2xl text-base leading-7 text-stone-300 sm:text-lg">
|
||||||
|
Diese erste Ausbaustufe sammelt die wichtigsten Bereiche der bisherigen Seite
|
||||||
|
in einer modernen Struktur: Termine, Ansprechpartner, Vereinsinfos und Inhalte
|
||||||
|
zum Gruendungsfest.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<nav className="flex flex-wrap gap-3 text-sm text-stone-200">
|
||||||
|
{featuredLinks.map((item) => (
|
||||||
|
<Link
|
||||||
|
key={item.href}
|
||||||
|
href={item.href}
|
||||||
|
className="rounded-full border border-white/15 bg-white/5 px-4 py-2 transition hover:border-red-300 hover:bg-red-500/10"
|
||||||
|
>
|
||||||
|
{item.title}
|
||||||
|
</Link>
|
||||||
|
))}
|
||||||
|
<Link
|
||||||
|
href="/kontakt"
|
||||||
|
className="rounded-full border border-red-400 bg-red-500 px-4 py-2 font-medium text-white transition hover:bg-red-400"
|
||||||
|
>
|
||||||
|
Kontakt
|
||||||
|
</Link>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div className="grid gap-6 lg:grid-cols-[1.4fr_0.9fr]">
|
||||||
|
<article className="rounded-3xl border border-white/10 bg-white/5 p-6 shadow-2xl shadow-black/20 backdrop-blur sm:p-8">
|
||||||
|
<p className="text-sm uppercase tracking-[0.3em] text-red-200">Neues aus dem Verein</p>
|
||||||
|
<h2 className="mt-4 text-2xl font-semibold text-white">Inhalte aus der alten Seite werden jetzt neu sortiert.</h2>
|
||||||
|
<div className="mt-6 grid gap-4 sm:grid-cols-2">
|
||||||
|
<div className="rounded-2xl border border-white/10 bg-stone-900/80 p-5">
|
||||||
|
<h3 className="text-lg font-medium text-white">Elektropruefung</h3>
|
||||||
|
<p className="mt-2 text-sm leading-6 text-stone-300">
|
||||||
|
Die wichtigsten Vereinsmeldungen werden kuenftig in einheitlicher Form mit
|
||||||
|
Teaser, Bild und weiterfuehrenden Informationen gepflegt.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="rounded-2xl border border-white/10 bg-stone-900/80 p-5">
|
||||||
|
<h3 className="text-lg font-medium text-white">150 Jahre Gruendungsfest</h3>
|
||||||
|
<p className="mt-2 text-sm leading-6 text-stone-300">
|
||||||
|
Das Jubilaeum bekommt einen eigenen Bereich, damit Rueckblicke, Bilder und
|
||||||
|
Programminhalte nicht zwischen allgemeinen Meldungen verloren gehen.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<aside className="rounded-3xl border border-red-500/30 bg-red-500/10 p-6 sm:p-8">
|
||||||
|
<p className="text-sm uppercase tracking-[0.3em] text-red-200">Adresse</p>
|
||||||
|
<h2 className="mt-4 text-2xl font-semibold text-white">Rohrbacher Weg 3</h2>
|
||||||
|
<p className="mt-2 text-base text-stone-200">93183 Traidendorf</p>
|
||||||
|
<p className="mt-6 text-sm leading-6 text-stone-300">
|
||||||
|
Die neue Startseite soll Besucher schnell zu Kontakt, Terminen und den wichtigsten
|
||||||
|
Vereinsinformationen fuehren.
|
||||||
|
</p>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section className="mx-auto max-w-6xl px-6 py-16 sm:px-10 lg:px-12">
|
||||||
|
<div className="flex items-end justify-between gap-6">
|
||||||
|
<div>
|
||||||
|
<p className="text-sm uppercase tracking-[0.3em] text-red-300">Seitenstruktur</p>
|
||||||
|
<h2 className="mt-3 text-3xl font-semibold text-white">Die wichtigsten Bereiche fuer den Neustart</h2>
|
||||||
|
</div>
|
||||||
|
<Link href="https://ff.traidendorf.de" className="text-sm text-red-200 underline decoration-red-500/50 underline-offset-4">
|
||||||
|
Alte Seite ansehen
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="mt-8 grid gap-5 md:grid-cols-2 xl:grid-cols-4">
|
||||||
|
{featuredLinks.map((item) => (
|
||||||
|
<Link
|
||||||
|
key={item.href}
|
||||||
|
href={item.href}
|
||||||
|
className="rounded-3xl border border-white/10 bg-stone-900 p-6 transition hover:-translate-y-1 hover:border-red-300/60 hover:bg-stone-800"
|
||||||
|
>
|
||||||
|
<h3 className="text-xl font-semibold text-white">{item.title}</h3>
|
||||||
|
<p className="mt-3 text-sm leading-6 text-stone-300">{item.text}</p>
|
||||||
|
</Link>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section className="border-t border-white/10 bg-stone-900/60">
|
||||||
|
<div className="mx-auto grid max-w-6xl gap-8 px-6 py-16 sm:px-10 lg:grid-cols-[1fr_1.2fr] lg:px-12">
|
||||||
|
<div>
|
||||||
|
<p className="text-sm uppercase tracking-[0.3em] text-red-300">Naechste Inhalte</p>
|
||||||
|
<h2 className="mt-3 text-3xl font-semibold text-white">Naechste sinnvolle Ausbaustufen</h2>
|
||||||
|
<p className="mt-4 max-w-xl text-base leading-7 text-stone-300">
|
||||||
|
Im naechsten Schritt koennen wir echte Termine, Ansprechpartner, Einsatzberichte,
|
||||||
|
Bilder und ein Impressum aus der bisherigen Webseite strukturiert uebernehmen.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="grid gap-4 sm:grid-cols-3">
|
||||||
|
{contacts.map((contact) => (
|
||||||
|
<article key={contact.role} className="rounded-2xl border border-white/10 bg-black/20 p-5">
|
||||||
|
<p className="text-sm text-red-200">{contact.role}</p>
|
||||||
|
<h3 className="mt-3 text-lg font-semibold text-white">{contact.name}</h3>
|
||||||
|
<a className="mt-4 inline-block text-sm text-stone-200 underline underline-offset-4" href={`mailto:${contact.mail}`}>
|
||||||
|
{contact.mail}
|
||||||
|
</a>
|
||||||
|
</article>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import type { Config } from "tailwindcss";
|
||||||
|
|
||||||
|
const config: Config = {
|
||||||
|
content: [
|
||||||
|
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
|
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
|
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
|
],
|
||||||
|
theme: {
|
||||||
|
extend: {},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
};
|
||||||
|
|
||||||
|
export default config;
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2017",
|
||||||
|
"lib": ["dom", "dom.iterable", "esnext"],
|
||||||
|
"allowJs": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"strict": true,
|
||||||
|
"noEmit": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"module": "esnext",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
"jsx": "preserve",
|
||||||
|
"incremental": true,
|
||||||
|
"plugins": [
|
||||||
|
{
|
||||||
|
"name": "next"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["./src/*"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||||
|
"exclude": ["node_modules"]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user