87 lines
2.9 KiB
TypeScript
87 lines
2.9 KiB
TypeScript
|
// import BlogMeta from 'components/BlogMeta'
|
|||
|
import Footer from 'components/Footer/Footer'
|
|||
|
import IndexPageHead from 'components/IndexPageHead'
|
|||
|
// import Layout from 'components/Layout'
|
|||
|
// import MetaDescription from 'components/MetaDescription'
|
|||
|
import Navbar from 'components/Navbar/Navbar'
|
|||
|
|
|||
|
import CulturalSection from 'components/Sections/CulturalSection'
|
|||
|
import Functions from 'components/Sections/FunctionsSection'
|
|||
|
import HeroHomepage from 'components/Sections/HeroHomepageSection'
|
|||
|
import HomeIntro from 'components/Sections/HomeIntroSection'
|
|||
|
import WhatsNewSection from 'components/Sections/WhatsNewSection'
|
|||
|
|
|||
|
import type { Post, Settings } from 'lib/sanity.queries'
|
|||
|
import Head from 'next/head'
|
|||
|
import { NextSeo } from 'next-seo'
|
|||
|
import TheStory from './Sections/TheStorySection'
|
|||
|
|
|||
|
//import { QueryClient, QueryClientProvider, useQuery } from '@tanstack/react-query'
|
|||
|
|
|||
|
export interface IndexPageProps {
|
|||
|
preview?: boolean
|
|||
|
loading?: boolean
|
|||
|
posts: Post[]
|
|||
|
settings: Settings
|
|||
|
}
|
|||
|
|
|||
|
export default function IndexPage(props: IndexPageProps) {
|
|||
|
const { preview, loading, posts, settings } = props
|
|||
|
|
|||
|
// const { title = demo.title } = settings || {}
|
|||
|
//const queryClient = new QueryClient()
|
|||
|
|
|||
|
return (
|
|||
|
<>
|
|||
|
<NextSeo
|
|||
|
title="Welcome to GWK Cultural Park"
|
|||
|
description="The Ultimate Destination for Those Seeking an Immersive Cultural Experience in Bali!"
|
|||
|
additionalLinkTags={[
|
|||
|
{
|
|||
|
rel: 'icon',
|
|||
|
href: '../favicon/favicon.ico',
|
|||
|
},
|
|||
|
]}
|
|||
|
openGraph={{
|
|||
|
type: 'website',
|
|||
|
url: 'https://www.gwkbali.com',
|
|||
|
title: 'Welcome to GWK Cultural Park',
|
|||
|
description:
|
|||
|
'The Ultimate Destination for Those Seeking an Immersive Cultural Experience in Bali!',
|
|||
|
images: [
|
|||
|
{
|
|||
|
url: 'https://cdn.sanity.io/images/helyis1v/production/8012e4065dff5de751920ed43307eb4245ed76d4-1024x683.jpg',
|
|||
|
width: 800,
|
|||
|
height: 600,
|
|||
|
alt: 'The Ultimate Destination for Those Seeking an Immersive Cultural Experience in Bali!',
|
|||
|
},
|
|||
|
{
|
|||
|
url: 'https://cdn.sanity.io/images/helyis1v/production/8012e4065dff5de751920ed43307eb4245ed76d4-1024x683.jpg',
|
|||
|
width: 800,
|
|||
|
height: 600,
|
|||
|
alt: 'The Ultimate Destination for Those Seeking an Immersive Cultural Experience in Bali!',
|
|||
|
},
|
|||
|
],
|
|||
|
}}
|
|||
|
/>
|
|||
|
<Head>
|
|||
|
<IndexPageHead settings={settings} />
|
|||
|
</Head>
|
|||
|
<Navbar />
|
|||
|
<HeroHomepage />
|
|||
|
{/* Homepage video 🡪 company profile */}
|
|||
|
<HomeIntro />
|
|||
|
{/* What’s in GWK This Month [dynamic content linked from blog] */}
|
|||
|
<WhatsNewSection />
|
|||
|
{/* // SECTION: THE STORY */}
|
|||
|
<TheStory />
|
|||
|
{/* CulturalSection */}
|
|||
|
<CulturalSection />
|
|||
|
{/* // SECTION: FUNCTIONS */}
|
|||
|
<Functions />
|
|||
|
{/* <FooterTemp /> */}
|
|||
|
<Footer />
|
|||
|
</>
|
|||
|
)
|
|||
|
}
|