Skip to content

Commit

Permalink
Revert "chore: viteconf 24 cta (#2953)"
Browse files Browse the repository at this point in the history
This reverts commit 3ba5add9ca593e4fa21b02a3c57e8d0745887562.
  • Loading branch information
yyx990803 authored and AloisSeckar committed Oct 10, 2024
1 parent 0027eba commit f746233
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 95 deletions.
72 changes: 1 addition & 71 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">Building Together</p>
<p class="heading">ViteConf 24 - Oct 3</p>
<p class="extra-info">Get your free ticket!</p>
</span>
</a>
<div v-if="frontmatter.sponsors !== false">
<a class="sponsors-aside-text" href="/sponsor/">Sponzoři</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>
24 changes: 0 additions & 24 deletions src/public/viteconf.svg

This file was deleted.

0 comments on commit f746233

Please sign in to comment.