diff --git a/astro.config.mjs b/astro.config.mjs index e762ba5..53e49de 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,5 +1,9 @@ // @ts-check import { defineConfig } from 'astro/config'; +import react from '@astrojs/react'; + // https://astro.build/config -export default defineConfig({}); +export default defineConfig({ + integrations: [react()] +}); \ No newline at end of file diff --git a/package.json b/package.json index 155c99d..9cd3075 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,13 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.2.3" + "@astrojs/react": "^4.2.0", + "@types/react": "^19.0.8", + "@types/react-dom": "^19.0.3", + "astro": "^5.2.3", + "react": "^19.0.0", + "react-dom": "^19.0.0", + "sass": "^1.83.4", + "scss": "^0.2.4" } } \ No newline at end of file diff --git a/public/Terminus.woff2 b/public/Terminus.woff2 new file mode 100644 index 0000000..728475b Binary files /dev/null and b/public/Terminus.woff2 differ diff --git a/src/components/button.astro b/src/components/button.astro new file mode 100644 index 0000000..abd28de --- /dev/null +++ b/src/components/button.astro @@ -0,0 +1,21 @@ +--- +interface Props { + href: string, + display: string, + color?: string +} +const {href, display, color = "transparent"} = Astro.props +--- + + + + \ No newline at end of file diff --git a/src/components/footer.astro b/src/components/footer.astro new file mode 100644 index 0000000..bff8e6a --- /dev/null +++ b/src/components/footer.astro @@ -0,0 +1,46 @@ +--- +--- + + + + \ No newline at end of file diff --git a/src/components/header.astro b/src/components/header.astro new file mode 100644 index 0000000..0d2ed05 --- /dev/null +++ b/src/components/header.astro @@ -0,0 +1,28 @@ +--- +import Button from './button.astro' +import { Links } from '../ts/links'; +--- + +
+
+ + \ No newline at end of file diff --git a/src/components/metas.astro b/src/components/metas.astro new file mode 100644 index 0000000..75cdb78 --- /dev/null +++ b/src/components/metas.astro @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/components/terminal.astro b/src/components/terminal.astro new file mode 100644 index 0000000..e69de29 diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro deleted file mode 100644 index e455c61..0000000 --- a/src/layouts/Layout.astro +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - Astro Basics - - - - - - - diff --git a/src/layouts/Webpage.astro b/src/layouts/Webpage.astro new file mode 100644 index 0000000..18444cf --- /dev/null +++ b/src/layouts/Webpage.astro @@ -0,0 +1,63 @@ +--- +import Metas from "../components/metas.astro" +import Header from "../components/header.astro" +import Footer from "../components/footer.astro" + +interface Props { + title: string, +} +const {title} = Astro.props +--- + + + + + + + {`rhpidfyre.io | ${title}`} + + +
+ +