first commit
This commit is contained in:
47
src/app/layout.tsx
Normal file
47
src/app/layout.tsx
Normal file
@@ -0,0 +1,47 @@
|
||||
import localFont from "next/font/local";
|
||||
import classNames from "classnames";
|
||||
|
||||
const helveticaNeueCyrFont = localFont({
|
||||
src: '../shared/assets/fonts/HelveticaNeueCyr-Bold.ttf',
|
||||
variable: '--HelveticaNeueCyr',
|
||||
})
|
||||
|
||||
const sFProTextFont = localFont({
|
||||
src: [
|
||||
{
|
||||
path: '../shared/assets/fonts/SFProText-Bold.ttf',
|
||||
weight: '700',
|
||||
style: 'normal',
|
||||
},
|
||||
{
|
||||
path: '../shared/assets/fonts/SFProText-Semibold.ttf',
|
||||
weight: '600',
|
||||
style: 'normal',
|
||||
},
|
||||
{
|
||||
path: '../shared/assets/fonts/SFProText-Regular.ttf',
|
||||
weight: '400',
|
||||
style: 'normal',
|
||||
},
|
||||
],
|
||||
variable: '--SFProText',
|
||||
})
|
||||
|
||||
const proximaNovaFont = localFont({
|
||||
src: '../shared/assets/fonts/proximanova_extrabold.otf',
|
||||
variable: '--ProximaNova',
|
||||
})
|
||||
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en"
|
||||
className={classNames(helveticaNeueCyrFont.variable, sFProTextFont.variable, proximaNovaFont.variable)}>
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
33
src/app/page.tsx
Normal file
33
src/app/page.tsx
Normal file
@@ -0,0 +1,33 @@
|
||||
import {HeaderSection} from "@/sections/HeaderSection/HeaderSection";
|
||||
import {HeroSection} from "@/sections/HeroSection/HeroSection";
|
||||
import {WhyDencoSection} from "@/sections/WhyDencoSection/WhyDencoSection";
|
||||
import {WideChoiceSection} from "@/sections/WideChoiceSection/WideChoiceSection";
|
||||
import {FboFbsSection} from "@/sections/FboFbsSection/FboFbsSection";
|
||||
import {CooperationPlanSection} from "@/sections/CooperationPlanSection/CooperationPlanSection";
|
||||
import {DencoHelpsSection} from "@/sections/DencoHelpsSection/DencoHelpsSection";
|
||||
import {PlanDescriptionSection} from "@/sections/PlanDescriptionSection/PlanDescriptionSection";
|
||||
import {AccountSection} from "@/sections/AccountSection/AccountSection";
|
||||
import {TestimonialsSection} from "@/sections/TestimonialsSection/TestimonialsSection";
|
||||
import '@/shared/variables.css';
|
||||
import '@/shared/styles.css';
|
||||
import "slick-carousel/slick/slick.css";
|
||||
import "slick-carousel/slick/slick-theme.css";
|
||||
import {FooterSection} from "@/sections/FooterSection/FooterSection";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<HeaderSection/>
|
||||
<HeroSection/>
|
||||
<WhyDencoSection/>
|
||||
<WideChoiceSection/>
|
||||
<FboFbsSection/>
|
||||
<CooperationPlanSection/>
|
||||
<DencoHelpsSection/>
|
||||
<PlanDescriptionSection/>
|
||||
<AccountSection/>
|
||||
<TestimonialsSection/>
|
||||
<FooterSection/>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user