Skip to content

Commit cbcd1c7

Browse files
committed
Update projects
- Added a new project. - Updated thumbnails for existing projects. - Fixed uneven thumbnail sizes.
1 parent f21af24 commit cbcd1c7

File tree

6 files changed

+17
-19
lines changed

6 files changed

+17
-19
lines changed

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ My portfolio website
66

77
</div>
88

9-
## 🚀 Installation
9+
## 🚩 Installation
1010

1111
1. Clone this repository
1212
```sh
@@ -21,19 +21,11 @@ My portfolio website
2121

2222
3. Start the app
2323
```sh
24-
pnpm run dev -- --port 2500
24+
pnpm run dev
2525
```
2626

27-
## 🌐 Production
27+
## 🚀 Production
2828

29-
1. Follow steps 1 & 2 from the [installation guide](#-installation). *Ignore if already done.*
30-
31-
2. Build the app
32-
```sh
33-
pnpm run build
34-
```
35-
36-
3. Preview the app
37-
```sh
38-
pnpm run preview -- --port 2500
39-
```
29+
- This project is configured to use the `static-adapter`, which enables deployment on static hosting services such as GitHub Pages, Cloudflare Pages/Workers, and similar platforms.
30+
- The project is currently hosted on GitHub Pages with an automated GitHub Workflow that deploys changes upon push to the `main` branch.
31+
- For detailed GitHub Pages implementation configuration, refer to [`.github/workflows/pages.yml`](./.github/workflows/pages.yml).

src/lib/data/projects.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ interface Project {
99
}
1010

1111
const projects: Project = {
12+
"MC Addon": {
13+
desc: "Welcome to the official hub of MC Addon! A competitive, community-driven Lifesteal Minecraft Network with thrilling mechanics, epic events, and intense mini-games!",
14+
url: "https://mcaddon.fun",
15+
img: "/project/mcaddon.webp",
16+
time: 2025,
17+
tags: ["Minecraft", "Lifesteal", "SMP"]
18+
},
1219
Aero: {
1320
desc: "Aero makes listening to music feel light and breezy.",
1421
url: "https://github.com/swayam25/Aero",

src/routes/+page.svelte

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,10 @@
149149
<div
150150
class="flex flex-col items-center justify-start gap-y-4 md:flex-row md:items-start md:gap-x-4 md:gap-y-0"
151151
>
152-
<img
153-
src={data.img}
154-
alt={name}
155-
class="rounded-lg border border-slate-900 object-cover md:h-24 md:w-48"
156-
/>
152+
<div
153+
class="aspect-video w-full rounded-lg border border-slate-900 bg-slate-900 bg-cover bg-center object-cover md:h-24 md:w-auto"
154+
style="background-image: url({data.img});"
155+
></div>
157156
<div class="flex flex-col items-start justify-center">
158157
<div class="flex w-full items-center justify-between">
159158
<div class="flex items-center justify-start gap-x-1">

static/project/aero.webp

-826 Bytes
Loading

static/project/clashwithjpa.webp

-88.1 KB
Loading

static/project/mcaddon.webp

22.9 KB
Loading

0 commit comments

Comments
 (0)