Skip to content

Commit 4226893

Browse files
Merge pull request #2 from PyVersify/Nathan-Bransby-NMT/add-pages
Add pages for redundant links
2 parents 180645d + 77e3f92 commit 4226893

File tree

10 files changed

+117
-5
lines changed

10 files changed

+117
-5
lines changed

src/App.tsx

+15-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ import MissionStatement from './components/MissionStatement';
88
import FAQ from './components/FAQ';
99
import CTA from './components/CTA';
1010
import Footer from './components/Footer';
11+
import Community from './components/Community';
12+
import Resources from './components/Resources';
13+
import Join from './components/Join';
14+
import Features from './components/Features';
15+
import Works from './components/Works';
16+
import Support from './components/Support';
17+
import Help from './components/Help';
1118

1219
import smallLogo from './assets/images/logo_32x32.png';
1320

@@ -34,6 +41,13 @@ function App() {
3441
<Route path="/about" element={<About />} />
3542
<Route path="/mission-statement" element={<MissionStatement /> } />
3643
<Route path="/faq" element={<FAQ openFaq={openFaq} setOpenFaq={setOpenFaq} />} />
44+
<Route path="/community" element={<Community />} />
45+
<Route path="/resources" element={<Resources />} />
46+
<Route path="/join" element={<Join />} />
47+
<Route path="/features" element={<Features />} />
48+
<Route path="/works" element={<Works />} />
49+
<Route path="/support" element={<Support />} />
50+
<Route path="/help" element={<Help />} />
3751
</Routes>
3852
</main>
3953

@@ -45,4 +59,4 @@ function App() {
4559
);
4660
}
4761

48-
export default App;
62+
export default App;

src/components/Community.tsx

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from 'react';
2+
3+
const Community: React.FC = () => {
4+
return (
5+
<div className="container mx-auto px-4 py-8">
6+
<h1 className="text-4xl font-bold mb-4 text-[#4584b6]">Community</h1>
7+
<p className="text-xl text-gray-600">
8+
Welcome to the community page! Here you can find information about our community events, forums, and how to get involved.
9+
</p>
10+
</div>
11+
);
12+
};
13+
14+
export default Community;

src/components/Features.tsx

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from 'react';
2+
3+
const Features: React.FC = () => {
4+
return (
5+
<div className="container mx-auto px-4 py-8">
6+
<h1 className="text-4xl font-bold mb-4 text-[#4584b6]">Features</h1>
7+
<p className="text-xl text-gray-600">
8+
Welcome to the features page! Here you can find information about the various features our platform offers.
9+
</p>
10+
</div>
11+
);
12+
};
13+
14+
export default Features;

src/components/Footer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ const Footer: React.FC = () => {
7474
);
7575
};
7676

77-
export default Footer;
77+
export default Footer;

src/components/Header.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ const baseLinks = [
1616
{ name: 'FAQ', path: '/faq' },
1717
]
1818
},
19-
{ name: 'Community', path: '#community' },
20-
{ name: 'Resources', path: '#resources' },
21-
{ name: 'Join Us', path: '#join' }
19+
{ name: 'Community', path: '/community' },
20+
{ name: 'Resources', path: '/resources' },
21+
{ name: 'Join Us', path: '/join' }
2222
]
2323

2424
const Header: React.FC<HeaderProps> = ({ fontLoaded, smallLogo }) => {

src/components/Help.tsx

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from 'react';
2+
3+
const Help: React.FC = () => {
4+
return (
5+
<div className="container mx-auto px-4 py-8">
6+
<h1 className="text-4xl font-bold mb-4 text-[#4584b6]">Help</h1>
7+
<p className="text-xl text-gray-600">
8+
Welcome to the help page! Here you can find information and resources to assist you with any questions or issues you may have.
9+
</p>
10+
</div>
11+
);
12+
};
13+
14+
export default Help;

src/components/Join.tsx

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from 'react';
2+
3+
const Join: React.FC = () => {
4+
return (
5+
<div className="container mx-auto px-4 py-8">
6+
<h1 className="text-4xl font-bold mb-4 text-[#4584b6]">Join Us</h1>
7+
<p className="text-xl text-gray-600">
8+
Welcome to the join page! Here you can find information about how to become a member of our community and the benefits of joining.
9+
</p>
10+
</div>
11+
);
12+
};
13+
14+
export default Join;

src/components/Resources.tsx

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from 'react';
2+
3+
const Resources: React.FC = () => {
4+
return (
5+
<div className="container mx-auto px-4 py-8">
6+
<h1 className="text-4xl font-bold mb-4 text-[#4584b6]">Resources</h1>
7+
<p className="text-xl text-gray-600">
8+
Welcome to the resources page! Here you can find various materials and tools to help you with your Python development journey.
9+
</p>
10+
</div>
11+
);
12+
};
13+
14+
export default Resources;

src/components/Support.tsx

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from 'react';
2+
3+
const Support: React.FC = () => {
4+
return (
5+
<div className="container mx-auto px-4 py-8">
6+
<h1 className="text-4xl font-bold mb-4 text-[#4584b6]">Support</h1>
7+
<p className="text-xl text-gray-600">
8+
Welcome to the support page! Here you can find information about how to get help and support for our platform.
9+
</p>
10+
</div>
11+
);
12+
};
13+
14+
export default Support;

src/components/Works.tsx

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from 'react';
2+
3+
const Works: React.FC = () => {
4+
return (
5+
<div className="container mx-auto px-4 py-8">
6+
<h1 className="text-4xl font-bold mb-4 text-[#4584b6]">Works</h1>
7+
<p className="text-xl text-gray-600">
8+
Welcome to the works page! Here you can find information about our projects and case studies.
9+
</p>
10+
</div>
11+
);
12+
};
13+
14+
export default Works;

0 commit comments

Comments
 (0)