Skip to content

Commit

Permalink
feat: Basic Homepage design
Browse files Browse the repository at this point in the history
  • Loading branch information
ameeshagireesh committed Oct 19, 2022
1 parent e00311c commit 31afe4e
Show file tree
Hide file tree
Showing 9 changed files with 93 additions and 5 deletions.
9 changes: 9 additions & 0 deletions chota-vyapar/components/Cart.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

const Cart = () => {
return (
<div> Cart</div>
)
}

export default Cart
9 changes: 9 additions & 0 deletions chota-vyapar/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

const Footer = () => {
return (
<div> Footer</div>
)
}

export default Footer
9 changes: 9 additions & 0 deletions chota-vyapar/components/FooterBanner.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

const FooterBanner = () => {
return (
<div> FooterBanner</div>
)
}

export default FooterBanner
27 changes: 27 additions & 0 deletions chota-vyapar/components/HeroBanner.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import React from 'react'
import Link from 'next/link'

const HeroBanner = () => {
return (
<div className='hero-banner-container'>
<div>
<p className="beats-solo"> SMALL TEXT</p>
<h3> MID TEXT</h3>
<img src="" alt ="blouse" className="hero-banner-image"></img>

<div>
<Link href="/product/ID">
<button type="button">BUTTON TEXT</button>
</Link>
</div>

<div className='desc'>
<h5> Description</h5>
<p>DESCRIPTION</p>
</div>
</div>
</div>
)
}

export default HeroBanner
9 changes: 9 additions & 0 deletions chota-vyapar/components/Layout.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

const Layout = () => {
return (
<div> Layout</div>
)
}

export default Layout
9 changes: 9 additions & 0 deletions chota-vyapar/components/Navbar.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

const Navbar = () => {
return (
<div> Navbar</div>
)
}

export default Navbar
9 changes: 9 additions & 0 deletions chota-vyapar/components/Product.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

const Product = () => {
return (
<div> Product</div>
)
}

export default Product
7 changes: 7 additions & 0 deletions chota-vyapar/components/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export {default as Footer} from './Footer'
export {default as Cart} from './Cart'
export {default as FooterBanner} from './FooterBanner'
export {default as Layout} from './Layout'
export {default as Navbar} from './Navbar'
export {default as Product} from './Product'
export {default as HeroBanner} from './HeroBanner'
10 changes: 5 additions & 5 deletions chota-vyapar/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import React from 'react'

import {Product, FooterBanner, HeroBanner} from '../components'
const Home = () => {
return (
<>
HeroBanner
<div>
<HeroBanner />
<div className='products-heading'>
<h2>Best Selling Products</h2>
<p> Variety of clothes across all the aesthetics </p>
</div>

<div>
<div className='products-container'>
{['Product 1', 'Product 2'].map((product) => product )}
</div>

Footer
<FooterBanner />
</>
)
}
Expand Down

0 comments on commit 31afe4e

Please sign in to comment.