mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Remove spyglass ad
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB |
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user