Skip to content

Commit 554beca

Browse files
feat: updating project to RSC for SEO
1 parent 67e2e58 commit 554beca

File tree

11 files changed

+142
-199
lines changed

11 files changed

+142
-199
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
/.pnp
66
.pnp.js
77
.yarn/install-state.gz
8-
8+
.agent
9+
.agents
910
# testing
1011
/coverage
1112

package-lock.json

Lines changed: 20 additions & 175 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@babel/preset-typescript": "^7.23.3",
3232
"@faker-js/faker": "^9.1.0",
3333
"@testing-library/jest-dom": "^6.4.2",
34-
"@testing-library/react": "^14.2.1",
34+
"@testing-library/react": "^16.3.2",
3535
"@testing-library/user-event": "^14.6.1",
3636
"@types/node": "^20",
3737
"@types/react": "^19.2.10",
@@ -49,4 +49,4 @@
4949
"@types/react": "^19.2.10",
5050
"@types/react-dom": "^19.2.3"
5151
}
52-
}
52+
}

src/app/about/page.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react';
1+
import type { Metadata } from 'next';
22
import styles from './about.module.css';
33
import AboutHero from '@/components/aboutHero/aboutHero';
44
import AboutMission from '@/components/aboutMission/aboutMission';
@@ -7,6 +7,17 @@ import AboutOffer from '@/components/aboutOffer/aboutOffer';
77
import AboutTeam from '@/components/aboutTeam/aboutTeam';
88
import AboutCTA from '@/components/aboutCTA/aboutCTA';
99

10+
export const metadata: Metadata = {
11+
title: 'About Us | Dallas Software Developers',
12+
description: 'Learn about Dallas Software Developers - a community of passionate developers sharing knowledge and building connections in Dallas-Fort Worth.',
13+
keywords: 'about DSD, Dallas developers community, software developer group history, tech community Dallas',
14+
openGraph: {
15+
title: 'About Us | Dallas Software Developers',
16+
description: 'Learn about Dallas Software Developers - a community of passionate developers sharing knowledge and building connections.',
17+
type: 'website',
18+
},
19+
};
20+
1021
export default function AboutPage() {
1122
return (
1223
<div className={styles.aboutPage}>

src/app/cohorts/layout.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import type { Metadata } from 'next';
2+
3+
export const metadata: Metadata = {
4+
title: 'Cohorts | Dallas Software Developers',
5+
description: 'Join our intensive cohort program. Learn software development with hands-on projects and mentorship from experienced Dallas developers.',
6+
keywords: 'coding cohort Dallas, software development bootcamp, developer mentorship, hands-on coding program',
7+
openGraph: {
8+
title: 'Cohorts | Dallas Software Developers',
9+
description: 'Join our intensive cohort program with hands-on projects and mentorship.',
10+
type: 'website',
11+
},
12+
};
13+
14+
export default function CohortsLayout({
15+
children,
16+
}: {
17+
children: React.ReactNode;
18+
}) {
19+
return children;
20+
}

src/app/community/layout.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import type { Metadata } from 'next';
2+
3+
export const metadata: Metadata = {
4+
title: 'Community | Dallas Software Developers',
5+
description: 'Join our vibrant community of Dallas developers. Connect, learn, and grow with fellow software professionals.',
6+
keywords: 'Dallas developer community, software developer networking, tech community DFW, developer meetup group',
7+
openGraph: {
8+
title: 'Community | Dallas Software Developers',
9+
description: 'Join our vibrant community of Dallas developers. Connect, learn, and grow.',
10+
type: 'website',
11+
},
12+
};
13+
14+
export default function CommunityLayout({
15+
children,
16+
}: {
17+
children: React.ReactNode;
18+
}) {
19+
return children;
20+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
'use client';
2+
3+
import Button from '@/components/button/button';
4+
import { externalLinks } from '@/app/_constants';
5+
6+
interface MeetupCTAButtonProps {
7+
buttonText: string;
8+
}
9+
10+
export default function MeetupCTAButton({ buttonText }: MeetupCTAButtonProps) {
11+
const handleJoinMeetup = () => {
12+
window.open(externalLinks.meetupUrl, '_blank', 'noopener,noreferrer');
13+
};
14+
15+
return <Button buttonText={buttonText} onClick={handleJoinMeetup} />;
16+
}

0 commit comments

Comments
 (0)