diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-01-20 13:49:26 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-01-20 13:49:26 -0500 |
| commit | 2604cab500fa359cbeb106873f6e0ea19b798e2b (patch) | |
| tree | eb6d2a28a7ea48817342d79823143158795114af | |
| parent | f8a4b4f95148c47011539f8fcc12682844e3fd95 (diff) | |
| download | personal-website-2604cab500fa359cbeb106873f6e0ea19b798e2b.tar.gz personal-website-2604cab500fa359cbeb106873f6e0ea19b798e2b.tar.bz2 personal-website-2604cab500fa359cbeb106873f6e0ea19b798e2b.zip | |
Starting projects page
| -rw-r--r-- | astro.config.mjs | 5 | ||||
| -rw-r--r-- | src/layouts/Page.astro | 16 | ||||
| -rw-r--r-- | src/pages/projects.astro | 6 |
3 files changed, 23 insertions, 4 deletions
diff --git a/astro.config.mjs b/astro.config.mjs index 896faa4..86e6192 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,8 +7,5 @@ import vercel from "@astrojs/vercel/serverless"; export default defineConfig({ integrations: [icon()], output: "server", - adapter: vercel({ - imageService: true, - devImageService: 'squoosh', - }) + adapter: vercel() }); diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro new file mode 100644 index 0000000..d2624c5 --- /dev/null +++ b/src/layouts/Page.astro @@ -0,0 +1,16 @@ +--- +import Layout from './Default.astro'; +--- + +<Layout> + <header> + <h1>Test</h1> + <h2>Description</h2> + </header> +</Layout> + +<style> + header { + text-align: center; + } +</style> diff --git a/src/pages/projects.astro b/src/pages/projects.astro new file mode 100644 index 0000000..0313de2 --- /dev/null +++ b/src/pages/projects.astro @@ -0,0 +1,6 @@ +--- +import Page from "../layouts/Page.astro"; +--- +<Page> + +</Page> |
