Skip to main content

Pages

About Page

The About page is a React functional component that renders the Header and Aboutpage components.

import React from 'react'
import Header from '../components/Header/Header'
import Aboutpage from '../components/Aboutpage/Aboutpage'


function About() {
return (
<div>
<Header />
<Aboutpage />
</div>
)
}

export default About

Contact Page

It imports two components from the '../components' folder - Contactpage and Header.

import React from 'react'
import Contactpage from '../components/Contactpage/Contactpage'
import Header from '../components/Header/Header'

function Contact() {
return (
<div>
<Header />
<Contactpage />
</div>
)
}

export default Contact

Home Page

The component imports the necessary modules from React and the application's internal components: Header and Homepage.

import React from 'react'
import Header from '../components/Header/Header'
import Homepage from '../components/Homepage/Homepage'

function Home() {
return (
<div>
<Header />
<Homepage />
</div>
)
}

export default Home