Skip to content

Commit

Permalink
update and fix
Browse files Browse the repository at this point in the history
Signed-off-by: zxypro1 <[email protected]>
  • Loading branch information
zxypro1 committed Nov 11, 2024
1 parent 83382a8 commit e9a04a0
Show file tree
Hide file tree
Showing 7 changed files with 1,323 additions and 1,123 deletions.
2,408 changes: 1,308 additions & 1,100 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.5.6",
"@astrojs/partytown": "^2.0.4",
"@astrojs/preact": "^3.1.2",
"@astrojs/starlight": "^0.24.0",
"@astrojs/starlight-tailwind": "^2.0.1",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/check": "^0.9.4",
"@astrojs/partytown": "^2.1.2",
"@astrojs/preact": "^3.5.3",
"@astrojs/starlight": "^0.29.0",
"@astrojs/starlight-tailwind": "^2.0.3",
"@astrojs/tailwind": "^5.1.2",
"@b-design/color": "^1.0.7",
"@docsearch/css": "^3.5.2",
"@docsearch/js": "^3.5.2",
Expand All @@ -29,7 +29,7 @@
"@iconify-json/uil": "^1.1.8",
"@lorenzo_lewis/starlight-utils": "^0.1.2",
"@serverless-cd/goat-ui": "^0.0.28",
"astro": "^4.8.6",
"astro": "^4.16.10",
"astro-compress": "^2.2.11",
"astro-icon": "^1.1.0",
"astro-navbar": "^2.3.3",
Expand Down
12 changes: 0 additions & 12 deletions src/assets/CNCF.svg

This file was deleted.

1 change: 1 addition & 0 deletions src/assets/cncf-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import {Icon} from "astro-icon/components";
import CNCF_LOGO from "../assets/CNCF.svg";
import CNCF_LOGO from "../assets/cncf-white.svg";
import {Picture} from "astro:assets";
interface FooterLinks {
Expand Down Expand Up @@ -46,7 +46,7 @@ const contactWays = [{

<footer class="my-40 mb-10">
<div class="flex flex-col items-center gap-2">
<p class="text-info">Serverless Devs 是 <a href="https://cncf.io/" class="text-accent">CNCF (云原生基金会)</a>
<p class="text-info">Serverless Devs 是 <a href="https://cncf.io/" style="color: rgba(38, 44, 244, 1);">CNCF (云原生基金会)</a>
沙箱项目</p>
<Picture
src={CNCF_LOGO}
Expand Down
5 changes: 4 additions & 1 deletion src/components/LineCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import starIcon from "@assets/icons/star.svg";
const {url, title, description, date, hot} = Astro.props;
---

<div class="card flex flex-col gap-8 text-white border border-[#4a4c57] rounded-xl p-5 hover:bg-[#1e1f22]">
<div class="card flex flex-col gap-8 text-white border border-[#4a4c57] rounded-xl p-5 hover:bg-[#1e1f22]" onclick=`window.open('${url}', '_blank')` >
<div class="p-3 bg-white bg-opacity-5 rounded-xl border-[0.8px] border-[#b3b6c1] w-fit">
<Picture class="rounded-full" src={starIcon} alt="starIcon"/>
</div>
Expand All @@ -30,4 +30,7 @@ const {url, title, description, date, hot} = Astro.props;
background-clip: text;
color: transparent;
}
.card:hover {
cursor: pointer; /* 鼠标悬停时更改为点击样式 */
}
</style>
Loading

0 comments on commit e9a04a0

Please sign in to comment.