aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro.config.mjs5
-rw-r--r--src/layouts/Page.astro16
-rw-r--r--src/pages/projects.astro6
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>