website
git clone https://git.pyrossh.dev/website
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
ba1411c
— pyrossh
2026-07-04T14:54:45+05:30
refactor: migrate RepoLayout icons to unplugin-icons
src/layouts/RepoLayout.astro
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
|
-
import { type CollectionEntry } from "astro:content";
|
|
3
|
-
import
|
|
2
|
+
import MdiInformationOutline from "~icons/mdi/information-outline";
|
|
4
3
|
import Layout from "@/layouts/BaseLayout.astro";
|
|
4
|
+
import type { RepoEntry } from "@/utils/repos";
|
|
5
5
|
|
|
6
6
|
type Props = {
|
|
7
|
-
repo:
|
|
7
|
+
repo: RepoEntry;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
const { repo } = Astro.props;
|
|
@@ -32,9 +32,9 @@ const { pathname } = Astro.url;
|
|
|
32
32
|
<span
|
|
33
33
|
data-tooltip="For contributions, please use git patches and send them to my email or the google group [email protected]"
|
|
34
34
|
>
|
|
35
|
-
<Icon
|
|
36
|
-
|
|
35
|
+
<MdiInformationOutline
|
|
37
|
-
|
|
36
|
+
width="18"
|
|
37
|
+
height="18"
|
|
38
38
|
color="var(--color-text)"
|
|
39
39
|
/>
|
|
40
40
|
</span>
|