Skip to content

Commit be2829d

Browse files
committed
docs: revert SF meetup promo
We are overbooked!
1 parent 2bc5d3d commit be2829d

File tree

2 files changed

+28
-23
lines changed

2 files changed

+28
-23
lines changed

docs/.vitepress/theme/components/AsideSponsors.vue

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,23 @@ const sponsors = computed(() => {
1818
</script>
1919

2020
<template>
21-
<a class="vite-event" href="https://lu.ma/vite" target="_blank">
22-
<img width="22" height="22" src="/logo.svg" />
21+
<a
22+
class="viteconf"
23+
href="https://viteconf.org/23/replay?utm=vite-sidebar"
24+
target="_blank"
25+
>
26+
<img width="22" height="22" src="/viteconf.svg" />
2327
<span>
24-
<p class="extra-info">May 9th, 2024</p>
25-
<p class="heading">Vite Meetup SF</p>
28+
<p class="extra-info">Beyond Fast</p>
29+
<p class="heading">ViteConf 2023</p>
30+
<p class="extra-info">Watch the replay!</p>
2631
</span>
2732
</a>
2833
<VPDocAsideSponsors v-if="data" :data="sponsors" />
2934
</template>
3035

3136
<style>
32-
.vite-event {
37+
.viteconf {
3338
margin-top: 1rem;
3439
margin-bottom: 1rem;
3540
border-radius: 14px;
@@ -48,26 +53,35 @@ const sponsors = computed(() => {
4853
border: 2px solid var(--vp-c-bg-alt);
4954
transition: border-color 0.5s;
5055
}
51-
.vite-event:hover {
56+
.viteconf:hover {
5257
border: 2px solid var(--vp-c-brand-light);
5358
}
54-
.vite-event img {
59+
.viteconf img {
5560
transition: transform 0.5s;
5661
transform: scale(1.25);
5762
}
58-
.vite-event:hover img {
63+
.viteconf:hover img {
5964
transform: scale(1.75);
6065
}
61-
.vite-event .heading {
62-
background-image: var(--vp-home-hero-name-background);
66+
.viteconf .heading {
67+
background-image: linear-gradient(
68+
120deg,
69+
#b047ff 16%,
70+
var(--vp-c-brand-lighter),
71+
var(--vp-c-brand-lighter)
72+
);
6373
background-clip: text;
6474
-webkit-background-clip: text;
6575
-webkit-text-fill-color: transparent;
6676
}
67-
.vite-event .extra-info {
77+
.viteconf .extra-info {
6878
color: var(--vp-c-text-1);
79+
opacity: 0;
6980
font-size: 0.7rem;
7081
padding-left: 0.1rem;
7182
transition: opacity 0.5s;
7283
}
84+
.viteconf:hover .extra-info {
85+
opacity: 0.9;
86+
}
7387
</style>

docs/index.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ hero:
2121
- theme: alt
2222
text: View on GitHub
2323
link: https://github.com/vitejs/vite
24-
- theme: alt
25-
text: 📅 Vite Meetup SF
26-
link: https://lu.ma/vite
24+
- theme: brand
25+
text: 🎉 ViteConf 23!
26+
link: https://viteconf.org/23/replay?utm=vite-homepage
2727

2828
features:
2929
- icon: 💡
@@ -45,12 +45,3 @@ features:
4545
title: Fully Typed APIs
4646
details: Flexible programmatic APIs with full TypeScript typing.
4747
---
48-
49-
<style>
50-
.VPButton.alt[href="https://lu.ma/vite"] {
51-
background: var(--vp-home-hero-name-background);
52-
border: none;
53-
padding: 1px 21px;
54-
color: #fff !important;
55-
}
56-
</style>

0 commit comments

Comments
 (0)