Skip to content

Commit 8fde13b

Browse files
committed
Add meta data
1 parent 5768ec3 commit 8fde13b

File tree

2 files changed

+40
-4
lines changed

2 files changed

+40
-4
lines changed

index.html

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,50 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>SortLab</title>
88

9+
<!-- SEO Meta Tags -->
10+
<meta
11+
name="description"
12+
content="SortLab is a free and interactive sorting algorithm visualizer. Explore Bubble Sort, Merge Sort, Quick Sort, and more with animated steps and code in Python, Java, C++, and JavaScript."
13+
/>
14+
<meta
15+
name="keywords"
16+
content="SortLab, Sorting Algorithm Visualizer, Sorting Algorithms, Algorithm Visualization, Bubble Sort, Merge Sort, Quick Sort, JavaScript, Python, C++, Java"
17+
/>
18+
<meta name="author" content="Rahul Goswami" />
19+
20+
<!-- Open Graph (for LinkedIn, Facebook, etc.) -->
21+
<meta
22+
property="og:title"
23+
content="SortLab - Sorting Algorithm Visualizer"
24+
/>
25+
<meta
26+
property="og:description"
27+
content="Explore and learn sorting algorithms with step-by-step animations and code examples in multiple languages."
28+
/>
29+
<meta property="og:type" content="website" />
30+
31+
<!-- Twitter Card -->
32+
<meta name="twitter:card" content="summary_large_image" />
33+
<meta
34+
name="twitter:title"
35+
content="SortLab - Sorting Algorithm Visualizer"
36+
/>
37+
<meta
38+
name="twitter:description"
39+
content="Visualize and compare sorting algorithms like never before."
40+
/>
41+
942
<!-- For Ads -->
10-
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2879437040112935"
11-
crossorigin="anonymous"></script>
43+
<script
44+
async
45+
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2879437040112935"
46+
crossorigin="anonymous"
47+
></script>
1248
</head>
1349
<body>
1450
<div id="root"></div>

src/components/Algorithm/Sorting/Sorting.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ const Sorting = ({
488488
</h1>
489489

490490
{/* Language Tabs */}
491-
<div className="flex mb-4 gap-4">
491+
<div className="mt-10 flex mb-4 gap-4">
492492
{Object.keys(codeSnippets).map((lang) => (
493493
<button
494494
key={lang}

0 commit comments

Comments
 (0)