0% found this document useful (0 votes)
5 views

Projects

The document contains a React component named 'Projects' that renders a header and navigation links for 'Featured Projects' and 'New Projects'. It uses 'Link' from 'react-router-dom' for navigation and includes an 'Outlet' for rendering nested routes. The component is exported for use in other parts of the application.

Uploaded by

KundiLokesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Projects

The document contains a React component named 'Projects' that renders a header and navigation links for 'Featured Projects' and 'New Projects'. It uses 'Link' from 'react-router-dom' for navigation and includes an 'Outlet' for rendering nested routes. The component is exported for use in other parts of the application.

Uploaded by

KundiLokesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

import React from "react";

import { Link, Outlet } from "react-router-dom";

function Projects() {
return (
<div>
<h1>Projects</h1>
<nav>
<Link to="/projects/featured">Featured Projects</Link>
<Link to="/projects/new">New Projects</Link>
</nav>
<Outlet />
</div>
);
}

export default Projects;

You might also like