Skip to content

Commit d724930

Browse files
committed
refactor: remove unused components and icons, streamline project image loading
- Deleted MainBody component and its associated styles. - Removed various icon components (AstroIcon, GitHubIcon, HeartIcon, Icon, ReactIcon, SASSIcon, TailwindCSSIcon, TypeScriptIcon) to simplify the codebase. - Removed Props type definition as it was no longer needed. - Updated image loading in index.astro to remove unnecessary format specification for images. - Adjusted profile picture dimensions for better display.
1 parent 7b6dc9c commit d724930

File tree

20 files changed

+32
-655
lines changed

20 files changed

+32
-655
lines changed

.github/workflows/astro.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout your repository using git
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323
- name: Install, build, and upload your site
24-
uses: withastro/action@v1
24+
uses: withastro/action@v4
2525
with:
26-
node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
26+
node-version: 24 # The specific version of Node that should be used to build your site. Defaults to 22. (optional)
2727
# path: . # The root location of your Astro project inside the repository. (optional)
2828
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
2929

@@ -36,4 +36,4 @@ jobs:
3636
steps:
3737
- name: Deploy to GitHub Pages
3838
id: deployment
39-
uses: actions/deploy-pages@v1
39+
uses: actions/deploy-pages@v4

astro.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import { defineConfig } from "astro/config";
22
import tailwindcss from '@tailwindcss/vite';
33

4-
import react from "@astrojs/react";
5-
64
// https://astro.build/config
75
export default defineConfig({
86
site: "https://jonaspm.github.io",
9-
integrations: [react()],
7+
integrations: [],
108
server: {
119
host: true,
1210
port: 3434

bun.lock

Lines changed: 17 additions & 106 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,10 @@
99
"astro": "astro"
1010
},
1111
"dependencies": {
12-
"@astrojs/react": "4.2.4",
1312
"@types/react": "^19.1.2",
14-
"@types/react-dom": "^19.1.2",
15-
"astro": "5.7.4",
16-
"material-symbols": "^0.22.2",
17-
"react": "^19.1.0",
18-
"react-dom": "^19.1.0"
13+
"@types/react-dom": "^19.1.3",
14+
"astro": "5.7.10",
15+
"material-symbols": "^0.31.2"
1916
},
2017
"devDependencies": {
2118
"@biomejs/biome": "^1.9.4",

src/components/Box.tsx

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/components/Footer.tsx

Lines changed: 0 additions & 78 deletions
This file was deleted.

src/components/Header.tsx

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/components/HeaderProfile.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/components/HeaderResume.tsx

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)