base structure

This commit is contained in:
2026-03-09 10:02:43 +01:00
parent 5bf74368c3
commit 96aed70fc6
11 changed files with 195 additions and 19 deletions

13
webpage/.prettierrc Normal file
View File

@@ -0,0 +1,13 @@
{
"printWidth": 120,
"htmlWhitespaceSensitivity": "ignore",
"singleAttributePerLine": false,
"overrides": [
{
"files": ["*.svelte", "*.astro"],
"options": {
"printWidth": 1000
}
}
]
}

4
webpage/.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}

11
webpage/.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}

View File

@@ -11,9 +11,14 @@
"@astrojs/svelte": "^7.2.5",
"@tailwindcss/vite": "^4.2.1",
"astro": "^5.17.1",
"prettier-plugin-svelte": "^3.5.1",
"svelte": "^5.53.7",
"tailwindcss": "^4.2.1",
"typescript": "^5.9.3"
},
"devDependencies": {
"prettier": "^3.8.1",
"prettier-plugin-astro": "^0.14.1"
}
},
"node_modules/@astrojs/compiler": {
@@ -4537,6 +4542,46 @@
"node": "^10 || ^12 || >=14"
}
},
"node_modules/prettier": {
"version": "3.8.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz",
"integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==",
"license": "MIT",
"bin": {
"prettier": "bin/prettier.cjs"
},
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/prettier-plugin-astro": {
"version": "0.14.1",
"resolved": "https://registry.npmjs.org/prettier-plugin-astro/-/prettier-plugin-astro-0.14.1.tgz",
"integrity": "sha512-RiBETaaP9veVstE4vUwSIcdATj6dKmXljouXc/DDNwBSPTp8FRkLGDSGFClKsAFeeg+13SB0Z1JZvbD76bigJw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@astrojs/compiler": "^2.9.1",
"prettier": "^3.0.0",
"sass-formatter": "^0.7.6"
},
"engines": {
"node": "^14.15.0 || >=16.0.0"
}
},
"node_modules/prettier-plugin-svelte": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-3.5.1.tgz",
"integrity": "sha512-65+fr5+cgIKWKiqM1Doum4uX6bY8iFCdztvvp2RcF+AJoieaw9kJOFMNcJo/bkmKYsxFaM9OsVZK/gWauG/5mg==",
"license": "MIT",
"peerDependencies": {
"prettier": "^3.0.0",
"svelte": "^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0"
}
},
"node_modules/prismjs": {
"version": "1.30.0",
"resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz",
@@ -4859,6 +4904,23 @@
"fsevents": "~2.3.2"
}
},
"node_modules/s.color": {
"version": "0.0.15",
"resolved": "https://registry.npmjs.org/s.color/-/s.color-0.0.15.tgz",
"integrity": "sha512-AUNrbEUHeKY8XsYr/DYpl+qk5+aM+DChopnWOPEzn8YKzOhv4l2zH6LzZms3tOZP3wwdOyc0RmTciyi46HLIuA==",
"dev": true,
"license": "MIT"
},
"node_modules/sass-formatter": {
"version": "0.7.9",
"resolved": "https://registry.npmjs.org/sass-formatter/-/sass-formatter-0.7.9.tgz",
"integrity": "sha512-CWZ8XiSim+fJVG0cFLStwDvft1VI7uvXdCNJYXhDvowiv+DsbD1nXLiQ4zrE5UBvj5DWZJ93cwN0NX5PMsr1Pw==",
"dev": true,
"license": "MIT",
"dependencies": {
"suf-log": "^2.5.3"
}
},
"node_modules/sax": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/sax/-/sax-1.5.0.tgz",
@@ -5030,6 +5092,16 @@
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
"node_modules/suf-log": {
"version": "2.5.3",
"resolved": "https://registry.npmjs.org/suf-log/-/suf-log-2.5.3.tgz",
"integrity": "sha512-KvC8OPjzdNOe+xQ4XWJV2whQA0aM1kGVczMQ8+dStAO6KfEB140JEVQ9dE76ONZ0/Ylf67ni4tILPJB41U0eow==",
"dev": true,
"license": "MIT",
"dependencies": {
"s.color": "0.0.15"
}
},
"node_modules/svelte": {
"version": "5.53.7",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.53.7.tgz",

View File

@@ -12,8 +12,13 @@
"@astrojs/svelte": "^7.2.5",
"@tailwindcss/vite": "^4.2.1",
"astro": "^5.17.1",
"prettier-plugin-svelte": "^3.5.1",
"svelte": "^5.53.7",
"tailwindcss": "^4.2.1",
"typescript": "^5.9.3"
},
"devDependencies": {
"prettier": "^3.8.1",
"prettier-plugin-astro": "^0.14.1"
}
}

View File

@@ -0,0 +1,29 @@
---
import "../styles/global.css";
const year = new Date().getFullYear();
---
<html lang="de">
<head>
<meta charset="utf-8" />
<title>Edis Buzzer</title>
</head>
<body class="antialiased bg-slate-50 text-primary pt-16 pb-12">
<nav class="fixed top-0 left-0 w-full z-50 bg-white shadow-bottom px-4 py-3 h-16 flex items-center">
<span class="uppercase font-bold text-xl tracking-narrow font-mono italic">EDIS_BUZZER</span>
</nav>
<main class="mx-auto max-w-screen-lg px-4 py-8 w-full">
<slot />
</main>
<footer class="fixed bottom-0 left-0 w-full z-50 bg-white text-xs text-slate-500 h-12 flex items-center shadow-top">
<div class="mx-auto px-4 w-full text-center">
&copy; 2026-{year} iten engineering. Alle Rechte vorbehalten.
</div>
</footer>
</body>
</html>

View File

@@ -1,17 +1,53 @@
---
import MainLayout from "../layouts/MainLayout.astro";
---
---
<MainLayout>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<div class="bg-white shadow shadow-slate-300 rounded-lg p-6">
<h1>Titel</h1>
<p>
Li Europan lingues es membres del sam familie. Lor separat
existentie es un myth. Por scientie, musica, sport etc, litot
Europa usa li sam vocabular. Li lingues differe solmen in li
grammatica, li pronunciation e li plu commun vocabules. Omnicos
directe al desirabilite de un nov lingua franca: On refusa
continuar payar custosi traductores. At solmen va esser necessi
far uniform grammatica, pronunciation e plu sommun paroles. Ma
quande lingues coalesce, li grammatica del resultant lingue es
plu simplic e regulari quam ti del coalescent lingues. Li nov
lingua franca va esser plu simplic e regulari quam li existent
Europan lingues.
</p>
</div>
<div class="bg-white shadow shadow-slate-300 rounded-lg p-6">
<h1>Titel</h1>
<p>
Li Europan lingues es membres del sam familie. Lor separat
existentie es un myth. Por scientie, musica, sport etc, litot
Europa usa li sam vocabular. Li lingues differe solmen in li
grammatica, li pronunciation e li plu commun vocabules. Omnicos
directe al desirabilite de un nov lingua franca: On refusa
continuar payar custosi traductores. At solmen va esser necessi
far uniform grammatica, pronunciation e plu sommun paroles. Ma
quande lingues coalesce, li grammatica del resultant lingue es
plu simplic e regulari quam ti del coalescent lingues. Li nov
lingua franca va esser plu simplic e regulari quam li existent
Europan lingues.
</p>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>Astro</title>
</head>
<body>
<h1>Astro</h1>
</body>
</html>
<p>
It va esser tam simplic quam Occidental in fact, it va esser
Occidental. A un Angleso it va semblar un simplificat Angles,
quam un skeptic Cambridge amico dit me que Occidental es. Li
Europan lingues es membres del sam familie. Lor separat
existentie es un myth. Por scientie, musica, sport etc, litot
Europa usa li sam vocabular. Li lingues differe solmen in li
grammatica, li pronunciation e li plu commun vocabules. Omnicos
directe al desirabilite de un nov lingua franca: On refusa
continuar payar custosi traductores. At solmen va esser necessi
far uniform grammatica, pronunciation e plu sommun paroles.
</p>
</div>
</div>
</MainLayout>

View File

@@ -1 +1,8 @@
@import "tailwindcss";
@import "tailwindcss";
@theme {
--color-primary: var(--color-slate-700);
--color-surface: var(--color-slate-50);
--shadow-top: 0 -2px 3px -1px color-mix(in srgb, var(--color-slate-500), transparent 70%);
--shadow-bottom: 0 2px 3px -1px color-mix(in srgb, var(--color-slate-500), transparent 70%);
}