Skip to content

Commit 482856a

Browse files
committed
add ContactUs component to the main page
1 parent ad23c13 commit 482856a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/ContactUs/ContactUs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function ContactUs() {
2020
if (!screenWidth) return null;
2121

2222
return (
23-
<section id="contact-us">
23+
<section id="contact-us" className="min-h-screen bg-white pb-20">
2424
<h2 className="font-montserrat text-base uppercase w-fit mx-auto py-5">
2525
Contact us
2626
</h2>

src/pages/index.page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Image from 'next/image';
33
import logo from '../../public/reactdevske.svg';
44
import Events from '../components/Events/Events';
55
import AboutUs from '../components/about-us/about-us';
6+
import ContactUs from '../components/ContactUs';
67

78
export default function Home() {
89
return (
@@ -54,6 +55,7 @@ export default function Home() {
5455
<AboutUs />
5556
</div>
5657
<Events />
58+
<ContactUs />
5759
</main>
5860
</div>
5961
);

0 commit comments

Comments
 (0)