Skip to content

Commit bc811d7

Browse files
committed
upgrade astro & add more content; start using mdx;
1 parent 1aa3735 commit bc811d7

15 files changed

Lines changed: 2494 additions & 2076 deletions

File tree

.vscode/settings.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"workbench.colorCustomizations": {
3-
"activityBar.background": "#352C1F",
4-
"titleBar.activeBackground": "#4A3E2C",
5-
"titleBar.activeForeground": "#FBFAF8"
6-
}
7-
}
2+
"workbench.colorCustomizations": {
3+
"activityBar.background": "#352C1F",
4+
"titleBar.activeBackground": "#4A3E2C",
5+
"titleBar.activeForeground": "#FBFAF8"
6+
}
7+
}

astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { defineConfig } from "astro/config";
22
import sitemap from "@astrojs/sitemap";
33
import tailwind from "@astrojs/tailwind";
4+
import mdx from "@astrojs/mdx";
45

6+
// https://astro.build/config
57
export default defineConfig({
68
site: "https://kamilkaminski.dev",
79
integrations: [
@@ -11,5 +13,6 @@ export default defineConfig({
1113
applyBaseStyles: false,
1214
},
1315
}),
16+
mdx(),
1417
],
1518
});

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
"astro": "astro"
1313
},
1414
"dependencies": {
15-
"@astrojs/rss": "^2.1.0",
16-
"@astrojs/sitemap": "^1.0.0",
17-
"@astrojs/tailwind": "^3.0.0",
18-
"astro": "^2.0.0",
15+
"@astrojs/mdx": "^4.0.3",
16+
"@astrojs/rss": "^4.0.11",
17+
"@astrojs/sitemap": "^3.2.1",
18+
"@astrojs/tailwind": "^5.1.4",
19+
"astro": "^5.1.2",
1920
"tailwindcss": "^3.0.24"
2021
}
2122
}

pnpm-lock.yaml

Lines changed: 2318 additions & 1998 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/close.svg

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

public/touch.svg

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

src/components/Footer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272
}
7373
</style>
74-
<footer class:list={["my-20"]}>
74+
<footer class:list={["my-12"]}>
7575
<ul style="
7676
display: flex;
7777
justify-content: center;

src/components/LiFingerEmoji.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<li class="finger-li">
2+
<slot />
3+
</li>

src/components/Todo.astro

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<span
2+
class:list={[
3+
'bg-yellow-400',
4+
'before:content-["(TODO:_"]',
5+
'after:content-[")"]',
6+
'after:-ml-1',
7+
"text-sm",
8+
"text-gray-800",
9+
'px-1',
10+
'rounded'
11+
]}
12+
>
13+
<slot />
14+
</span>

src/components/UListInside.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<ul class="list-inside">
2+
<slot />
3+
</ul>

0 commit comments

Comments
 (0)