Chg: Astro 6.1.7 / New: kleismicをリンクに追加 / Chg: imgタグをImageに変更 / Chg: index.astroの自己紹介のfont-sizeを1remに変更 / Chg: ライトモードのborder-colorを変更 / Chg: ライトモードのフッターの背景色を変更
This commit is contained in:
+1
-1
@@ -8,6 +8,6 @@
|
|||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^6.1.1"
|
"astro": "^6.1.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generated
+6
-15
@@ -9,8 +9,8 @@ importers:
|
|||||||
.:
|
.:
|
||||||
dependencies:
|
dependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^6.1.1
|
specifier: ^6.1.7
|
||||||
version: 6.1.1(@types/node@24.8.1)(jiti@2.6.1)(lightningcss@1.30.1)(rollup@4.52.5)(typescript@5.9.3)
|
version: 6.1.7(@types/node@24.8.1)(jiti@2.6.1)(lightningcss@1.30.1)(rollup@4.52.5)(typescript@5.9.3)
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
@@ -565,8 +565,8 @@ packages:
|
|||||||
array-iterate@2.0.1:
|
array-iterate@2.0.1:
|
||||||
resolution: {integrity: sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==}
|
resolution: {integrity: sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==}
|
||||||
|
|
||||||
astro@6.1.1:
|
astro@6.1.7:
|
||||||
resolution: {integrity: sha512-vq8sHpu1JsY1fWAunn+tdKNbVDmLQNiVdyuGsVT2csgITdFGXXVAyEXFWc1DzkMN0ehElPeiHnqItyQOJK+GqA==}
|
resolution: {integrity: sha512-pvZysIUV2C2nRv8N7cXAkCLcfDQz/axAxF09SqiTz1B+xnvbhy6KzL2I6J15ZBXk8k0TfMD75dJ151QyQmAqZA==}
|
||||||
engines: {node: '>=22.12.0', npm: '>=9.6.5', pnpm: '>=7.1.0'}
|
engines: {node: '>=22.12.0', npm: '>=9.6.5', pnpm: '>=7.1.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
@@ -1202,11 +1202,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA==}
|
resolution: {integrity: sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA==}
|
||||||
engines: {node: '>=11.0.0'}
|
engines: {node: '>=11.0.0'}
|
||||||
|
|
||||||
semver@7.7.3:
|
|
||||||
resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==}
|
|
||||||
engines: {node: '>=10'}
|
|
||||||
hasBin: true
|
|
||||||
|
|
||||||
semver@7.7.4:
|
semver@7.7.4:
|
||||||
resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==}
|
resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
@@ -1875,7 +1870,7 @@ snapshots:
|
|||||||
|
|
||||||
array-iterate@2.0.1: {}
|
array-iterate@2.0.1: {}
|
||||||
|
|
||||||
astro@6.1.1(@types/node@24.8.1)(jiti@2.6.1)(lightningcss@1.30.1)(rollup@4.52.5)(typescript@5.9.3):
|
astro@6.1.7(@types/node@24.8.1)(jiti@2.6.1)(lightningcss@1.30.1)(rollup@4.52.5)(typescript@5.9.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@astrojs/compiler': 3.0.1
|
'@astrojs/compiler': 3.0.1
|
||||||
'@astrojs/internal-helpers': 0.8.0
|
'@astrojs/internal-helpers': 0.8.0
|
||||||
@@ -1893,7 +1888,6 @@ snapshots:
|
|||||||
cookie: 1.1.1
|
cookie: 1.1.1
|
||||||
devalue: 5.6.4
|
devalue: 5.6.4
|
||||||
diff: 8.0.3
|
diff: 8.0.3
|
||||||
dlv: 1.1.3
|
|
||||||
dset: 3.1.4
|
dset: 3.1.4
|
||||||
es-module-lexer: 2.0.0
|
es-module-lexer: 2.0.0
|
||||||
esbuild: 0.27.4
|
esbuild: 0.27.4
|
||||||
@@ -2862,16 +2856,13 @@ snapshots:
|
|||||||
|
|
||||||
sax@1.6.0: {}
|
sax@1.6.0: {}
|
||||||
|
|
||||||
semver@7.7.3:
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
semver@7.7.4: {}
|
semver@7.7.4: {}
|
||||||
|
|
||||||
sharp@0.34.4:
|
sharp@0.34.4:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@img/colour': 1.0.0
|
'@img/colour': 1.0.0
|
||||||
detect-libc: 2.1.2
|
detect-libc: 2.1.2
|
||||||
semver: 7.7.3
|
semver: 7.7.4
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@img/sharp-darwin-arm64': 0.34.4
|
'@img/sharp-darwin-arm64': 0.34.4
|
||||||
'@img/sharp-darwin-x64': 0.34.4
|
'@img/sharp-darwin-x64': 0.34.4
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 128 KiB |
@@ -1,8 +1,11 @@
|
|||||||
---
|
---
|
||||||
|
import { Image } from "astro:assets";
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
description: string;
|
description: string;
|
||||||
img: string;
|
img: string;
|
||||||
|
imgLoading?: "eager" | "lazy";
|
||||||
href?: URL;
|
href?: URL;
|
||||||
scale?: number;
|
scale?: number;
|
||||||
isFullWidth?: true;
|
isFullWidth?: true;
|
||||||
@@ -18,9 +21,12 @@ export interface Props {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<div class="img">
|
<div class="img">
|
||||||
<img
|
<Image
|
||||||
|
width="20"
|
||||||
|
height="20"
|
||||||
|
loading={Astro.props.imgLoading ?? "lazy"}
|
||||||
src={new URL(`/icons/${Astro.props.img}`, Astro.url.origin).toString()}
|
src={new URL(`/icons/${Astro.props.img}`, Astro.url.origin).toString()}
|
||||||
alt="アイコン"
|
alt={Astro.props.title}
|
||||||
class={Astro.props.canDarkInvert
|
class={Astro.props.canDarkInvert
|
||||||
? "canDarkInvert"
|
? "canDarkInvert"
|
||||||
: ""}
|
: ""}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ footer {
|
|||||||
font-family: "BIZ UDPGothic", sans-serif;
|
font-family: "BIZ UDPGothic", sans-serif;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #667a8b;
|
color: #667a8b;
|
||||||
background-color: #bdc3d0;
|
background-color: #d8d8d8;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
|
---
|
||||||
|
import { Image } from "astro:assets";
|
||||||
|
---
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img
|
<Image
|
||||||
|
width="20"
|
||||||
|
height="20"
|
||||||
|
loading="eager"
|
||||||
src={new URL("/avatar.png", Astro.url.origin).toString()}
|
src={new URL("/avatar.png", Astro.url.origin).toString()}
|
||||||
alt="アバター"
|
alt="アバター"
|
||||||
/>
|
/>
|
||||||
@@ -41,6 +48,7 @@ a {
|
|||||||
|
|
||||||
img {
|
img {
|
||||||
width: 2.75rem;
|
width: 2.75rem;
|
||||||
|
height: 2.75rem;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,4 +20,4 @@ export default [
|
|||||||
href: new URL("https://misskey.systems/@last2014"),
|
href: new URL("https://misskey.systems/@last2014"),
|
||||||
canDarkInvert: false,
|
canDarkInvert: false,
|
||||||
},
|
},
|
||||||
] as CardProps[];
|
] as CardProps[];
|
||||||
@@ -35,6 +35,13 @@ export default [
|
|||||||
img: "uwuzunet.png",
|
img: "uwuzunet.png",
|
||||||
href: new URL("https://uwuzu.net/@last2014"),
|
href: new URL("https://uwuzu.net/@last2014"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: "kleismic",
|
||||||
|
description: "@last2014.keik.info",
|
||||||
|
img: "kleismic.png",
|
||||||
|
href: new URL("https://kleismic.com/profile/last2014"),
|
||||||
|
scale: 0.9,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "マシュマロ",
|
title: "マシュマロ",
|
||||||
description: "/egdz8zducskjfqt",
|
description: "/egdz8zducskjfqt",
|
||||||
|
|||||||
@@ -5,11 +5,15 @@ import details from "@/constants/details";
|
|||||||
import links from "@/constants/links";
|
import links from "@/constants/links";
|
||||||
import contacts from "@/constants/contacts";
|
import contacts from "@/constants/contacts";
|
||||||
import supports from "@/constants/supports";
|
import supports from "@/constants/supports";
|
||||||
|
import { Image } from "astro:assets";
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout>
|
<Layout>
|
||||||
<div class="profile">
|
<div class="profile">
|
||||||
<img
|
<Image
|
||||||
|
width="20"
|
||||||
|
height="20"
|
||||||
|
loading="eager"
|
||||||
src={new URL("/avatar.png", Astro.url.origin).toString()}
|
src={new URL("/avatar.png", Astro.url.origin).toString()}
|
||||||
alt="アバター"
|
alt="アバター"
|
||||||
/>
|
/>
|
||||||
@@ -50,7 +54,7 @@ import supports from "@/constants/supports";
|
|||||||
<span id="link">リンク</span>
|
<span id="link">リンク</span>
|
||||||
|
|
||||||
{links.map((link) => (
|
{links.map((link) => (
|
||||||
<Card {...link} />
|
<Card imgLoading="eager" {...link} />
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -102,7 +106,6 @@ import supports from "@/constants/supports";
|
|||||||
}
|
}
|
||||||
|
|
||||||
.profile div p {
|
.profile div p {
|
||||||
font-size: 0.9rem;
|
|
||||||
font-weight: 350;
|
font-weight: 350;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
:root {
|
:root {
|
||||||
--background-color: #f0f0f0;
|
--background-color: #f0f0f0;
|
||||||
--text-color: #000000;
|
--text-color: #000000;
|
||||||
--border-color: #f2e5e5;
|
--border-color: #e0e0e0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
|||||||
Reference in New Issue
Block a user