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|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
+
<title>Dashboard - Gursimar Singh</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css" />
|
| 8 |
+
<style>
|
| 9 |
+
/* Extra styles for dashboard */
|
| 10 |
+
.profile-photo {
|
| 11 |
+
width: 120px;
|
| 12 |
+
height: 120px;
|
| 13 |
+
border-radius: 50%;
|
| 14 |
+
background: #555;
|
| 15 |
+
display: flex;
|
| 16 |
+
justify-content: center;
|
| 17 |
+
align-items: center;
|
| 18 |
+
font-size: 48px;
|
| 19 |
+
color: #ddd;
|
| 20 |
+
margin: 0 auto 20px;
|
| 21 |
+
user-select: none;
|
| 22 |
+
}
|
| 23 |
+
h1, h3 {
|
| 24 |
+
margin-bottom: 10px;
|
| 25 |
+
}
|
| 26 |
+
section {
|
| 27 |
+
margin-bottom: 30px;
|
| 28 |
+
text-align: left;
|
| 29 |
+
}
|
| 30 |
+
ul.skills-list {
|
| 31 |
+
list-style: none;
|
| 32 |
+
padding: 0;
|
| 33 |
+
display: flex;
|
| 34 |
+
flex-wrap: wrap;
|
| 35 |
+
gap: 10px;
|
| 36 |
+
}
|
| 37 |
+
ul.skills-list li {
|
| 38 |
+
background: rgba(255, 255, 255, 0.15);
|
| 39 |
+
padding: 8px 15px;
|
| 40 |
+
border-radius: 20px;
|
| 41 |
+
font-weight: 600;
|
| 42 |
+
font-size: 14px;
|
| 43 |
+
}
|
| 44 |
+
.project {
|
| 45 |
+
margin-bottom: 15px;
|
| 46 |
+
}
|
| 47 |
+
.project a {
|
| 48 |
+
color: #a6c1ff;
|
| 49 |
+
text-decoration: none;
|
| 50 |
+
}
|
| 51 |
+
.project a:hover {
|
| 52 |
+
text-decoration: underline;
|
| 53 |
+
}
|
| 54 |
+
.contact-buttons {
|
| 55 |
+
display: flex;
|
| 56 |
+
gap: 20px;
|
| 57 |
+
justify-content: center;
|
| 58 |
+
}
|
| 59 |
+
.contact-buttons a {
|
| 60 |
+
background: #3a3cff;
|
| 61 |
+
padding: 12px 20px;
|
| 62 |
+
border-radius: 8px;
|
| 63 |
+
color: white;
|
| 64 |
+
font-weight: 600;
|
| 65 |
+
text-decoration: none;
|
| 66 |
+
transition: background-color 0.3s ease;
|
| 67 |
+
}
|
| 68 |
+
.contact-buttons a:hover {
|
| 69 |
+
background: #2222ff;
|
| 70 |
+
}
|
| 71 |
+
.logout-btn {
|
| 72 |
+
margin-top: 30px;
|
| 73 |
+
display: block;
|
| 74 |
+
background: #ff4c4c;
|
| 75 |
+
padding: 12px 20px;
|
| 76 |
+
width: 100%;
|
| 77 |
+
max-width: 200px;
|
| 78 |
+
margin-left: auto;
|
| 79 |
+
margin-right: auto;
|
| 80 |
+
text-align: center;
|
| 81 |
+
border-radius: 8px;
|
| 82 |
+
color: white;
|
| 83 |
+
font-weight: 600;
|
| 84 |
+
cursor: pointer;
|
| 85 |
+
border: none;
|
| 86 |
+
transition: background-color 0.3s ease;
|
| 87 |
+
}
|
| 88 |
+
.logout-btn:hover {
|
| 89 |
+
background: #cc0000;
|
| 90 |
+
}
|
| 91 |
+
</style>
|
| 92 |
+
</head>
|
| 93 |
+
<body>
|
| 94 |
+
<div class="container">
|
| 95 |
+
<div class="profile-photo" aria-label="User Initials">GS</div>
|
| 96 |
+
<h1>Gursimar Singh</h1>
|
| 97 |
+
<h3>Student</h3>
|
| 98 |
+
|
| 99 |
+
<section>
|
| 100 |
+
<h2>About Me</h2>
|
| 101 |
+
<p>
|
| 102 |
+
I am a motivated student actively learning Python, artificial intelligence, machine learning, and web development. Driven by curiosity and innovation, I strive to create impactful solutions and grow my expertise in these cutting-edge technologies.
|
| 103 |
+
</p>
|
| 104 |
+
</section>
|
| 105 |
+
|
| 106 |
+
<section>
|
| 107 |
+
<h2>Skills</h2>
|
| 108 |
+
<ul class="skills-list">
|
| 109 |
+
<li>Python</li>
|
| 110 |
+
<li>Artificial Intelligence (AI)</li>
|
| 111 |
+
<li>Machine Learning (ML)</li>
|
| 112 |
+
<li>Web Development (HTML, CSS, JavaScript)</li>
|
| 113 |
+
<li>Data Analysis</li>
|
| 114 |
+
<li>Flask / Django</li>
|
| 115 |
+
<li>RESTful APIs</li>
|
| 116 |
+
<li>Git & Version Control</li>
|
| 117 |
+
</ul>
|
| 118 |
+
</section>
|
| 119 |
+
|
| 120 |
+
<section>
|
| 121 |
+
<h2>Projects</h2>
|
| 122 |
+
<div class="project">
|
| 123 |
+
<strong>NumPy Project</strong><br />
|
| 124 |
+
A hands-on project utilizing NumPy for efficient numerical computations and data manipulation. Explored array operations, broadcasting, and performance optimization.<br />
|
| 125 |
+
<a href="#" target="_blank" rel="noopener noreferrer">Project Link</a>
|
| 126 |
+
</div>
|
| 127 |
+
<div class="project">
|
| 128 |
+
<strong>Data Visualization Project</strong><br />
|
| 129 |
+
Created dynamic visual representations of data using libraries like Matplotlib and Seaborn to uncover insights and trends effectively.<br />
|
| 130 |
+
<a href="#" target="_blank" rel="noopener noreferrer">Project Link</a>
|
| 131 |
+
</div>
|
| 132 |
+
</section>
|
| 133 |
+
|
| 134 |
+
<section>
|
| 135 |
+
<h2>Contact Me</h2>
|
| 136 |
+
<div class="contact-buttons">
|
| 137 |
+
<a href="https://linkedin.com/in/gursimar007" target="_blank" rel="noopener noreferrer">LinkedIn</a>
|
| 138 |
+
<a href="https://github.com/gursimar007" target="_blank" rel="noopener noreferrer">GitHub</a>
|
| 139 |
+
</div>
|
| 140 |
+
</section>
|
| 141 |
+
|
| 142 |
+
<button class="logout-btn" id="logoutBtn">Logout</button>
|
| 143 |
+
</div>
|
| 144 |
+
|
| 145 |
+
<script>
|
| 146 |
+
// On page load: check if user is logged in (optional, but recommended)
|
| 147 |
+
const loggedInUser = localStorage.getItem("loggedInUser");
|
| 148 |
+
|
| 149 |
+
if (!loggedInUser || loggedInUser !== "Gursimar Singh") {
|
| 150 |
+
// If no user or different user, redirect to login
|
| 151 |
+
window.location.href = "index.html";
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
// Set dynamic welcome - if you want to make name dynamic, can do here
|
| 155 |
+
// document.querySelector('h1').textContent = loggedInUser;
|
| 156 |
+
|
| 157 |
+
// Logout button clears login and redirects
|
| 158 |
+
document.getElementById("logoutBtn").addEventListener("click", () => {
|
| 159 |
+
localStorage.removeItem("loggedInUser");
|
| 160 |
+
window.location.href = "index.html";
|
| 161 |
+
});
|
| 162 |
+
</script>
|
| 163 |
+
</body>
|
| 164 |
+
</html>
|