Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various #666

Merged
merged 2 commits into from
Jan 22, 2025
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
28 changes: 12 additions & 16 deletions packages/website/src/components/DownloadButton.astro
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,18 @@ const links = assets.map(asset => {
}
</style>

<div class="p-4">
<div class="group relative text-center">
or download for<br />
{
links.map(link => (
<a
href={link.url}
class="downloadButton inline-flex items-center justify-center px-2 py-2 mx-2 text-base text-s text-white bg-gray-800 border border-transparent rounded-md hover:bg-gray-700 no-underline"
>
{link.name}
</a>
))
}
<br />
<span class="text-xs text-gray-400">latest version: {version}</span>
</div>
<div class="group relative text-center text-sm">
<div>{
links.map(link => (
<a
href={link.url}
class="downloadButton inline-flex items-center justify-center px-2 py-2 mx-2 text-base text-s text-white bg-gray-800 border border-transparent rounded-md hover:bg-gray-700 no-underline"
>
{link.name}
</a>
))
}</div>
<div class="text-xs text-gray-400 mt-2">latest version: {version}</div>
</div>

<script>
Expand Down
18 changes: 5 additions & 13 deletions packages/website/src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ import DownloadButton from './DownloadButton.astro';
text-align: center;
max-width: 80%;
opacity: 0;
margin-bottom: 3rem;
animation: fade-in 1s ease-in-out 1s forwards;
}

Expand All @@ -75,14 +74,6 @@ import DownloadButton from './DownloadButton.astro';
animation: fade-in 1s ease-in-out 1s forwards;
}

.actions {
display: flex;
align-items: center;
justify-content: center;
padding-top: 1rem;
gap: 2rem;
}

@media (min-width: 768px) {
.sub-heading {
letter-spacing: 3px;
Expand All @@ -92,10 +83,11 @@ import DownloadButton from './DownloadButton.astro';

<div class="wrapper">
<h1 class="neon-header">Sentry for Development</h1>
<div class="sub-heading">Spotlight is a highly customizable debug tool embedded in your web app.</div>
<img src="/images/trace.png" alt="Spotlight Hero" class="hero-image" />
<p class="actions">
<div class="sub-heading mb-4">Spotlight is a highly customizable debug tool embedded in your web app.</div>
<div class="flex flex-col items-center justify-center gap-2 py-4 mb-4">
<ButtonLink href="/about/">Get Started</ButtonLink>
<div class="text-xs uppercase">or download for</div>
<DownloadButton>Download for Mac</DownloadButton>
</p>
</div>
<img src="/images/trace.png" alt="Spotlight Hero" class="hero-image" />
</div>
17 changes: 16 additions & 1 deletion packages/website/src/content/docs/sidecar/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,26 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';

We provide a Docker container which runs the Sidecar (including the overlay).

```
```shell
docker run --rm \
--pull always \
--name spotlight \
--detach \
-p 8969:8969/tcp \
ghcr.io/getsentry/spotlight:latest
```

If you're already using Docker Compose, we recommend adding Spotlight to your `docker-compose.yml` file:


```yaml
version: "3.7"
services:
# ...
spotlight:
image: ghcr.io/getsentry/spotlight:latest
restart: on-failure
pull_policy: always
ports:
- "8969:8969"
```
Loading