aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-01-06 23:41:04 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-01-06 23:41:04 -0500
commitb34c5413633ff4faffc626142f0cc83175d94747 (patch)
tree88640012f2e78a6d95e5f8ee421ec16545acb325 /src
parent5b69ffef23b4d4c3cf32c9918559ef1127a873d4 (diff)
downloadpersonal-website-b34c5413633ff4faffc626142f0cc83175d94747.tar.gz
personal-website-b34c5413633ff4faffc626142f0cc83175d94747.tar.bz2
personal-website-b34c5413633ff4faffc626142f0cc83175d94747.zip
Add Astro Vercel serverless adapter and update Astro version in package.json
Diffstat (limited to 'src')
-rwxr-xr-xsrc/images/Alee.pngbin0 -> 213648 bytes
-rw-r--r--src/pages/index.astro12
-rw-r--r--src/styles/index.css4
3 files changed, 10 insertions, 6 deletions
diff --git a/src/images/Alee.png b/src/images/Alee.png
new file mode 100755
index 0000000..51f01eb
--- /dev/null
+++ 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;