From 78191f44bc19b1333c681384704a82d3bb7404a6 Mon Sep 17 00:00:00 2001 From: lilly Date: Mon, 8 Jun 2026 22:08:32 +0200 Subject: [PATCH] initialize astro project --- .gitignore | 24 +++++++++++++++++++++++ README.md | 43 +++++++++++++++++++++++++++++++++++++++++- astro.config.mjs | 5 +++++ package.json | 17 +++++++++++++++++ public/favicon.ico | Bin 0 -> 655 bytes public/favicon.svg | 9 +++++++++ src/pages/index.astro | 17 +++++++++++++++++ tsconfig.json | 5 +++++ 8 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 astro.config.mjs create mode 100644 package.json create mode 100644 public/favicon.ico create mode 100644 public/favicon.svg create mode 100644 src/pages/index.astro create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..16d54bb --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# 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 + +# jetbrains setting folder +.idea/ diff --git a/README.md b/README.md index 50ea0ac..817dd80 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,43 @@ -# ueberwachungsfrei-website +# Astro Starter Kit: Minimal +```sh +pnpm create astro@latest -- --template minimal +``` + +> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun! + +## 🚀 Project Structure + +Inside of your Astro project, you'll see the following folders and files: + +```text +/ +├── public/ +├── src/ +│ └── pages/ +│ └── index.astro +└── package.json +``` + +Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. + +There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. + +Any static assets, like images, can be placed in the `public/` directory. + +## 🧞 Commands + +All commands are run from the root of the project, from a terminal: + +| Command | Action | +| :------------------------ | :----------------------------------------------- | +| `pnpm install` | Installs dependencies | +| `pnpm dev` | Starts local dev server at `localhost:4321` | +| `pnpm build` | Build your production site to `./dist/` | +| `pnpm preview` | Preview your build locally, before deploying | +| `pnpm astro ...` | Run CLI commands like `astro add`, `astro check` | +| `pnpm astro -- --help` | Get help using the Astro CLI | + +## 👀 Want to learn more? + +Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). diff --git a/astro.config.mjs b/astro.config.mjs new file mode 100644 index 0000000..e762ba5 --- /dev/null +++ b/astro.config.mjs @@ -0,0 +1,5 @@ +// @ts-check +import { defineConfig } from 'astro/config'; + +// https://astro.build/config +export default defineConfig({}); diff --git a/package.json b/package.json new file mode 100644 index 0000000..779c084 --- /dev/null +++ b/package.json @@ -0,0 +1,17 @@ +{ + "name": "ueberwachungsfrei-website", + "type": "module", + "version": "0.0.1", + "engines": { + "node": ">=22.12.0" + }, + "scripts": { + "dev": "astro dev", + "build": "astro build", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "astro": "^6.4.4" + } +} \ No newline at end of file diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..7f48a94d16071d6c8d06478c7458ab12e675019c GIT binary patch literal 655 zcmeAS@N?(olHy`uVBq!ia0y~yU{C;I4rT@h2A3sW#~2tG{sj1hxH5o2dwaX9tE-TZ zkg~G!qeqVz7#NNmIRcge5g$H$FflRNx^*i91H;m#OViTQ7#J8ne*DP5z>t=fHf`Fp zu&}VQvN9ndp>5l?m6w+R;A!7g^Y4p_tPeQ_5ub`V#Yoq#{4Xt z$Bj!AID}&)+~hfg^|)oW8LayM|Nj%K8PBYjKe3wm%zDLho9)kSw!O4H_SkCDYrAXj z9NyeFFMMR#{m8QOo_W?|tBFso7d*FF|H5Y9E8BAqEGkX*YX4+lV6ZO<@(X^-@agrl z7k}3Lu)H4j@74F!U*8q|Eq?#y?T6>zKYV@l?)9fXUq8Hl_xbaS7k~c!`u^$di!Yx( z{dxWV?ejk`-o1GB!=s!@j)8%Z+0(@_q~ccX6+@W)hNSf#bLwLA9LASy_`a$=JYeo<(V$; zBzvG>qx5588-^xX*VQGnR$P}5s*?0e+MKWyP@-ukt-|NQ#*^L-_9a+9Aw`<5pzR^9)b{esH{ znSFAR^=y6qeu2}JTi*R)N;O=;*v;0caqeLErwK3k&4diz%~|*4DJbQ5y85}Sb4q9e E015CW?EnA( literal 0 HcmV?d00001 diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..f157bd1 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,9 @@ + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 0000000..561196b --- /dev/null +++ b/src/pages/index.astro @@ -0,0 +1,17 @@ +--- + +--- + + + + + + + + + Astro + + +

Astro

+ + diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..8bf91d3 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,5 @@ +{ + "extends": "astro/tsconfigs/strict", + "include": [".astro/types.d.ts", "**/*"], + "exclude": ["dist"] +}