-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathlayout.tsx
62 lines (57 loc) · 1.96 KB
/
layout.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { Metadata } from 'next';
import React from 'react';
import MainLayout from '@/components/layouts/MainLayout';
import mainConfig from '@/configs/mainConfigs';
import TabSection from '@/views/legal/Tabsection';
export const metadata: Metadata = {
title: 'Legal Information | AirQo',
description:
'Review AirQo’s legal policies including Privacy Policy, Terms of Service, and other important legal documentation regarding the use of our air quality services.',
keywords:
'AirQo legal information, Privacy Policy, Terms of Service, legal documentation, data policy, air quality services, AirQo policies',
openGraph: {
title: 'Legal Information - AirQo',
description:
'Access AirQo’s legal documents including Privacy Policy, Terms of Service, and other important legal information for our air quality services.',
url: 'https://yourdomain.com/legal',
siteName: 'AirQo',
images: [
{
url: 'https://yourdomain.com/static/legal-og-image.jpg',
width: 1200,
height: 630,
alt: 'AirQo Legal Information - Privacy Policy, Terms of Service',
},
],
locale: 'en_US',
type: 'website',
},
twitter: {
card: 'summary_large_image',
site: '@AirQo',
title: 'AirQo Legal Information',
description:
'Read AirQo’s legal documentation including Privacy Policy, Terms of Service, and other legal guidelines for using our air quality services.',
},
robots: {
index: true,
follow: true,
},
alternates: {
canonical: 'https://yourdomain.com/legal',
},
};
type LegalPageLayoutProps = {
children: React.ReactNode;
};
const LegalPageLayout: React.FC<LegalPageLayoutProps> = ({ children }) => {
return (
<MainLayout>
<TabSection />
<main className={`${mainConfig.containerClass} legal-page-content`}>
{children}
</main>
</MainLayout>
);
};
export default LegalPageLayout;