Skip to content

Commit

Permalink
Add icons and update logo (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
byronwall committed Nov 15, 2023
1 parent 36a02c8 commit 347c0db
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 13 deletions.
Binary file added public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
6 changes: 0 additions & 6 deletions public/favicon.svg

This file was deleted.

19 changes: 19 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "fawnix.rocks",
"short_name": "fawnix",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "browser"
}
5 changes: 3 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ import { NextAuthProvider } from "~/lib/auth/authProvider";
import { GlobalNotifications } from "~/components/awards/GlobalNotifications";

export const metadata: Metadata = {
title: "Kids Reading",
title: "fawnix.rocks",
description: "A site to help practice reading with a kid.",
icons: {
icon: "/favicon.svg",
icon: "/favicon.ico",
shortcut: "/favicon-16x16.png",
apple: "/apple-touch-icon.png",
},
manifest: "/site.webmanifest",
};

export default async function RootLayout({
Expand Down
8 changes: 4 additions & 4 deletions src/components/common/icons.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Image from "next/image";
import {
AlertTriangle,
ArrowRight,
Expand All @@ -9,7 +10,6 @@ import {
File,
FileText,
HelpCircle,
Image,
Laptop,
Loader2,
type LucideProps,
Expand All @@ -24,7 +24,6 @@ import {
Twitter,
User,
X,
BookOpen as Book,
ChevronDown,
ZoomIn,
ZoomOut,
Expand Down Expand Up @@ -61,15 +60,16 @@ export const Icons = {
userPlus: UserPlus,
thumbsUp: ThumbsUp,
thumbsDown: ThumbsDown,
logo: Book,
logo: () => (
<Image src="/favicon-32x32.png" alt="fawnix.rocks" width={32} height={32} />
),
close: X,
spinner: Loader2,
chevronLeft: ChevronLeft,
chevronRight: ChevronRight,
trash: Trash,
post: FileText,
page: File,
media: Image,
settings: Settings,
billing: CreditCard,
ellipsis: MoreVertical,
Expand Down
2 changes: 1 addition & 1 deletion src/config/site.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { type SiteConfig } from "~/types";

export const siteConfig: SiteConfig = {
name: "Kid's Reading",
name: "fawnix.rocks",
description:
"An open source application built using the new router, server components and everything new in Next.js 13.",
url: "https://tx.shadcn.com",
Expand Down

0 comments on commit 347c0db

Please sign in to comment.