Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,8 @@ dist
.tern-port

# MacOS directory
.DS_Store
.DS_Store

# Local planning artifacts
docs/brainstorms/
docs/plans/
Binary file added public/images/sponsors/boostmania.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 69 additions & 13 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
import GitHubIcon from './icons/GitHubIcon.astro';

interface Props {
discordMembers?: string;
}
Expand Down Expand Up @@ -50,20 +52,38 @@ const year = new Date().getFullYear();
</li>
</ul>
</div>
<div class="footer-column">
<div class="footer-column footer-column--supporters">
<h3>Supporters</h3>
<p class="supporters-label">Open Collective</p>
<a
href="https://opencollective.com/spicetify"
target="_blank"
rel="noopener noreferrer"
>
<img
src="https://opencollective.com/spicetify/tiers/supporter.svg?avatarHeight=36"
alt="Open Collective supporters"
loading="lazy"
/>
</a>
<div class="supporters-row">
<div class="supporter-block">
<p class="supporters-label">Open Collective</p>
<a
href="https://opencollective.com/spicetify"
target="_blank"
rel="noopener noreferrer"
>
<img
src="https://opencollective.com/spicetify/tiers/supporter.svg?avatarHeight=36"
alt="Open Collective supporters"
loading="lazy"
width="200"
height="36"
/>
</a>
</div>
<div class="supporter-block">
<p class="supporters-label">GitHub Sponsors</p>
<a
href="https://github.com/sponsors/spicetify"
target="_blank"
rel="noopener noreferrer"
class="sponsor-button"
>
<GitHubIcon size={16} />
Sponsor on GitHub
</a>
</div>
</div>
</div>
</div>
<div class="footer-bottom">
Expand Down Expand Up @@ -133,6 +153,42 @@ const year = new Date().getFullYear();
margin-bottom: 0.5rem;
}

.footer-column--supporters {
min-width: 0;
}

.supporters-row {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: flex-start;
}

.supporter-block {
min-width: 0;
}

.sponsor-button {
display: inline-flex;
align-items: center;
gap: 0.5rem;
height: 36px;
padding: 0 0.85rem;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
color: #e3e3e3;
font-size: 0.8rem;
font-weight: 500;
transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sponsor-button:hover {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2);
color: #fff;
}

.footer-bottom {
max-width: 1200px;
margin: 2rem auto 0;
Expand Down
27 changes: 0 additions & 27 deletions src/components/SponsorBanner.astro

This file was deleted.

59 changes: 59 additions & 0 deletions src/components/homepage/HeroSection.astro
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,26 @@ const { stats, heroShowcase } = Astro.props;
View on GitHub
</a>
</div>

<p class="hero-supporters">
Supported by
<a
href="https://boostmania.gg"
target="_blank"
rel="sponsored noopener noreferrer"
class="hero-supporter-link"
>
<img
src="/images/sponsors/boostmania.png"
alt=""
width="16"
height="16"
loading="lazy"
aria-hidden="true"
/>
<span>Boost<span class="hero-supporter-accent">Mania</span></span>
</a>
</p>
</div>

<div class="hero-showcase">
Expand Down Expand Up @@ -239,6 +259,44 @@ const { stats, heroShowcase } = Astro.props;
animation: fade-in-up 0.7s ease 0.45s both;
}

.hero-supporters {
display: inline-flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
column-gap: 0.4rem;
row-gap: 0.2rem;
margin: 1.75rem auto 0;
font-size: 0.78rem;
color: var(--color-text-secondary);
animation: fade-in-up 0.7s ease 0.55s both;
}

.hero-supporter-link {
display: inline-flex;
align-items: center;
gap: 0.3rem;
color: var(--color-text);
font-weight: 600;
text-decoration: none;
border-bottom: 1px dashed transparent;
transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-supporter-link:hover {
border-bottom-color: var(--color-text-secondary);
text-decoration: none;
}

.hero-supporter-link img {
border-radius: 4px;
vertical-align: middle;
}

.hero-supporter-accent {
color: #e325f5;
}

.hero-showcase {
position: relative;
width: 100%;
Expand Down Expand Up @@ -343,6 +401,7 @@ const { stats, heroShowcase } = Astro.props;
.hero h1,
.hero-subtitle,
.hero-actions,
.hero-supporters,
.hero-showcase {
animation: none !important;
opacity: 1 !important;
Expand Down