Skip to content

Commit

Permalink
Revert(conf): Remove vue-conf banner #1408 (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
tisma95 authored Oct 10, 2024
1 parent 12e49ce commit fa00f97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 96 deletions.
74 changes: 2 additions & 72 deletions .vitepress/theme/components/SponsorsAside.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@ const { frontmatter } = useData()
</script>

<template>
<a
class="viteconf-cta-aside"
href="https://viteconf.org/?utm=vue-sidebar"
target="_blank"
>
<img width="22" height="22" src="/viteconf.svg" />
<span>
<p class="extra-info">Construire ensemble</p>
<p class="heading">ViteConf 24 - 3 Octobre</p>
<p class="extra-info">Obtenez votre billet gratuit !</p>
</span>
</a>
<div v-if="frontmatter.sponsors !== false">
<a class="sponsors-aside-text" href="/sponsor/">Sponsors</a>
<SponsorsGroup tier="special" />
Expand All @@ -28,68 +16,10 @@ const { frontmatter } = useData()
a.sponsors-aside-text {
color: var(--vt-c-text-3);
display: block;
margin: 1em 0 1em;
margin: 3em 0 1em;
font-weight: 700;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.4px;
}
.viteconf-cta-aside {
margin-top: 1rem;
margin-bottom: 1rem;
border-radius: 4px;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
position: relative;
font-size: 0.9rem;
font-weight: 700;
line-height: 1.1rem;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
gap: 1rem;
background-color: var(--vt-c-bg-soft);
border: 2px solid var(--vt-c-bg-soft);
transition: border-color 0.5s;
filter: grayscale(1);
}
.viteconf-cta-aside:hover {
border: 2px solid #9499ff;
filter: none;
}
.viteconf-cta-aside img {
transition: transform 0.5s;
transform: scale(1.25);
}
.viteconf-cta-aside:hover img {
transform: scale(1.75);
}
.viteconf-cta-aside .heading {
color: var(--vt-c-text-1);
}
.viteconf-cta-aside:hover .heading {
background-image: linear-gradient(
120deg,
#b047ff 16%,
#9499ff,
#9499ff
);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.viteconf-cta-aside .extra-info {
color: var(--vt-c-text-1);
opacity: 0;
font-size: 0.7rem;
padding-left: 0.1rem;
transition: opacity 0.5s;
}
.viteconf-cta-aside:hover .extra-info {
opacity: 0.9;
}
</style>
</style>
24 changes: 0 additions & 24 deletions src/public/viteconf.svg

This file was deleted.

0 comments on commit fa00f97

Please sign in to comment.