Skip to content

Commit 98e6c91

Browse files
committed
Remove spyglass ad
1 parent 11896c3 commit 98e6c91

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

public/images/spyglass.png

-17.5 KB
Binary file not shown.

src/app/pages/Home.tsx

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useMemo } from 'preact/hooks'
22
import contributors from '../../contributors.json'
3-
import { Card, ChangelogEntry, Footer, GeneratorCard, Giscus, Octicon, ToolCard, ToolGroup } from '../components/index.js'
3+
import { Card, ChangelogEntry, Footer, GeneratorCard, Giscus, ToolCard, ToolGroup } from '../components/index.js'
44
import { WhatsNewTime } from '../components/whatsnew/WhatsNewTime.jsx'
55
import { useLocale, useTitle } from '../contexts/index.js'
66
import { useAsync } from '../hooks/useAsync.js'
@@ -27,7 +27,6 @@ export function Home({}: Props) {
2727
{smallScreen ? /* mobile */ <>
2828
<PopularGenerators />
2929
<FavoriteGenerators />
30-
<Spyglass />
3130
<WhatsNew />
3231
<Changelog />
3332
<Versions />
@@ -40,7 +39,6 @@ export function Home({}: Props) {
4039
</div>
4140
{!smallScreen && <div class="card-column">
4241
<FavoriteGenerators />
43-
<Spyglass />
4442
<WhatsNew />
4543
<Tools />
4644
</div>}
@@ -85,19 +83,6 @@ function FavoriteGenerators() {
8583
</ToolGroup>
8684
}
8785

88-
function Spyglass() {
89-
return <a class="tool-group tool-card p-[10px] no-underline" href="https://marketplace.visualstudio.com/items?itemName=SPGoding.datapack-language-server" target="_blank">
90-
<div class="flex items-center">
91-
<img src="/images/spyglass.png" alt="Spyglass Logo" width="42" height="42" />
92-
<h3 class="ml-2 text-[1.17em]">
93-
Datapack Helper Plus
94-
{Octicon.arrow_right}
95-
</h3>
96-
</div>
97-
<p class="mt-2">VSCode extension with heavy language features, updated to Minecraft 1.21</p>
98-
</a>
99-
}
100-
10186
function Tools() {
10287
const { locale } = useLocale()
10388

0 commit comments

Comments
 (0)