Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified apps/web/app/favicon.ico
Binary file not shown.
9 changes: 8 additions & 1 deletion apps/web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,16 @@ export const metadata: Metadata = {
description: "Find and share the best coupon codes and deals, updated daily by the community.",
images: [`${BASE}/opengraph-image`],
},
// The mark as outlines (favicon.svg), PNGs for browsers that want them, and
// the iOS home-screen icon. app/favicon.ico is the Next convention for /favicon.ico.
icons: {
icon: "/favicon.svg",
icon: [
{ url: "/favicon.svg", type: "image/svg+xml" },
{ url: "/favicon-32.png", sizes: "32x32", type: "image/png" },
{ url: "/favicon-16.png", sizes: "16x16", type: "image/png" },
],
shortcut: "/favicon.svg",
apple: [{ url: "/apple-touch-icon.png", sizes: "180x180", type: "image/png" }],
},
robots: { index: true, follow: true },
};
Expand Down
9 changes: 7 additions & 2 deletions apps/web/app/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ export default function manifest(): MetadataRoute.Manifest {
display: 'standalone',
background_color: '#f9fafb',
theme_color: '#f97316',
// Generated with cli-tools `favicon` from public/favicon.svg. The maskable
// pair is a separate full-bleed artwork with the mark inside the centre 80%,
// so an Android circle mask never clips it.
icons: [
{ src: '/icon-192.png', sizes: '192x192', type: 'image/png' },
{ src: '/icon-512.png', sizes: '512x512', type: 'image/png' },
{ src: '/icon-192.png', sizes: '192x192', type: 'image/png', purpose: 'any' },
{ src: '/icon-512.png', sizes: '512x512', type: 'image/png', purpose: 'any' },
{ src: '/maskable-192.png', sizes: '192x192', type: 'image/png', purpose: 'maskable' },
{ src: '/maskable-512.png', sizes: '512x512', type: 'image/png', purpose: 'maskable' },
],
};
}
5 changes: 3 additions & 2 deletions apps/web/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Image from 'next/image';
import Link from 'next/link';

export default function Footer() {
Expand All @@ -6,8 +7,8 @@ export default function Footer() {
<div className="max-w-7xl mx-auto px-4 py-14">
<div className="grid grid-cols-2 md:grid-cols-4 gap-10 mb-12">
<div className="col-span-2 md:col-span-1">
<Link href="/" className="text-xl font-black text-orange-500 tracking-tight">
c0upons
<Link href="/" className="inline-block">
<Image src="/logo.svg" alt="c0upons" width={104} height={22} unoptimized className="h-[22px] w-auto" />
</Link>
<p className="mt-3 text-sm leading-relaxed">
Community-powered coupon codes and deals. Save more with codes shared by real people.
Expand Down
3 changes: 2 additions & 1 deletion apps/web/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use client';

import Image from 'next/image';
import Link from 'next/link';
import { useState } from 'react';
import SearchBar from './SearchBar';
Expand All @@ -12,7 +13,7 @@ export default function Header() {
<header className="bg-white border-b border-gray-200 sticky top-0 z-50 shadow-sm">
<div className="max-w-7xl mx-auto px-4 h-14 flex items-center gap-4">
<Link href="/" className="flex items-center gap-2 shrink-0">
<span className="text-xl font-black text-orange-500 tracking-tight">c0upons</span>
<Image src="/logo.svg" alt="c0upons" width={104} height={22} priority unoptimized className="h-[22px] w-auto" />
</Link>

<div className="flex-1 hidden sm:block">
Expand Down
Binary file added apps/web/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 apps/web/public/favicon-16.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 apps/web/public/favicon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions apps/web/public/favicon.svg
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 apps/web/public/icon-192.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 apps/web/public/icon-512.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 apps/web/public/maskable-192.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 apps/web/public/maskable-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading