Remove spyglass ad

This commit is contained in:
Misode
2024-09-12 03:46:37 +02:00
parent 11896c32b1
commit 98e6c9192c
2 changed files with 1 additions and 16 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -1,6 +1,6 @@
import { useMemo } from 'preact/hooks'
import contributors from '../../contributors.json'
import { Card, ChangelogEntry, Footer, GeneratorCard, Giscus, Octicon, ToolCard, ToolGroup } from '../components/index.js'
import { Card, ChangelogEntry, Footer, GeneratorCard, Giscus, ToolCard, ToolGroup } from '../components/index.js'
import { WhatsNewTime } from '../components/whatsnew/WhatsNewTime.jsx'
import { useLocale, useTitle } from '../contexts/index.js'
import { useAsync } from '../hooks/useAsync.js'
@@ -27,7 +27,6 @@ export function Home({}: Props) {
{smallScreen ? /* mobile */ <>
<PopularGenerators />
<FavoriteGenerators />
<Spyglass />
<WhatsNew />
<Changelog />
<Versions />
@@ -40,7 +39,6 @@ export function Home({}: Props) {
</div>
{!smallScreen && <div class="card-column">
<FavoriteGenerators />
<Spyglass />
<WhatsNew />
<Tools />
</div>}
@@ -85,19 +83,6 @@ function FavoriteGenerators() {
</ToolGroup>
}
function Spyglass() {
return <a class="tool-group tool-card p-[10px] no-underline" href="https://marketplace.visualstudio.com/items?itemName=SPGoding.datapack-language-server" target="_blank">
<div class="flex items-center">
<img src="/images/spyglass.png" alt="Spyglass Logo" width="42" height="42" />
<h3 class="ml-2 text-[1.17em]">
Datapack Helper Plus
{Octicon.arrow_right}
</h3>
</div>
<p class="mt-2">VSCode extension with heavy language features, updated to Minecraft 1.21</p>
</a>
}
function Tools() {
const { locale } = useLocale()