Skip to content

Commit

Permalink
Vue Fes Japan 2024 チケット広告 (#2198)
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-es authored Jul 30, 2024
1 parent 7b96dac commit 1f67190
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .vitepress/inlined-scripts/restorePreference.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
restore('vue-docs-prefer-composition', 'prefer-composition', true)
restore('vue-docs-prefer-sfc', 'prefer-sfc', true)

window.__VUE_BANNER_ID__ = 'vuefes2024_cfp'
window.__VUE_BANNER_ID__ = 'vuefes2024_ticket'
restore(`vue-docs-banner-${__VUE_BANNER_ID__}`, 'banner-dismissed')
})()
10 changes: 2 additions & 8 deletions .vitepress/theme/components/Banner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ function dismiss() {

<template>
<div class="banner" v-if="open">
<a href="https://vuefes.jp/2024/#speakers" target="_blank">
Vue Fes Japan 2024 セッション & LT 募集中!
<a href="https://note.com/moe6811/n/n813c1da8cad7" target="_blank">
Vue Fes Japan 2024 チケット発売開始! <span>8/25(日)までのご購入で 1,000円 OFF!</span>
</a>
</div>
</template>
Expand All @@ -50,12 +50,6 @@ html:not(.banner-dismissed) {
font-weight: 600;
color: #fff;
background-color: var(--vt-c-green);
background: linear-gradient(
90deg,
rgba(66, 184, 131, 1) 0%,
rgba(39, 179, 137, 1) 19%,
rgba(100, 126, 255, 1) 100%
);
}
.banner-dismissed .banner {
Expand Down

0 comments on commit 1f67190

Please sign in to comment.