Skip to content

Commit 1498d10

Browse files
7oSkaaacursoragent
andcommitted
Point CP Templates link to GitHub Pages site.
Update the nav and README templates URL to https://7oskaaa.github.io/CP-Templates/ instead of the GitHub repo. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent b522f22 commit 1498d10

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This Repository contains Session for some Algorithms and Tips & Tricks for PS and CP
44

5-
If you want some templates for algorithms in CP you can use [mine](https://github.com/7oSkaaa/CP-Templates.git)
5+
If you want some templates for algorithms in CP you can use [mine](https://7oskaaa.github.io/CP-Templates/)
66

77
If you want a good roadmap for practicing problem solving, use Mostafa Saad's [Junior sheet](https://docs.google.com/spreadsheets/d/1iJZWP2nS_OB3kCTjq8L6TrJJ4o-5lhxDOyTaocSYc-k/edit#gid=84654839), and try [Weal Ahmed add-on](https://github.com/Waelahmed99/junior-sheet-add-on) to make it easier <br>
88

website/scripts/generate-content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ async function main() {
287287
youtubeChannel: "https://www.youtube.com/@7oSkaa/videos",
288288
youtubeChannelId: YOUTUBE_CHANNEL_ID,
289289
links: {
290-
templates: "https://github.com/7oSkaaa/CP-Templates",
290+
templates: "https://7oskaaa.github.io/CP-Templates/",
291291
juniorSheet:
292292
"https://docs.google.com/spreadsheets/d/1iJZWP2nS_OB3kCTjq8L6TrJJ4o-5lhxDOyTaocSYc-k/edit#gid=84654839",
293293
juniorSheetAddon: "https://github.com/Waelahmed99/junior-sheet-add-on",

website/src/data/site-data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"youtubeChannel": "https://www.youtube.com/@7oSkaa/videos",
88
"youtubeChannelId": "UCfq-WLktMVvKpZJfvz0EM3Q",
99
"links": {
10-
"templates": "https://github.com/7oSkaaa/CP-Templates",
10+
"templates": "https://7oskaaa.github.io/CP-Templates/",
1111
"juniorSheet": "https://docs.google.com/spreadsheets/d/1iJZWP2nS_OB3kCTjq8L6TrJJ4o-5lhxDOyTaocSYc-k/edit#gid=84654839",
1212
"juniorSheetAddon": "https://github.com/Waelahmed99/junior-sheet-add-on",
1313
"assiutSheet": "https://docs.google.com/spreadsheets/d/1EbbsotAwb0zuuwxyzs8l2qh8twqw-sNcNbAjCK1kXaE/edit?usp=drivesdk",

website/src/lib/utils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ export function classifyLink(url: string, label: string): LinkType {
8484
if (lower.includes("drive.google.com") || lower.includes("sharepoint.com")) {
8585
return "drive";
8686
}
87-
if (lower.includes("github.com") && lower.includes("cp-templates")) {
87+
if (
88+
(lower.includes("github.com") && lower.includes("cp-templates")) ||
89+
lower.includes("7oskaaa.github.io/cp-templates")
90+
) {
8891
return "template";
8992
}
9093
if (isIndividualProblemUrl(lower)) return "problem";

0 commit comments

Comments
 (0)