From b34c5413633ff4faffc626142f0cc83175d94747 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 6 Jan 2024 23:41:04 -0500 Subject: Add Astro Vercel serverless adapter and update Astro version in package.json --- astro.config.mjs | 8 ++++++-- bun.lockb | Bin 215285 -> 245041 bytes package.json | 3 ++- public/Alee.png | Bin 213648 -> 0 bytes src/images/Alee.png | Bin 0 -> 213648 bytes src/pages/index.astro | 12 ++++++++---- src/styles/index.css | 4 ++-- 7 files changed, 18 insertions(+), 9 deletions(-) delete mode 100755 public/Alee.png create mode 100755 src/images/Alee.png diff --git a/astro.config.mjs b/astro.config.mjs index 5db1b38..94c0fa4 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,7 +1,11 @@ import { defineConfig } from 'astro/config'; import icon from "astro-icon"; +import vercel from "@astrojs/vercel/serverless"; + // https://astro.build/config export default defineConfig({ - integrations: [icon()], -}); + integrations: [icon()], + output: "server", + adapter: vercel() +}); \ No newline at end of file diff --git a/bun.lockb b/bun.lockb index c7d1787..d46789e 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index a4dddf5..93879d9 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,9 @@ "astro": "astro" }, "dependencies": { + "@astrojs/vercel": "^6.1.3", "@iconify-json/fa6-brands": "^1.1.18", - "astro": "^4.0.5", + "astro": "^4.1.1", "astro-icon": "^1.0.2" } } \ No newline at end of file diff --git a/public/Alee.png b/public/Alee.png deleted file mode 100755 index 51f01eb..0000000 Binary files a/public/Alee.png and /dev/null differ diff --git a/src/images/Alee.png b/src/images/Alee.png new file mode 100755 index 0000000..51f01eb Binary files /dev/null and b/src/images/Alee.png differ diff --git a/src/pages/index.astro b/src/pages/index.astro index 6113dd1..949bae5 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,13 +2,14 @@ import Layout from '../layouts/Default.astro'; import { Icon } from 'astro-icon/components' import { Image } from 'astro:assets'; +import Profile from '../images/Alee.png'; import '../styles/index.css'; ---
-
-
+
+

About me

I have been into computers since I was a kid, and it has been my passion for a long time.
Currently studying “Computing Support” (more preferably IT) at a vocational school.

-
+

Computer Specs

+
+

Latest Posts

+
diff --git a/src/styles/index.css b/src/styles/index.css index 17d6a52..fe388ca 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -38,13 +38,13 @@ h2 { font-size: 2.2vh; } -.infobox { +.information { display: flex; flex-direction: column; gap: 2vh; } -.about { +.box { padding: 1vw; text-align: left; background: #3B513B; -- cgit v1.2.3