Skip to content

Commit b786a3a

Browse files
committed
chore: badge favicon provider, update homepage, bump dependencies
1 parent 795fdee commit b786a3a

File tree

5 files changed

+620
-593
lines changed

5 files changed

+620
-593
lines changed

app/assets/color.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
--c-bg-a50: hsl(var(--hue-theme) 10% 7% / 50%);
1313
--c-bg-a80: hsl(var(--hue-theme) 10% 7% / 80%);
1414
--c-primary: hsl(var(--hue-theme) 100% 70%);
15-
--c-primary-soft: hsl(var(--hue-theme) 100% 60% / 30%);
15+
--c-primary-soft: hsl(var(--hue-theme) 100% 60% / 20%);
1616
--ld-bg-blur: var(--c-bg-a80);
1717
--ld-bg-card: var(--c-bg-3);
1818
--ld-bg-active: var(--c-primary-soft);

app/components/partial/Badge.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const img = computed(() => {
1515
if (ghUsername)
1616
return getGhAvatar(ghUsername)
1717
if (props.link && isExtLink(props.link))
18-
return `https://unavatar.webp.se/${getDomain(props.link)}`
18+
return `https://unavatar.webp.se/${getDomain(props.link)}?w`
1919
return ''
2020
})
2121
@@ -45,7 +45,7 @@ const tip = computed(() => {
4545
.badge {
4646
display: inline-flex;
4747
align-items: center;
48-
border: 1px solid var(--c-bg-soft);
48+
border: 1px solid var(--c-border);
4949
border-radius: 4px;
5050
background-color: var(--c-bg-2);
5151
font-size: 0.875em;
@@ -74,10 +74,9 @@ const tip = computed(() => {
7474
7575
.badge-img {
7676
.badge-icon {
77-
width: 1.6em;
7877
height: 1.6em;
78+
max-width: 2em;
7979
border-radius: 3.5px;
80-
object-fit: cover;
8180
}
8281
8382
.badge-text {

app/pages/home.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ const appConfig = useAppConfig()
6666
天翔TNXG
6767
</ZBadge> <ZBadge rel="nofollow" img="https://ykc.im/icon.png" link="https://ykc.im/">
6868
York Chou
69+
</ZBadge> <ZBadge rel="nofollow" img="https://www.xxfer.cn/icon.png" link="https://www.xxfer.cn/">
70+
小李同学
6971
</ZBadge>
7072
</p>
7173
</ZField>

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
},
1616
"dependencies": {
1717
"date-fns": "^4.1.0",
18-
"embla-carousel-autoplay": "^8.3.1",
19-
"embla-carousel-vue": "^8.3.1",
18+
"embla-carousel-autoplay": "^8.4.0",
19+
"embla-carousel-vue": "^8.4.0",
2020
"fast-xml-parser": "^4.5.0",
2121
"vue-tippy": "^6.5.0"
2222
},
2323
"devDependencies": {
24-
"@antfu/eslint-config": "^3.9.1",
25-
"@nuxt/icon": "^1.7.5",
24+
"@antfu/eslint-config": "^3.9.2",
25+
"@nuxt/icon": "1.7.6",
2626
"@nuxt/image": "^1.8.1",
2727
"@nuxtjs/color-mode": "^3.5.2",
2828
"@nuxtjs/seo": "2.0.0-rc.21",

0 commit comments

Comments
 (0)