Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

temp logo stuff (#25)

PickleNik28b20ec83d8a
diff --git a/public/favicon.ico b/public/favicon.ico
deleted file mode 100644
index 60c702aa..00000000
Binary files a/public/favicon.ico and /dev/null differ
diff --git a/public/favicon.svg b/public/favicon.svg
new file mode 100644
index 00000000..0d7d2b54
--- /dev/null
+++ b/public/favicon.svg
@@ -0,0 +1,27 @@
+<svg height="64" width="64"
+ viewBox="0 0 512 512"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+>
+ <g clip-path="url(#clip0_1_2)">
+ <path
+ d="M462 0H50C22.3858 0 0 22.3858 0 50V462C0 489.614 22.3858 512 50 512H462C489.614 512 512 489.614 512 462V50C512 22.3858 489.614 0 462 0Z"
+ fill="#6366f1"
+ />
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M239.78 284.082H304V243H125V284.082H188.906V467H239.78V284.082Z"
+ fill="white"
+ />
+ <path
+ d="M303.13 466.986V242.986H349.72V335.818H418.427V242.986H465.13V466.986H418.427V373.827H349.72V466.986H303.13Z"
+ fill="white"
+ />
+ </g>
+ <defs>
+ <clipPath id="clip0_1_2">
+ <rect width="512" height="512" fill="white" />
+ </clipPath>
+ </defs>
+</svg>
\ No newline at end of file
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 6c73bd4f..fa89cf18 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -15,7 +15,14 @@ export const metadata = {
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html suppressHydrationWarning>
- <head />
+ <head>
+ <title>Type Hero</title>
+ <meta
+ name="description"
+ content="Level up your typescript skills with interactive exercises"
+ />
+ <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
+ </head>
<body className={`${inter.className} flex flex-col`}>
<Providers>
<Navigation />
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 782d932a..f54d0618 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -13,7 +13,7 @@ export default async function Index() {
name="description"
content="Level up your typescript skills with interactive exercises"
/>
- <link rel="icon" href="/favicon.ico" />
+ <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
</Head>
<div className="flex flex-col items-center justify-center gap-4">
<p className="text-center text-2xl text-white">
diff --git a/src/components/explore/index.tsx b/src/components/explore/index.tsx
index 83126535..f864faae 100644
--- a/src/components/explore/index.tsx
+++ b/src/components/explore/index.tsx
@@ -8,7 +8,9 @@ export function Explore() {
return (
<div className="flex h-full flex-col">
<section className="mb-8 flex max-w-[69ch] flex-col items-start gap-2 pt-4 md:pt-8">
- <TypographyH1 className="bg-clip-text text-transparent bg-gradient-to-r from-pink-500 to-indigo-500 dark:from-pink-400 dark:to-indigo-400">Explore</TypographyH1>
+ <TypographyH1 className="bg-gradient-to-r from-indigo-500 to-pink-500 bg-clip-text text-transparent dark:to-pink-400">
+ Explore
+ </TypographyH1>
<TypographyP>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
diff --git a/src/components/ui/navigation.tsx b/src/components/ui/navigation.tsx
index 95574b03..f3a2bdd3 100644
--- a/src/components/ui/navigation.tsx
+++ b/src/components/ui/navigation.tsx
@@ -31,16 +31,34 @@ export function Navigation() {
<div className="flex">
<a className="mr-6 flex items-center space-x-2" href="/">
<svg
- viewBox="0 0 24 24"
- fill="currentColor"
- stroke="currentColor"
- strokeWidth="2"
- strokeLinecap="round"
- strokeLinejoin="round"
- className="h-6 w-6"
+ className="h-6 w-6 rounded-md"
+ viewBox="0 0 512 512"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
>
- <circle cx="12" cy="12" r="10"></circle>
+ <g clip-path="url(#clip0_1_2)">
+ <path
+ d="M462 0H50C22.3858 0 0 22.3858 0 50V462C0 489.614 22.3858 512 50 512H462C489.614 512 512 489.614 512 462V50C512 22.3858 489.614 0 462 0Z"
+ fill="#6366f1"
+ />
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M239.78 284.082H304V243H125V284.082H188.906V467H239.78V284.082Z"
+ fill="white"
+ />
+ <path
+ d="M303.13 466.986V242.986H349.72V335.818H418.427V242.986H465.13V466.986H418.427V373.827H349.72V466.986H303.13Z"
+ fill="white"
+ />
+ </g>
+ <defs>
+ <clipPath id="clip0_1_2">
+ <rect width="512" height="512" fill="white" />
+ </clipPath>
+ </defs>
</svg>
+
<span className="hidden font-bold sm:inline-block">type/hero</span>
</a>
<NavigationMenu>