aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro.config.mjs8
-rwxr-xr-xbun.lockbbin215285 -> 245041 bytes
-rw-r--r--package.json3
-rwxr-xr-xsrc/images/Alee.png (renamed from public/Alee.png)bin213648 -> 213648 bytes
-rw-r--r--src/pages/index.astro12
-rw-r--r--src/styles/index.css4
6 files changed, 18 insertions, 9 deletions
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
--- a/bun.lockb
+++ b/bun.lockb
Binary files 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/src/images/Alee.png
index 51f01eb..51f01eb 100755
--- a/public/Alee.png
+++ b/src/images/Alee.png
Binary files 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';
---
<Layout title="Andrew Lee">
<main class="home">
<div class="headline">
- <Image class="avatar" src="/Alee.png" alt="Andrew Lee" height="200px" width="200px" />
+ <Image src={Profile} class="avatar" alt="Andrew Lee" height="200px" width="200px" />
<h1 id="title">Hey, I'm Andrew Lee!</h1>
<div class="social">
<a href="https://github.alee14.me">
@@ -33,14 +34,17 @@ import '../styles/index.css';
<h3><a href="mailto:andrew@alee14.me" class="email-contact">andrew@alee14.me</a></h3>
</div>
</div>
- <div class="infobox">
- <div class="about">
+ <div class="information">
+ <div class="box">
<h1>About me</h1>
<p>I have been into computers since I was a kid, and it has been my passion for a long time. <br>Currently studying “Computing Support” (more preferably IT) at a vocational school.</p>
</div>
- <div class="about">
+ <div class="box">
<h1>Computer Specs</h1>
</div>
+ <div class="box">
+ <h1>Latest Posts</h1>
+ </div>
</div>
</main>
</Layout>
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;