mirror of
https://github.com/acid-info/logos-ordinals-dashboard.git
synced 2025-02-28 20:50:36 +00:00
chore: make explore homepage
This commit is contained in:
parent
2ed6880a87
commit
a421c3e889
@ -1,7 +1,6 @@
|
||||
import styled from '@emotion/styled'
|
||||
import Link from 'next/link'
|
||||
import React from 'react'
|
||||
import { Navbar } from '../Navbar'
|
||||
|
||||
interface NavbarProps {}
|
||||
|
||||
@ -11,7 +10,7 @@ const Header: React.FC<NavbarProps> = () => {
|
||||
<Link href="/">
|
||||
<Logo src="/assets/logo.svg" alt="Logo" />
|
||||
</Link>
|
||||
<Navbar />
|
||||
{/* <Navbar />
|
||||
<UserActions>
|
||||
<WalletButton>
|
||||
<WalletAddress>bc1qa...vehs9</WalletAddress>
|
||||
@ -21,7 +20,7 @@ const Header: React.FC<NavbarProps> = () => {
|
||||
<PointsValue>4,278</PointsValue>
|
||||
<Icon src="/assets/star.png" alt="Points icon" />
|
||||
</PointsButton>
|
||||
</UserActions>
|
||||
</UserActions> */}
|
||||
</Container>
|
||||
)
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ interface ExploreSectionProps {}
|
||||
const ExploreSection: React.FC<ExploreSectionProps> = () => {
|
||||
return (
|
||||
<StyledExploreSection>
|
||||
<h1 className="section-title">Operators</h1>
|
||||
<h1 className="section-title">Explore Operators</h1>
|
||||
<OperatorFilter />
|
||||
<OperatorGrid />
|
||||
</StyledExploreSection>
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { BackgroundGradient } from '@/components/BackgroundGradient'
|
||||
import { Footer } from '@/components/Footer'
|
||||
import { Header } from '@/components/Header/Header'
|
||||
import { Container, Layout } from '@/components/StyledComponents'
|
||||
import React, { PropsWithChildren } from 'react'
|
||||
@ -14,7 +13,7 @@ const ExploreLayout: React.FC<ExploreLayoutProps> = (
|
||||
<Container>
|
||||
<Header />
|
||||
<main>{props.children}</main>
|
||||
<Footer />
|
||||
{/* <Footer /> */}
|
||||
</Container>
|
||||
<BackgroundGradient />
|
||||
</Layout>
|
||||
|
@ -1,16 +1,16 @@
|
||||
import { SEO } from '@/components/SEO'
|
||||
import { HomeContainer } from '@/containers/Home'
|
||||
import { HomeLayout } from '@/layouts/HomeLayout'
|
||||
import ExploreContainer from '@/containers/Explore/ExploreContainer'
|
||||
import ExploreLayout from '@/layouts/ExploreLayout/Explore.layout'
|
||||
|
||||
export default function HomePage() {
|
||||
return (
|
||||
<>
|
||||
<SEO />
|
||||
<HomeContainer />
|
||||
<ExploreContainer />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
HomePage.getLayout = function getLayout(page: React.ReactNode) {
|
||||
return <HomeLayout>{page}</HomeLayout>
|
||||
return <ExploreLayout>{page}</ExploreLayout>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user