Skip to content

Commit 69a8623

Browse files
committed
Feat: SEO improvements that relfect new domain
1 parent 5aac007 commit 69a8623

8 files changed

Lines changed: 72 additions & 26 deletions

File tree

index.html

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,39 @@
44
<head>
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
7-
<title>Laurier Computing Society</title>
7+
<title>Laurier Computing Society | WLU Tech &amp; CS Community</title>
88

99
<!-- SEO Meta Tags -->
1010
<meta name="description"
11-
content="Join Laurier Computing Society, a vibrant community for computer science and tech enthusiasts at Wilfrid Laurier University. Attend events, network, and grow your tech skills." />
11+
content="Laurier Computing Society (LCS) is Wilfrid Laurier University's student Computer Science club — powering hackathons, workshops, networking, and career growth for CS students in Waterloo." />
1212
<meta name="keywords"
13-
content="Laurier Computing Society, LCS, computer science, student tech club, Wilfrid Laurier University, programming, tech community, events" />
13+
content="Laurier Computing Society, LCS, computer science, student tech club, Wilfrid Laurier University, WLU, hackathon, programming, tech community, Waterloo, CS events" />
1414
<meta name="author" content="Laurier Computing Society" />
1515

1616
<!-- Open Graph Tags -->
17-
<meta property="og:title" content="Laurier Computing Society" />
17+
<meta property="og:site_name" content="Laurier Computing Society" />
18+
<meta property="og:locale" content="en_CA" />
19+
<meta property="og:title" content="Laurier Computing Society | WLU Tech &amp; CS Community" />
1820
<meta property="og:description"
19-
content="Join our vibrant tech community at Wilfrid Laurier University. Attend events, connect with peers, and advance your computing skills." />
21+
content="LCS is Wilfrid Laurier University's student Computer Science club — hackathons, workshops, networking, and career growth for CS students in Waterloo." />
2022
<meta property="og:type" content="website" />
21-
<meta property="og:url" content="https://lauriercs.ca" />
22-
<meta property="og:image" content="https://lauriercs.ca/favicon/web-app-manifest-512x512.png" />
23-
<meta property="og:image:width" content="512" />
24-
<meta property="og:image:height" content="512" />
23+
<meta property="og:url" content="https://lauriercs.org" />
24+
<meta property="og:image" content="https://lauriercs.org/assets/og-image.png" />
25+
<meta property="og:image:width" content="1200" />
26+
<meta property="og:image:height" content="630" />
2527
<meta property="og:image:type" content="image/png" />
28+
<meta property="og:image:alt" content="Laurier Computing Society logo" />
2629

2730
<!-- Twitter Card Tags -->
2831
<meta name="twitter:card" content="summary_large_image" />
29-
<meta name="twitter:title" content="Laurier Computing Society" />
32+
<meta name="twitter:title" content="Laurier Computing Society | WLU Tech &amp; CS Community" />
3033
<meta name="twitter:description"
31-
content="A vibrant tech community and student organization at Wilfrid Laurier University." />
32-
<meta name="twitter:image" content="https://lauriercs.ca/favicon/web-app-manifest-512x512.png" />
34+
content="LCS is Wilfrid Laurier University's student Computer Science club — hackathons, workshops, networking, and career growth for CS students in Waterloo." />
35+
<meta name="twitter:image" content="https://lauriercs.org/assets/og-image.png" />
3336
<meta name="twitter:image:alt" content="Laurier Computing Society logo" />
3437

3538
<!-- Canonical URL -->
36-
<link rel="canonical" href="https://lauriercs.ca" />
39+
<link rel="canonical" href="https://lauriercs.org" />
3740

3841
<!-- Web App Manifest -->
3942
<link rel="manifest" href="/favicon/site.webmanifest" />
@@ -88,19 +91,21 @@
8891
"@context": "https://schema.org",
8992
"@type": "Organization",
9093
"name": "Laurier Computing Society",
91-
"url": "https://lauriercs.ca",
92-
"description": "A vibrant tech community and student organization at Wilfrid Laurier University dedicated to computer science and technology enthusiasts.",
93-
"logo": "https://lauriercs.ca/favicon/web-app-manifest-512x512.png",
94-
"image": "https://lauriercs.ca/favicon/web-app-manifest-512x512.png",
94+
"alternateName": "LCS",
95+
"url": "https://lauriercs.org",
96+
"description": "Wilfrid Laurier University's student Computer Science club dedicated to computer science and technology enthusiasts — powering hackathons, workshops, networking, and career growth.",
97+
"logo": "https://lauriercs.org/assets/og-image.png",
98+
"image": "https://lauriercs.org/assets/og-image.png",
9599
"sameAs": [
96-
"https://linkedin.com",
97-
"https://twitter.com",
98-
"https://discord.com"
100+
"https://www.instagram.com/laurier.cs/",
101+
"https://discord.com/invite/lauriercs",
102+
"https://www.linkedin.com/company/lauriercs/",
103+
"https://www.youtube.com/channel/UCx5kLv_MO-yhjIIqcCLEMFA"
99104
],
100105
"contactPoint": {
101106
"@type": "ContactPoint",
102107
"contactType": "Student Organization",
103-
"url": "https://lauriercs.ca"
108+
"url": "https://lauriercs.org"
104109
},
105110
"address": {
106111
"@type": "PostalAddress",

pnpm-lock.yaml

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

pnpm-workspace.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
packages:
22
- '.'
33

4+
allowBuilds:
5+
'@swc/core': false
6+
esbuild: false
7+
48
onlyBuiltDependencies:
59
- '@swc/core'
610
- esbuild

public/.well-known/security.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Contact: mailto:development@lauriercs.org
2+
Expires: 2027-07-13T00:00:00.000Z
3+
Preferred-Languages: en

public/favicon/site.webmanifest

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"name": "Laurier Computing Society",
33
"short_name": "LCS",
4+
"description": "Wilfrid Laurier University's student tech club — hackathons, workshops, and career growth for CS students.",
5+
"start_url": "/",
6+
"scope": "/",
47
"icons": [
58
{
69
"src": "/favicon/favicon-96x96.png",
@@ -33,7 +36,7 @@
3336
"purpose": "maskable"
3437
}
3538
],
36-
"theme_color": "#000000",
39+
"theme_color": "#2C3844",
3740
"background_color": "#ffffff",
3841
"display": "standalone"
39-
}
42+
}

public/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://lauriercs.org/sitemap.xml

public/sitemap.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3+
<url>
4+
<loc>https://lauriercs.org/</loc>
5+
<priority>1.0</priority>
6+
<changefreq>weekly</changefreq>
7+
</url>
8+
<url>
9+
<loc>https://lauriercs.org/hack-to-the-future</loc>
10+
<priority>0.8</priority>
11+
<changefreq>monthly</changefreq>
12+
</url>
13+
</urlset>

src/pages/HackToTheFuture.tsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,23 @@ export default function HackToTheFuturePage() {
5353
getCountdownTime(HACKATHON_COUNTDOWN_TARGET),
5454
);
5555

56+
useEffect(() => {
57+
const prevTitle = document.title;
58+
const metaDesc = document.querySelector<HTMLMetaElement>('meta[name="description"]');
59+
const prevDesc = metaDesc?.getAttribute('content') ?? '';
60+
61+
document.title = 'Hack to the Future | LCS Hackathon — Wilfrid Laurier University';
62+
metaDesc?.setAttribute(
63+
'content',
64+
"Hack to the Future is Laurier Computing Society's annual hackathon at Wilfrid Laurier University. Compete for prizes, build projects, and connect with Waterloo's tech community.",
65+
);
66+
67+
return () => {
68+
document.title = prevTitle;
69+
metaDesc?.setAttribute('content', prevDesc);
70+
};
71+
}, []);
72+
5673
useEffect(() => {
5774
const timer = window.setInterval(() => {
5875
setCountdown(getCountdownTime(HACKATHON_COUNTDOWN_TARGET));

0 commit comments

Comments
 (0)