-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_dsa_pages.sh
More file actions
executable file
·64 lines (58 loc) · 2.26 KB
/
create_dsa_pages.sh
File metadata and controls
executable file
·64 lines (58 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/bash
# Create remaining DSA visualizer pages
# Tree pages
echo "'use client';
import Link from 'next/link';
export default function BinaryTreeVisualizer() {
return (
<div className=\"min-h-screen bg-gradient-to-br from-green-50 to-emerald-100 p-6\">
<div className=\"max-w-7xl mx-auto\">
<div className=\"mb-8\">
<Link href=\"/dsa-visualizer/trees\" className=\"text-blue-600 hover:text-blue-800 mb-4 inline-block\">
← Back to Trees
</Link>
<h1 className=\"text-4xl font-bold text-gray-800 mb-4\">
Binary Tree Visualization
</h1>
<p className=\"text-xl text-gray-600\">
Coming Soon: Interactive Binary Tree with insertion and traversal
</p>
</div>
<div className=\"bg-white rounded-xl shadow-lg p-8\">
<div className=\"text-center\">
<div className=\"text-6xl mb-4\">🌳</div>
<h2 className=\"text-2xl font-bold text-gray-800 mb-4\">Under Development</h2>
</div>
</div>
</div>
</div>
);
}" > /workspaces/UPCODE/app/dsa-visualizer/trees/binary-tree/page.js
echo "'use client';
import Link from 'next/link';
export default function BSTVisualizer() {
return (
<div className=\"min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100 p-6\">
<div className=\"max-w-7xl mx-auto\">
<div className=\"mb-8\">
<Link href=\"/dsa-visualizer/trees\" className=\"text-blue-600 hover:text-blue-800 mb-4 inline-block\">
← Back to Trees
</Link>
<h1 className=\"text-4xl font-bold text-gray-800 mb-4\">
Binary Search Tree Visualization
</h1>
<p className=\"text-xl text-gray-600\">
Coming Soon: Interactive BST with search, insert, delete operations
</p>
</div>
<div className=\"bg-white rounded-xl shadow-lg p-8\">
<div className=\"text-center\">
<div className=\"text-6xl mb-4\">🔍</div>
<h2 className=\"text-2xl font-bold text-gray-800 mb-4\">Under Development</h2>
</div>
</div>
</div>
</div>
);
}" > /workspaces/UPCODE/app/dsa-visualizer/trees/binary-search-tree/page.js
echo "DSA visualizer tree pages created!"