feat(setup): Added astro website

This commit is contained in:
Karl Ludwig Weise
2025-05-24 11:45:01 +02:00
parent 21c06b3d6a
commit dd91fce18c
13 changed files with 4522 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# build output
dist/
# generated types
.astro/
# dependencies
node_modules/
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# environment variables
.env
.env.production
# macOS-specific files
.DS_Store
+4
View File
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
+11
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"
}
]
}
+50
View File
@@ -0,0 +1,50 @@
// @ts-check
import {defineConfig} from "astro/config";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: "OpenReception",
head: [
{
tag: "script",
attrs: {
src: "https://plausible.io/js/script.file-downloads.hash.outbound-links.js",
"data-domain": "open-reception.org",
defer: true,
},
},
{
tag: "script",
content: `window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }`,
},
],
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/open-reception/appointment-booking-software",
},
],
sidebar: [
// {
// label: "Guides",
// items: [
// // Each item here is one entry in the navigation menu.
// {label: "Example Guide", slug: "guides/example"},
// ],
// },
// {
// label: "Reference",
// autogenerate: {directory: "reference"},
// },
],
components: {
Footer: "./src/components/Footer.astro",
Search: "./src/components/Search.astro",
},
}),
],
});
+17
View File
@@ -0,0 +1,17 @@
{
"name": "open-reception-website",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.34.3",
"astro": "^5.6.1",
"sharp": "^0.32.5"
}
}
+4389
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M81 36 64 0 47 36l-1 2-9-10a6 6 0 0 0-9 9l10 10h-2L0 64l36 17h2L28 91a6 6 0 1 0 9 9l9-10 1 2 17 36 17-36v-2l9 10a6 6 0 1 0 9-9l-9-9 2-1 36-17-36-17-2-1 9-9a6 6 0 1 0-9-9l-9 10v-2Zm-17 2-2 5c-4 8-11 15-19 19l-5 2 5 2c8 4 15 11 19 19l2 5 2-5c4-8 11-15 19-19l5-2-5-2c-8-4-15-11-19-19l-2-5Z" clip-rule="evenodd"/><path d="M118 19a6 6 0 0 0-9-9l-3 3a6 6 0 1 0 9 9l3-3Zm-96 4c-2 2-6 2-9 0l-3-3a6 6 0 1 1 9-9l3 3c3 2 3 6 0 9Zm0 82c-2-2-6-2-9 0l-3 3a6 6 0 1 0 9 9l3-3c3-2 3-6 0-9Zm96 4a6 6 0 0 1-9 9l-3-3a6 6 0 1 1 9-9l3 3Z"/><style>path{fill:#000}@media (prefers-color-scheme:dark){path{fill:#fff}}</style></svg>

After

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

+4
View File
@@ -0,0 +1,4 @@
<footer>
<a href="https://ludwigweise.de/impressum">Imprint</a> |
<a href="https://ludwigweise.de/datenschutz">Privacy</a>
</footer>
View File
+7
View File
@@ -0,0 +1,7 @@
import { defineCollection } from 'astro:content';
import { docsLoader } from '@astrojs/starlight/loaders';
import { docsSchema } from '@astrojs/starlight/schema';
export const collections = {
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
};
+13
View File
@@ -0,0 +1,13 @@
---
title: OpenReception
description: End-to-end encrypted appointment booking platform
template: splash
hero:
tagline: End-to-end encrypted appointment booking platform.
image:
file: ../../assets/houston.webp
---
OpenReception is being developed by [Karl Ludwig Weise](https://ludwigweise.de) and [Hendrik Belitz](https://innovation-through-understanding.de/) as part of the [PrototypeFund](https://prototypefund.de/) year one.
This project is funded by the [Federal Ministry of Research, Technology and Space](https://www.bmbf.de) and [PrototypeFund](https://prototypefund.de/).
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"]
}