-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export const metadata = { | ||
title: 'AdFit Responsive', | ||
} | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<html lang="en"> | ||
<body>{children}</body> | ||
</html> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import type {ReactElement} from 'react'; | ||
import clsx from 'clsx'; | ||
import {Inter} from 'next/font/google'; | ||
|
||
import type {Locale} from '~/i18n'; | ||
import AdFitResponsive from '../[lang]/(common)/AdFitResponsive'; | ||
|
||
const inter = Inter({subsets: ['latin']}); | ||
|
||
type Props = { | ||
params: {lang: Locale}; | ||
}; | ||
|
||
export default async function Page({}: Props): Promise<ReactElement> { | ||
return ( | ||
<AdFitResponsive | ||
className={clsx('mx-6 mb-2', 'mx-0')} | ||
adfitClassName="adfit-top" | ||
units={{ | ||
mobile: 'DAN-dAqcoLWvKpYEtbtq', | ||
pc: 'DAN-SEcRVdSHkh05H0jO', | ||
}} | ||
/> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters