Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
fixed conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ShantelPeters committed Dec 2, 2024
2 parents 7c3208e + 8ec80d6 commit 0c5a664
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 15 deletions.
Binary file added frontend/public/HeroBottomBg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/HeroTopBg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/Landing page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions frontend/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ export default function RootLayout({
</head>
<body
className={`${inter.className} ${poppins.variable}
${bowlby_one.variable} ${roboto.variable}
bg-secondary-light dark:bg-secondary
text-textPrimary-light dark:text-textPrimary
transition-colors duration-200`}
${bowlby_one.variable} ${roboto.variable} bg-secondary `}
>
<StarknetProvider>
<AlertProvider>
Expand Down
12 changes: 10 additions & 2 deletions frontend/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ export default function Home() {

return (
<Layout>
<HeroSection />
<ContentSection />
<main className="">
<section className="bg-mainBg bg-cover lg:pt-36 pb-5">
<header className="container mx-auto">
<HeroSection />
</header>
</section>
<main className="">
<ContentSection />
</main>
</main>
</Layout>
);
}
20 changes: 14 additions & 6 deletions frontend/src/components/ContentSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@ import ScanButton from './ScanButton';
import { poppins, roboto } from '@/app/fonts';

const ContentSection = () => (
<section className="my-[7.5rem] md:my-[6.5rem]">
<ContentHeader />
<ContentCTA />
<ContentCTAMobile />
<GuideContent />
<section className="">
<div className="bg-manufacturer-bg bg-cover bg-center py-10">
<div className="container mx-auto">
<ContentHeader />
<ContentCTA />
<ContentCTAMobile />
</div>
</div>
<div className="bg-HeroBottomBg bg-cover">
<div className="mx-auto container">
<GuideContent />
</div>
</div>
</section>
);

Expand Down Expand Up @@ -141,7 +149,7 @@ const AuthenticityParagraph = () => (
const GuideContent = () => (
<div
className={`relative flex flex-col lg:flex-row justify-center
items-center gap-6 lg:gap-32 my-28 px-8
items-center gap-6 lg:gap-32 mb-28 px-8
shadow-2xl rounded-2xl bg-[#232323] py-12
lg:shadow-none lg:rounded-none lg:bg-inherit lg:py-0`}
>
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const NavBar = (props: any) => {
return (
<nav
className={`flex items-center justify-between px-4 lg:px-20
xl:px-0 2xl:px-0 py-4 mb-12 container mx-auto font-roboto
bg-white/90 dark:bg-[#1e1e1e]/80 backdrop-blur-sm sticky top-0 z-10
lg:static lg:bg-none`}
xl:px-0 2xl:px-0 py-4 mb-4 container mx-auto font-roboto
bg-[#1e1e1e]/80 backdrop-blur-sm sticky top-0 z-10
lg:absolute lg:left-[50%] lg:right-[50%] lg:bg-transparent lg:-translate-x-[50%] lg:pt-10`}
{...props}
>
<div className="flex items-center gap-14">
Expand Down
3 changes: 3 additions & 0 deletions frontend/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const config: Config = {
theme: {
extend: {
backgroundImage: {
mainBg: "url('/HeroTopBg.png')",
HeroMidBg: "url('/manufacturer-bg.png')",
HeroBottomBg: "url('/HeroBottomBg.png')",
hero: "url('/hero-bg.png')",
producer: "url('/producer-bg.png')",
'hero-2': "url('/hero-bg-mobile.png')",
Expand Down

0 comments on commit 0c5a664

Please sign in to comment.