diff --git a/public/images/spyglass.png b/public/images/spyglass.png new file mode 100644 index 00000000..dc93d5b2 Binary files /dev/null and b/public/images/spyglass.png differ diff --git a/src/app/pages/Home.tsx b/src/app/pages/Home.tsx index 2ccd5a3d..c2aeeb79 100644 --- a/src/app/pages/Home.tsx +++ b/src/app/pages/Home.tsx @@ -1,13 +1,13 @@ import { useMemo } from 'preact/hooks' import contributors from '../../contributors.json' -import { Store } from '../Store.js' -import { shuffle } from '../Utils.js' -import { Card, ChangelogEntry, Footer, GeneratorCard, Giscus, ToolCard, ToolGroup } from '../components/index.js' +import { Card, ChangelogEntry, Footer, GeneratorCard, Giscus, Octicon, 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' import { useMediaQuery } from '../hooks/useMediaQuery.js' import { fetchChangelogs, fetchVersions, fetchWhatsNew } from '../services/DataFetcher.js' +import { Store } from '../Store.js' +import { shuffle } from '../Utils.js' const MIN_FAVORITES = 2 const MAX_FAVORITES = 5 @@ -27,20 +27,20 @@ export function Home({}: Props) { {smallScreen ? /* mobile */ <> + - : /* desktop */ <>
-
{!smallScreen &&
+
} @@ -85,10 +85,17 @@ function FavoriteGenerators() { } -function Guides() { - const { locale } = useLocale() - - return +function Spyglass() { + return +
+ Spyglass Logo +

+ Datapack Helper Plus + {Octicon.arrow_right} +

+
+

VSCode extension with heavy language features, updated to Minecraft 1.21

+
} function Tools() {