Agent skills
Prettier eslint shopify
This commit is contained in:
+72
-47
@@ -1,80 +1,105 @@
|
||||
import { createRootRoute, HeadContent, Outlet, Scripts } from '@tanstack/react-router'
|
||||
import './globals.css'
|
||||
import Providers from './-providers'
|
||||
import {
|
||||
createRootRoute,
|
||||
HeadContent,
|
||||
Outlet,
|
||||
Scripts,
|
||||
} from "@tanstack/react-router";
|
||||
import "./globals.css";
|
||||
import Providers from "./-providers";
|
||||
import { getAnnouncement } from "@/lib/content";
|
||||
|
||||
export const Route = createRootRoute({
|
||||
loader: async () => ({ announcement: await getAnnouncement() }),
|
||||
head: () => ({
|
||||
meta: [
|
||||
{ charSet: 'utf-8' },
|
||||
{ charSet: "utf-8" },
|
||||
{
|
||||
name: 'viewport',
|
||||
content: 'width=device-width, initial-scale=1, maximum-scale=5',
|
||||
name: "viewport",
|
||||
content: "width=device-width, initial-scale=1, maximum-scale=5",
|
||||
},
|
||||
{
|
||||
title:
|
||||
"Mozimo - India's Premier European Style Bean to Bar Chocolate Experience",
|
||||
},
|
||||
{
|
||||
name: 'description',
|
||||
name: "description",
|
||||
content:
|
||||
"Mozimo's journey is a passionate pursuit of crafting exceptional chocolate that celebrates the origin of each cocoa bean. Experience the epitome of indulgence with our perfectly tempered chocolate.",
|
||||
},
|
||||
{
|
||||
name: 'keywords',
|
||||
name: "keywords",
|
||||
content:
|
||||
'chocolate, bean to bar, artisanal chocolate, premium chocolate, Indian chocolate, European style chocolate, cocoa beans, chocolate tempering',
|
||||
"chocolate, bean to bar, artisanal chocolate, premium chocolate, Indian chocolate, European style chocolate, cocoa beans, chocolate tempering",
|
||||
},
|
||||
{ name: 'author', content: 'Mozimo Chocolate' },
|
||||
{ name: 'creator', content: 'Mozimo Chocolate' },
|
||||
{ name: 'publisher', content: 'Mozimo Chocolate' },
|
||||
{ name: 'format-detection', content: 'email=no,address=no,telephone=no' },
|
||||
{ name: 'theme-color', content: '#342314' },
|
||||
{ property: 'og:title', content: 'Mozimo - Premium Artisanal Chocolate' },
|
||||
{ name: "author", content: "Mozimo Chocolate" },
|
||||
{ name: "creator", content: "Mozimo Chocolate" },
|
||||
{ name: "publisher", content: "Mozimo Chocolate" },
|
||||
{ name: "format-detection", content: "email=no,address=no,telephone=no" },
|
||||
{ name: "theme-color", content: "#342314" },
|
||||
{ property: "og:title", content: "Mozimo - Premium Artisanal Chocolate" },
|
||||
{
|
||||
property: 'og:description',
|
||||
content: "India's Premier European Style Bean to Bar Chocolate Experience",
|
||||
property: "og:description",
|
||||
content:
|
||||
"India's Premier European Style Bean to Bar Chocolate Experience",
|
||||
},
|
||||
{ property: 'og:url', content: 'https://mozimo.in' },
|
||||
{ property: 'og:site_name', content: 'Mozimo Chocolate' },
|
||||
{ property: 'og:locale', content: 'en_US' },
|
||||
{ property: 'og:type', content: 'website' },
|
||||
{ property: 'og:image', content: 'https://mozimo.in/og-image.jpg' },
|
||||
{ property: 'og:image:width', content: '1200' },
|
||||
{ property: 'og:image:height', content: '630' },
|
||||
{ property: "og:url", content: "https://mozimo.in" },
|
||||
{ property: "og:site_name", content: "Mozimo Chocolate" },
|
||||
{ property: "og:locale", content: "en_US" },
|
||||
{ property: "og:type", content: "website" },
|
||||
{ property: "og:image", content: "https://mozimo.in/og-image.jpg" },
|
||||
{ property: "og:image:width", content: "1200" },
|
||||
{ property: "og:image:height", content: "630" },
|
||||
{
|
||||
property: 'og:image:alt',
|
||||
content: 'Mozimo Chocolate - Premium Artisanal Chocolate',
|
||||
property: "og:image:alt",
|
||||
content: "Mozimo Chocolate - Premium Artisanal Chocolate",
|
||||
},
|
||||
{ name: 'twitter:card', content: 'summary_large_image' },
|
||||
{ name: 'twitter:title', content: 'Mozimo - Premium Artisanal Chocolate' },
|
||||
{ name: "twitter:card", content: "summary_large_image" },
|
||||
{
|
||||
name: 'twitter:description',
|
||||
content: "India's Premier European Style Bean to Bar Chocolate Experience",
|
||||
name: "twitter:title",
|
||||
content: "Mozimo - Premium Artisanal Chocolate",
|
||||
},
|
||||
{
|
||||
name: 'twitter:image',
|
||||
content: 'https://mozimo.in/og-image.jpg',
|
||||
},
|
||||
{ name: 'robots', content: 'index, follow' },
|
||||
{
|
||||
name: 'googlebot',
|
||||
content: 'index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1',
|
||||
name: "twitter:description",
|
||||
content:
|
||||
"India's Premier European Style Bean to Bar Chocolate Experience",
|
||||
},
|
||||
{
|
||||
name: 'google-site-verification',
|
||||
content: 'vV-fEo3yXs8m0NUhB6JWhYI4pSH0uYVkbT8pgUWuU1I',
|
||||
name: "twitter:image",
|
||||
content: "https://mozimo.in/og-image.jpg",
|
||||
},
|
||||
{ name: "robots", content: "index, follow" },
|
||||
{
|
||||
name: "googlebot",
|
||||
content:
|
||||
"index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1",
|
||||
},
|
||||
{
|
||||
name: "google-site-verification",
|
||||
content: "vV-fEo3yXs8m0NUhB6JWhYI4pSH0uYVkbT8pgUWuU1I",
|
||||
},
|
||||
],
|
||||
links: [
|
||||
{ rel: 'icon', href: '/favicon.ico' },
|
||||
{ rel: 'preload', as: 'font', type: 'font/woff2', href: '/fonts/fraunces-latin-normal.woff2', crossOrigin: 'anonymous' as const },
|
||||
{ rel: 'preload', as: 'font', type: 'font/woff2', href: '/fonts/fraunces-latin-italic.woff2', crossOrigin: 'anonymous' as const },
|
||||
{ rel: 'preload', as: 'image', href: '/banners/banner-1.jpg' },
|
||||
{ rel: 'preload', as: 'image', href: '/logo/logo-white.svg' },
|
||||
{ rel: "icon", href: "/favicon.ico" },
|
||||
{
|
||||
rel: "preload",
|
||||
as: "font",
|
||||
type: "font/woff2",
|
||||
href: "/fonts/fraunces-latin-normal.woff2",
|
||||
crossOrigin: "anonymous" as const,
|
||||
},
|
||||
{
|
||||
rel: "preload",
|
||||
as: "font",
|
||||
type: "font/woff2",
|
||||
href: "/fonts/fraunces-latin-italic.woff2",
|
||||
crossOrigin: "anonymous" as const,
|
||||
},
|
||||
{ rel: "preload", as: "image", href: "/banners/banner-1.jpg" },
|
||||
{ rel: "preload", as: "image", href: "/logo/logo-white.svg" },
|
||||
],
|
||||
}),
|
||||
component: RootDocument,
|
||||
})
|
||||
});
|
||||
|
||||
function RootDocument() {
|
||||
return (
|
||||
@@ -89,5 +114,5 @@ function RootDocument() {
|
||||
<Scripts />
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user