diff options
author | Pauline <git@ethanlibs.co> | 2023-08-23 03:39:26 -0400 |
---|---|---|
committer | Pauline <git@ethanlibs.co> | 2023-08-23 03:39:26 -0400 |
commit | 7a77a68702e947597120226e140885345a21c463 (patch) | |
tree | 91a2d38cc304eaf5e9f50498f637c9a25f8b1fa2 /apps/website | |
parent | a7c97d40a34b09d3f488a60106ba82ecd0e8b61e (diff) | |
download | Nexus-7a77a68702e947597120226e140885345a21c463.tar.gz Nexus-7a77a68702e947597120226e140885345a21c463.tar.bz2 Nexus-7a77a68702e947597120226e140885345a21c463.zip |
web: initial astro framework
Diffstat (limited to 'apps/website')
-rw-r--r-- | apps/website/astro.config.ts | 4 | ||||
-rw-r--r-- | apps/website/package.json | 16 | ||||
-rw-r--r-- | apps/website/public/robots.txt | 4 | ||||
-rw-r--r-- | apps/website/src/env.d.ts | 1 | ||||
-rw-r--r-- | apps/website/tsconfig.json | 3 |
5 files changed, 28 insertions, 0 deletions
diff --git a/apps/website/astro.config.ts b/apps/website/astro.config.ts new file mode 100644 index 0000000..882e651 --- /dev/null +++ b/apps/website/astro.config.ts @@ -0,0 +1,4 @@ +import { defineConfig } from 'astro/config'; + +// https://astro.build/config +export default defineConfig({}); diff --git a/apps/website/package.json b/apps/website/package.json new file mode 100644 index 0000000..eab7226 --- /dev/null +++ b/apps/website/package.json @@ -0,0 +1,16 @@ +{ + "name": "@polyfrost/website", + "private": true, + "scripts": { + "dev": "astro dev", + "start": "astro start", + "build": "astro build", + "preview": "astro preview" + }, + "dependencies": { + "astro": "^2.10.12" + }, + "devDependencies": { + "typescript": "^5.1.6" + } +} diff --git a/apps/website/public/robots.txt b/apps/website/public/robots.txt new file mode 100644 index 0000000..f58dbcb --- /dev/null +++ b/apps/website/public/robots.txt @@ -0,0 +1,4 @@ +# Example: Allow all bots to scan and index your site. +# Full syntax: https://developers.google.com/search/docs/advanced/robots/create-robots-txt +User-agent: * +Allow: / diff --git a/apps/website/src/env.d.ts b/apps/website/src/env.d.ts new file mode 100644 index 0000000..f964fe0 --- /dev/null +++ b/apps/website/src/env.d.ts @@ -0,0 +1 @@ +/// <reference types="astro/client" /> diff --git a/apps/website/tsconfig.json b/apps/website/tsconfig.json new file mode 100644 index 0000000..5378929 --- /dev/null +++ b/apps/website/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "astro/tsconfigs/base" +} |