-
Notifications
You must be signed in to change notification settings - Fork 1
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
4 changed files
with
232 additions
and
232 deletions.
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 |
---|---|---|
@@ -1,68 +1,68 @@ | ||
import './globals.css'; | ||
import type { Metadata } from 'next'; | ||
import { montserrat } from './font'; | ||
import ClientProviders from '@/components/layouts/theme/ThemeProvider'; | ||
import Footer from '@/components/layouts/Footer'; | ||
import Navbar from '@/components/layouts/Navbar'; | ||
import "./globals.css"; | ||
import type { Metadata } from "next"; | ||
import { montserrat } from "./font"; | ||
import ClientProviders from "@/components/layouts/theme/ThemeProvider"; | ||
import Footer from "@/components/layouts/Footer"; | ||
import Navbar from "@/components/layouts/Navbar"; | ||
|
||
export const metadata: Metadata = { | ||
title: 'BrainDAO - Building a more intelligent future through the IQ token.', | ||
description: | ||
'Join our mission to expand the scope of human knowledge with BrainDAO, the governing DAO powering the IQ ecosystem.', | ||
viewport: '', | ||
openGraph: { | ||
title: | ||
'BrainDAO - Building a more intelligent future through the IQ token.', | ||
url: 'https://braindao.org', | ||
type: 'website', | ||
description: | ||
'Join our mission to expand the scope of human knowledge with BrainDAO, the governing DAO powering the IQ ecosystem.', | ||
images: [ | ||
{ | ||
url: 'https://braindao.org/images/og-image.png', | ||
alt: 'BrainDAO - Building a more intelligent future through the IQ token.', | ||
}, | ||
], | ||
}, | ||
twitter: { | ||
card: 'summary_large_image', | ||
title: | ||
'BrainDAO - Building a more intelligent future through the IQ token.', | ||
description: | ||
'Join our mission to expand the scope of human knowledge with BrainDAO, the governing DAO powering the IQ ecosystem.', | ||
images: ['https://braindao.org/images/og-image.png'], | ||
site: '@Everipedia', | ||
creator: '@Everipedia', | ||
}, | ||
title: "BrainDAO - Building a more intelligent future through the IQ token.", | ||
description: | ||
"Join our mission to expand the scope of human knowledge with BrainDAO, the governing DAO powering the IQ ecosystem.", | ||
viewport: "", | ||
openGraph: { | ||
title: | ||
"BrainDAO - Building a more intelligent future through the IQ token.", | ||
url: "https://braindao.org", | ||
type: "website", | ||
description: | ||
"Join our mission to expand the scope of human knowledge with BrainDAO, the governing DAO powering the IQ ecosystem.", | ||
images: [ | ||
{ | ||
url: "https://braindao.org/images/og-image.png", | ||
alt: "BrainDAO - Building a more intelligent future through the IQ token.", | ||
}, | ||
], | ||
}, | ||
twitter: { | ||
card: "summary_large_image", | ||
title: | ||
"BrainDAO - Building a more intelligent future through the IQ token.", | ||
description: | ||
"Join our mission to expand the scope of human knowledge with BrainDAO, the governing DAO powering the IQ ecosystem.", | ||
images: ["https://braindao.org/images/og-image.png"], | ||
site: "@Everipedia", | ||
creator: "@Everipedia", | ||
}, | ||
}; | ||
|
||
export default function RootLayout({ | ||
children, | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
children: React.ReactNode; | ||
}) { | ||
return ( | ||
<html lang='en' className={montserrat.className}> | ||
<head> | ||
<link rel='canonical' /> | ||
<meta name='viewport' content='width=device-width, initial-scale=1.0' /> | ||
<link rel='icon' href='/favicon.ico' type='image/x-icon' /> | ||
<link rel='preconnect' href='https://fonts.googleapis.com' /> | ||
<link | ||
rel='preconnect' | ||
href='https://fonts.gstatic.com' | ||
crossOrigin='' | ||
/> | ||
</head> | ||
<body className=''> | ||
<ClientProviders> | ||
<div className='overflow-x-hidden'> | ||
<Navbar /> | ||
{children} | ||
<Footer /> | ||
</div> | ||
</ClientProviders> | ||
</body> | ||
</html> | ||
); | ||
return ( | ||
<html lang="en" className={montserrat.className}> | ||
<head> | ||
<link rel="canonical" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="icon" href="/favicon.ico" type="image/x-icon" /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link | ||
rel="preconnect" | ||
href="https://fonts.gstatic.com" | ||
crossOrigin="" | ||
/> | ||
</head> | ||
<body className=""> | ||
<ClientProviders> | ||
<div className="overflow-x-hidden"> | ||
<Navbar /> | ||
{children} | ||
<Footer /> | ||
</div> | ||
</ClientProviders> | ||
</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 |
---|---|---|
@@ -1,45 +1,45 @@ | ||
import { space_grotesk } from '@/app/font'; | ||
import React from 'react'; | ||
import { RiArrowDownDoubleLine } from 'react-icons/ri'; | ||
import Navbar from './Navbar'; | ||
import InViewAnimateBottom from '../transitions/InViewAnimateBottom'; | ||
import { space_grotesk } from "@/app/font"; | ||
import React from "react"; | ||
import { RiArrowDownDoubleLine } from "react-icons/ri"; | ||
import Navbar from "./Navbar"; | ||
import InViewAnimateBottom from "../transitions/InViewAnimateBottom"; | ||
|
||
const Hero = () => { | ||
return ( | ||
<div> | ||
<div className='relative flex justify-center items-center text-whiteAlpha-900 bg-black xl:pt-11 xl:pb-24 h-[calc(40vh-65px)] md:h-[calc(60vh-65px)] lg:h-[calc(80vh-65px)]'> | ||
<video className='w-full h-full object-cover' autoPlay muted loop> | ||
<source src='/hero.mp4' type='video/mp4' /> | ||
</video> | ||
<div className='absolute bottom-0 hidden xl:block w-full h-[180px] z-10 bg-video-gradient bg-no-repeat' /> | ||
<div className='absolute top-0 hidden xl:block w-full h-[100px] z-10 bg-video-gradient-top bg-no-repeat' /> | ||
<div className='absolute bg-black/60 flex justify-center w-full h-[calc(40vh-65px)] md:h-[calc(60vh-65px)] lg:h-[calc(80vh-65px)]'> | ||
<div className='max-w-[1536px] mx-auto'> | ||
<div className='flex flex-col items-center w-full justify-center relative overflow-y-hidden h-full'> | ||
<div className='flex text-center md:text-left items-center md:items-start flex-col justify-start mx-auto gap-1 sm:gap-5 w-full px-4 sm:px-0 max-w-6xl'> | ||
<InViewAnimateBottom> | ||
<h1 | ||
className={`text-2xl sm:text-4xl md:text-5xl animate-fade-in xl:text-[60px] 2xl:text-[70px] !leading-tight text-center font-bold ${space_grotesk.className}`} | ||
> | ||
Building a more intelligent future through the IQ token. | ||
</h1> | ||
</InViewAnimateBottom> | ||
<InViewAnimateBottom className='mx-auto'> | ||
<p className='text-sm sm:text-lg max-w-[513px] lg:max-w-2xl text-center mx-auto lg:text-xl'> | ||
Join our mission to expand the scope of human knowledge with | ||
BrainDAO, the governing DAO powering the IQ ecosystem. | ||
</p> | ||
</InViewAnimateBottom> | ||
<a href={'#iq-token'} className='mt-4 mx-auto animate-bounce'> | ||
<RiArrowDownDoubleLine size={24} /> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
return ( | ||
<div> | ||
<div className="relative flex justify-center items-center text-whiteAlpha-900 bg-black xl:pt-11 xl:pb-24 h-[calc(40vh-65px)] md:h-[calc(60vh-65px)] lg:h-[calc(80vh-65px)]"> | ||
<video className="w-full h-full object-cover" autoPlay muted loop> | ||
<source src="/hero.mp4" type="video/mp4" /> | ||
</video> | ||
<div className="absolute bottom-0 hidden xl:block w-full h-[180px] z-10 bg-video-gradient bg-no-repeat" /> | ||
<div className="absolute top-0 hidden xl:block w-full h-[100px] z-10 bg-video-gradient-top bg-no-repeat" /> | ||
<div className="absolute bg-black/60 flex justify-center w-full h-[calc(40vh-65px)] md:h-[calc(60vh-65px)] lg:h-[calc(80vh-65px)]"> | ||
<div className="max-w-[1536px] mx-auto"> | ||
<div className="flex flex-col items-center w-full justify-center relative overflow-y-hidden h-full"> | ||
<div className="flex text-center md:text-left items-center md:items-start flex-col justify-start mx-auto gap-1 sm:gap-5 w-full px-4 sm:px-0 max-w-6xl"> | ||
<InViewAnimateBottom> | ||
<h1 | ||
className={`text-2xl sm:text-4xl md:text-5xl animate-fade-in xl:text-[60px] 2xl:text-[70px] !leading-tight text-center font-bold ${space_grotesk.className}`} | ||
> | ||
Building a more intelligent future through the IQ token. | ||
</h1> | ||
</InViewAnimateBottom> | ||
<InViewAnimateBottom className="mx-auto"> | ||
<p className="text-sm sm:text-lg max-w-[513px] lg:max-w-2xl text-center mx-auto lg:text-xl"> | ||
Join our mission to expand the scope of human knowledge with | ||
BrainDAO, the governing DAO powering the IQ ecosystem. | ||
</p> | ||
</InViewAnimateBottom> | ||
<a href={"#iq-token"} className="mt-4 mx-auto animate-bounce"> | ||
<RiArrowDownDoubleLine size={24} /> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Hero; |
Oops, something went wrong.