Used new head component

This commit is contained in:
Patrick Alvin Alcala 2025-09-01 09:32:06 +08:00
parent 9952654af1
commit 4f71a20c67

View file

@ -6,20 +6,13 @@ const websiteDescription = 'This is just a template.'
import Background from '../../fwt/components/Background/Background' import Background from '../../fwt/components/Background/Background'
import OptimizeBackground from '../../fwt/components/Optimizer/OptimizeBackground' import OptimizeBackground from '../../fwt/components/Optimizer/OptimizeBackground'
import Head from '../../fwt/components/Head/Head'
--- ---
<html lang="en"> <html lang="en">
<head> <Head title={title} name={websiteName} description={websiteDescription} />
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<meta name="name" content={websiteName} />
<meta name="description" content={websiteDescription} />
<title>{title}</title>
</head>
<body id="body"> <body id="body">
<!-- <OptimizeBackground /> -->
<Background color="#0c1b31" /> <Background color="#0c1b31" />
<slot /> <slot />