Spaces:
Runtime error
Runtime error
File size: 4,455 Bytes
2344e49 | 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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DSA Hub</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
<style>
body {
background: #1e1e2f;
color: #eee;
font-family: 'Segoe UI', sans-serif;
display: flex;
min-height: 100vh;
}
.sidebar {
width: 220px;
background: #2c2c54;
padding: 20px;
display: flex;
flex-direction: column;
gap: 15px;
}
.sidebar a {
color: #eee;
text-decoration: none;
padding: 10px;
border-radius: 8px;
display: flex;
align-items: center;
gap: 10px;
transition: background 0.2s;
}
.sidebar a:hover {
background: #3a0ca3;
}
.main {
flex-grow: 1;
padding: 40px;
}
.welcome {
background: linear-gradient(135deg, #7209b7, #3a0ca3);
border-radius: 12px;
padding: 30px;
color: #fff;
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
margin-bottom: 40px;
text-align: center;
}
.tips {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
}
.tip-card {
background: #2c2c54;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
transition: transform 0.2s;
}
.tip-card:hover {
transform: translateY(-5px);
}
.tip-card i {
font-size: 30px;
margin-bottom: 10px;
color: #f72585;
}
footer {
margin-top: 40px;
padding: 20px;
background: #1e1e2f;
color: #aaa;
text-align: center;
border-radius: 12px 12px 0 0;
}
</style>
</head>
<body>
<!-- Sidebar -->
<div class="sidebar">
<h4 class="text-light">DSA Hub</h4>
<a href="/arrays/"><i class="bi bi-table"></i> Arrays</a>
<a href="/stack/"><i class="bi bi-stack"></i> Stack</a>
<a href="/queue/"><i class="bi bi-list-ol"></i> Queue</a>
<a href="/playlist/"><i class="bi bi-music-note-list"></i> Linked List</a>
<a href="/trees/"><i class="bi bi-diagram-3"></i> Trees</a>
<a href="/graphs/"><i class="bi bi-diagram-2"></i> Graphs</a>
</div>
<!-- Main Content -->
<div class="main">
<!-- Welcome Section -->
<div class="welcome">
<h1>🌌 Welcome to Your DSA Hub</h1>
<p class="lead">Your interactive space to learn, practice, and visualize Data Structures & Algorithms.</p>
</div>
<!-- Tips / Resources Section -->
<h3>Quick Tips & Resources</h3>
<div class="tips">
<!-- About This Hub FIRST -->
<div class="tip-card text-center">
<i class="bi bi-house-heart"></i>
<h5>About This Hub</h5>
<p>This hub was built to unify all your DSA apps in one place, making it easy to navigate and showcase.</p>
</div>
<!-- Learn Step by Step -->
<div class="tip-card text-center">
<i class="bi bi-lightbulb"></i>
<h5>Learn Step by Step</h5>
<p>Start with Arrays, then move to Stacks and Queues before tackling Trees and Graphs.</p>
</div>
<!-- Practice Coding -->
<div class="tip-card text-center">
<i class="bi bi-code-slash"></i>
<h5>Practice Coding</h5>
<p>Try writing small Python snippets alongside each visualization to reinforce concepts.</p>
</div>
<!-- Track Your Journey -->
<div class="tip-card text-center">
<i class="bi bi-journal-check"></i>
<h5>Track Your Journey</h5>
<p>Maintain notes or a GitHub repo documenting what you’ve learned in each module.</p>
</div>
<!-- Explore Further -->
<div class="tip-card text-center">
<i class="bi bi-globe"></i>
<h5>Explore Further</h5>
<p>Once comfortable, apply these structures in real projects like chat apps or simulations.</p>
</div>
<!-- Did You Know -->
<div class="tip-card text-center">
<i class="bi bi-stars"></i>
<h5>Did You Know?</h5>
<p>Stacks and Queues are the backbone of scheduling systems — even your WhatsApp messages rely on them!</p>
</div>
</div>
<!-- Footer -->
<footer>
<p>© 2026 Swetha | Data Structures & Algorithms Dashboard</p>
</footer>
</div>
</body>
</html>
|