Skip to content

Commit 5ca4a8a

Browse files
vanshikaMaheshwarijagdish-15github-actions[bot]
authored
add meta description and Open Graph tags to all pages (#109)
* add meta description and Open Graph tags to all pages * Update frontend/index.html Co-authored-by: Jagdish Prajapati <jagadishdrp@gmail.com> * Update frontend/index.html Co-authored-by: Jagdish Prajapati <jagadishdrp@gmail.com> * Update frontend/leaderboard.html Co-authored-by: Jagdish Prajapati <jagadishdrp@gmail.com> * Update frontend/registration.html Co-authored-by: Jagdish Prajapati <jagadishdrp@gmail.com> * Add Open Graph site name meta tag * Add Open Graph site name meta tag * Refactor leaderboard.html by cleaning up script tags Removed duplicate script tags and added site name meta tag. * Update registration.html * style: auto-format code with Prettier (/format) --------- Co-authored-by: Jagdish Prajapati <jagadishdrp@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 65d2738 commit 5ca4a8a

4 files changed

Lines changed: 73 additions & 0 deletions

File tree

frontend/about.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,23 @@
1313
<link rel="stylesheet" href="styles/main.css" />
1414
<link rel="icon" type="image/png" href="assets/logo.png" />
1515
<script src="js/navbar.js"></script>
16+
17+
<meta
18+
name="description"
19+
content="Learn how CodePVG tracks LeetCode progress for PVG students — scoring system, sync schedule, and how to join."
20+
/>
21+
<meta property="og:title" content="About — CodePVG" />
22+
<meta
23+
property="og:description"
24+
content="Learn how CodePVG tracks LeetCode progress for PVG students — scoring system, sync schedule, and how to join."
25+
/>
26+
<meta property="og:url" content="https://codepvg.onrender.com/about" />
27+
<meta property="og:type" content="website" />
28+
<meta
29+
property="og:image"
30+
content="https://codepvg.onrender.com/assets/logo.png"
31+
/>
32+
<meta property="og:site_name" content="CodePVG" />
1633
</head>
1734

1835
<body>

frontend/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@
1212
/>
1313
<link rel="stylesheet" href="styles/main.css" />
1414
<link rel="icon" type="image/png" href="assets/logo.png" />
15+
<meta
16+
name="description"
17+
content="An open leaderboard for PVG students grinding LeetCode. Track your daily, weekly, monthly and overall progress — ranked by difficulty-weighted score."
18+
/>
19+
<meta property="og:title" content="CodePVG — LeetCode Leaderboard" />
20+
<meta
21+
property="og:description"
22+
content="Track your LeetCode progress and compete with PVG peers. Ranked by problem difficulty. Updated every 5 minutes."
23+
/>
24+
<meta property="og:url" content="https://codepvg.onrender.com/" />
25+
<meta property="og:type" content="website" />
26+
<meta
27+
property="og:image"
28+
content="https://codepvg.onrender.com/assets/logo.png"
29+
/>
30+
<meta property="og:site_name" content="CodePVG" />
1531
</head>
1632

1733
<body>

frontend/leaderboard.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,26 @@
1717
<script src="js/leaderboard/render.js"></script>
1818
<script src="js/leaderboard/pagination.js"></script>
1919
<script src="js/leaderboard/search.js"></script>
20+
21+
<meta
22+
name="description"
23+
content="Live LeetCode leaderboard for PVG students. See overall, monthly, weekly, and daily rankings scored by problem difficulty."
24+
/>
25+
<meta property="og:title" content="Leaderboard — CodePVG" />
26+
<meta
27+
property="og:description"
28+
content="Live LeetCode leaderboard for PVG students. Scored by problem difficulty, updated every 5 minutes."
29+
/>
30+
<meta
31+
property="og:url"
32+
content="https://codepvg.onrender.com/leaderboard"
33+
/>
34+
<meta property="og:type" content="website" />
35+
<meta
36+
property="og:image"
37+
content="https://codepvg.onrender.com/assets/logo.png"
38+
/>
39+
<meta property="og:site_name" content="CodePVG" />
2040
</head>
2141

2242
<body>

frontend/registration.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,26 @@
1313
<link rel="stylesheet" href="styles/main.css" />
1414
<link rel="icon" type="image/png" href="assets/logo.png" />
1515
<script src="js/navbar.js"></script>
16+
17+
<meta
18+
name="description"
19+
content="Register your LeetCode username to join the CodePVG leaderboard and start tracking your progress."
20+
/>
21+
<meta property="og:title" content="Join the Leaderboard — CodePVG" />
22+
<meta
23+
property="og:description"
24+
content="Register your LeetCode username and compete with PVG students. Live leaderboard updates every 5 minutes with difficulty-weighted scoring."
25+
/>
26+
<meta
27+
property="og:url"
28+
content="https://codepvg.onrender.com/registration"
29+
/>
30+
<meta property="og:type" content="website" />
31+
<meta
32+
property="og:image"
33+
content="https://codepvg.onrender.com/assets/logo.png"
34+
/>
35+
<meta property="og:site_name" content="CodePVG" />
1636
</head>
1737

1838
<body>

0 commit comments

Comments
 (0)