From 54b2246631102ee5e5b2108444be4941bf043184 Mon Sep 17 00:00:00 2001 From: Keith Vaughan Date: Fri, 3 Jan 2025 15:46:43 +0700 Subject: [PATCH] Fixes for SEO like sitemap --- public/favicon-16x16.png | Bin 0 -> 4308 bytes public/robots.txt | 12 ++--- src/app/layout.tsx | 15 ++++--- src/components/SchemaMarkup.tsx | 38 ++++++++++++++++ src/lib/seo.ts | 75 ++++++++++++++++++++++++++++++++ 5 files changed, 129 insertions(+), 11 deletions(-) create mode 100644 public/favicon-16x16.png create mode 100644 src/components/SchemaMarkup.tsx create mode 100644 src/lib/seo.ts diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 0000000000000000000000000000000000000000..0a9d45b6e98c860ef058c90f12a627ae53a5dbf0 GIT binary patch literal 4308 zcmeHKeQ*{|R?z`#QB%3DN zWZUrsik2x?4)ElziU@<^NDt65Fq}|~(&JQ=4^IzH?yj6v;gnVe0jUSJ_wM$4&Y7Fe zod0!aHoNch@q3@=_dM@2*?RY~M<*p^B#n{OB_+yF)WC6^WL=-kkoTyx=eB=S&nV z-o3Uhv88~VU%qO|LF+5qA3yN-hN-uooIB;~`j7wVm^16?gdGok_n`FiU-#fULreAu z3;$7jdfK0u86{b9TkRDz{ek9f_Sz@MPduJG`TYHrjTI}uSzfy6Y{~t1)^Y93;ls!7 zc2qTYc7E{9^J;^4!k6y#9n>8ZYhK+PtLIJ+&@=c#osQQ<=Ik`QWTGUzC+hs9oIf;QnReb6&E3 zwsZd5>m_gIYa5WRl!HlUyDbdecxv3nTb1;+o^vP8ANmb}tw=%6G@ZPY_{#4;K62u_ zI>(NbH8r`VSI3=Ow3p0&!gN6SYQ}-9Z{={NO&_|e_I-4+<@I+iO<#0tfn`5`EBLR> z`pi?&=Y?&`?6%E+e*ewS?tH>e>n?w>!hEIU+mpAqFZ#nvp}LJ{8qoca}%7+*1{USUsW0UOKa5>s}?E|oI^S;9kt@eG?=FF>W;}^5f zUUyYgypZT{AH8(?0zdY~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.txt +++ b/public/robots.txt @@ -1,9 +1,11 @@ # Allow all crawlers User-agent: * -# Exclude specific sensitive directories (if any) -Disallow: /admin/ -Disallow: /private/ +User-agent: * +Allow: / +Disallow: /api/ +Disallow: /_next/ +Disallow: /static/ -# Link to the sitemap for better indexing -Sitemap: https://cipherprojects.com/sitemap.xml +# Sitemap +Sitemap: https://cipherprojects.com/sitemap.xml \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 4be7db3..7d12644 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -4,7 +4,7 @@ import Script from 'next/script' import ClientProviders from '@/components/ClientProviders' import type { Metadata } from 'next' import './globals.css' -import CustomCursor from '@/components/CustomCursor' +import SchemaMarkup from '@/components/SchemaMarkup' const neueHaas = localFont({ src: [ @@ -89,21 +89,24 @@ export default function RootLayout({ }) { return ( + + + -