Skip to content

Commit

Permalink
Hero Image
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT committed Nov 22, 2023
1 parent e29b507 commit ee51173
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Binary file added packages/website/public/images/hero-showcase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/website/src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import SocialIcons from '@astrojs/starlight/components/SocialIcons.astro';
</div>
<div class="sl-hidden md:sl-flex right-group">
<div class="sl-flex social-icons">
<span class="text-sm">by Sentry</span>
<!-- <span class="text-sm">by Sentry</span> -->
<SocialIcons {...Astro.props} />
</div>
</div>
Expand Down
14 changes: 11 additions & 3 deletions packages/website/src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
font-size: 1.5rem;
font-weight: 500;
text-align: center;
margin-bottom: 3rem;
font-weight: 200;
opacity: 0;
animation: fade-in 1s ease-in-out 1s forwards;
Expand Down Expand Up @@ -104,13 +103,22 @@
letter-spacing: 3px;
}
}

.hero-image {
width: 100%;
margin-top: 2rem;
margin-bottom: 2rem;
border-radius: 0.5rem;
opacity: 0; animation: fade-in 1s ease-in-out 1s forwards;
}
</style>

<div class="wrapper">
<h1 class="neon-header">Spotlight</h1>
<div class="sub-heading">The debug toolbar you always wanted</div>
<img src="/images/hero-showcase.png" alt="Spotlight Hero" class="hero-image" />
<div class="actions">
<a href="/what-is-spotlight/">Get started</a>
<a href="/reference/configuration/">Read the docs</a>
<a href="/what-is-spotlight/">Read the docs</a>
</div>

</div>

0 comments on commit ee51173

Please sign in to comment.