Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.jsx code:
- import {
- CustomerReviews,
- Footer,
- Hero,
- PopularProducts,
- Services,
- SpecialOffer,
- Subscribe,
- SuperQuality,
- } from "./sections";
- import Nav from "./components/Nav";
- const App = () => (
- <main className="relative">
- <Nav />
- <section className="xl:padding-1 wide:padding-r padding-b">
- <Hero />
- </section>
- <section className="padding">
- <PopularProducts />
- </section>
- <section className="padding">
- <SuperQuality />
- </section>
- <section className="padding-x py-10">
- <Services />
- </section>
- <section className="padding">
- <SpecialOffer />
- </section>
- <section className="bg-pale-blue padding">
- <CustomerReviews />
- </section>
- <section className="padding-x sm:py-32 py-16 w-full">
- <Subscribe />
- </section>
- <section className="bg-black padding-x padding-t pb-8">
- <Footer />
- </section>
- </main>
- );
- export default App;
- nav.jsx code (nav jsx is a component):
- import { hamburger } from "../assets/icons";
- import { headerLogo } from "../assets/images";
- const Nav = () => {
- return;
- <header>
- <nav>
- <a href="/">
- <img src={headerLogo} />
- </a>
- </nav>
- </header>;
- };
- export default Nav;
Advertisement
Add Comment
Please, Sign In to add comment