Spaces:
Sleeping
Sleeping
| {% extends "base.html" %} | |
| {% block content %} | |
| <div class="container" role="main"> | |
| <header class="profile-header"> | |
| <h1 id="fullName">Gursimar Singh</h1> | |
| <h2 id="title">Student</h2> | |
| </header> | |
| <section aria-labelledby="about-me-title"> | |
| <h3 id="about-me-title">About Me</h3> | |
| <p> | |
| 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. | |
| </p> | |
| </section> | |
| <section aria-labelledby="skills-title"> | |
| <h3 id="skills-title">Skills</h3> | |
| <ul class="skills-list"> | |
| <li>Python</li> | |
| <li>Artificial Intelligence (AI)</li> | |
| <li>Machine Learning (ML)</li> | |
| <li>Web Development (HTML, CSS, JavaScript)</li> | |
| <li>Data Analysis</li> | |
| <li>Flask / Django</li> | |
| <li>RESTful APIs</li> | |
| <li>Git & Version Control</li> | |
| </ul> | |
| </section> | |
| <section aria-labelledby="projects-title"> | |
| <h3 id="projects-title">Projects</h3> | |
| <div class="projects"> | |
| <article class="project-card"> | |
| <h4>NumPy Project</h4> | |
| <p>A hands-on project utilizing NumPy for efficient numerical computations and data manipulation.</p> | |
| <a href="#" target="_blank" rel="noopener noreferrer">Project Link</a> | |
| </article> | |
| <article class="project-card"> | |
| <h4>Data Visualization Project</h4> | |
| <p>Created dynamic visual representations of data using Matplotlib and Seaborn to uncover insights.</p> | |
| <a href="#" target="_blank" rel="noopener noreferrer">Project Link</a> | |
| </article> | |
| </div> | |
| </section> | |
| <!-- 🔹 Iris Prediction Form --> | |
| <section aria-labelledby="predict-title" id="predict-section"> | |
| <h3 id="predict-title">Iris Flower Predictor</h3> | |
| <form method="POST" action="{{ url_for('predict') }}"> | |
| <input type="number" step="0.1" name="sepal_length" placeholder="Sepal Length" required> | |
| <input type="number" step="0.1" name="sepal_width" placeholder="Sepal Width" required> | |
| <input type="number" step="0.1" name="petal_length" placeholder="Petal Length" required> | |
| <input type="number" step="0.1" name="petal_width" placeholder="Petal Width" required> | |
| <button type="submit">Predict</button> | |
| </form> | |
| {% if prediction %} | |
| <div class="prediction-box"> | |
| 🌸 The predicted flower species is: <strong>{{ prediction }}</strong> | |
| </div> | |
| {% endif %} | |
| {% if error %} | |
| <div class="alert alert-danger">{{ error }}</div> | |
| {% endif %} | |
| </section> | |
| <section class="contact"> | |
| <a href="https://linkedin.com/in/gursimar007" target="_blank" rel="noopener noreferrer">LinkedIn</a> | |
| <a href="https://github.com/gursimar007" target="_blank" rel="noopener noreferrer">GitHub</a> | |
| </section> | |
| <a href="{{ url_for('logout') }}"> | |
| <button class="logout-btn">Logout</button> | |
| </a> | |
| </div> | |
| <style> | |
| body { | |
| background: #f5f7fa; | |
| color: #333; | |
| line-height: 1.6; | |
| min-height: 100vh; | |
| display: flex; | |
| justify-content: center; | |
| align-items: flex-start; | |
| padding: 30px; | |
| } | |
| .container { | |
| background: white; | |
| max-width: 900px; | |
| width: 100%; | |
| border-radius: 12px; | |
| box-shadow: 0 10px 30px rgba(0,0,0,0.1); | |
| padding: 40px 50px; | |
| } | |
| .profile-header { text-align: center; margin-bottom: 40px; } | |
| h1 { font-weight: 700; font-size: 2.4rem; margin-bottom: 6px; color: #222; } | |
| h2 { font-weight: 600; font-size: 1.4rem; margin-bottom: 20px; color: #666; font-style: italic; } | |
| section { margin-bottom: 35px; } | |
| section h3 { font-weight: 600; font-size: 1.3rem; margin-bottom: 15px; border-bottom: 2px solid #a6c1ff; padding-bottom: 6px; color: #444; } | |
| p { font-size: 1rem; color: #555; } | |
| .skills-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; } | |
| .skills-list li { background: #a6c1ff; color: white; padding: 8px 18px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: background-color 0.3s ease; cursor: default; } | |
| .skills-list li:hover { background: #7a94ff; } | |
| .projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; } | |
| .project-card { background: #f0f4ff; padding: 20px 25px; border-radius: 12px; box-shadow: 0 6px 12px rgba(118,132,255,0.15); transition: box-shadow 0.3s ease; } | |
| .project-card:hover { box-shadow: 0 10px 25px rgba(118,132,255,0.3); } | |
| .project-card h4 { margin-bottom: 10px; color: #3546c4; font-weight: 700; font-size: 1.1rem; } | |
| .project-card p { font-size: 0.95rem; color: #444; margin-bottom: 12px; min-height: 52px; } | |
| .project-card a { font-size: 0.9rem; color: #5a67ff; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid transparent; transition: border-color 0.3s ease; } | |
| .project-card a:hover { border-color: #5a67ff; } | |
| .contact { text-align: center; } | |
| .contact a { display: inline-block; margin: 0 15px; text-decoration: none; color: #5a67ff; font-weight: 700; font-size: 1rem; border: 2px solid #5a67ff; padding: 10px 22px; border-radius: 30px; box-shadow: 0 6px 12px rgba(90,103,255,0.3); transition: all 0.3s ease; } | |
| .contact a:hover { background: #5a67ff; color: white; box-shadow: 0 8px 20px rgba(90,103,255,0.6); } | |
| .logout-btn { margin: 40px auto 0; display: block; background: #ff5c5c; color: white; font-weight: 700; border: none; padding: 14px 28px; border-radius: 30px; cursor: pointer; box-shadow: 0 6px 12px rgba(255,92,92,0.4); transition: background-color 0.3s ease; } | |
| .logout-btn:hover { background: #e04545; } | |
| .prediction-box { margin-top: 20px; padding: 15px; background: #e8f0fe; border-left: 5px solid #5a67ff; border-radius: 8px; font-size: 1.1rem; } | |
| .alert { margin-top: 15px; padding: 12px; border-radius: 8px; background: #ffe6e6; color: #cc0000; text-align: center; } | |
| </style> | |
| {% if scroll_to %} | |
| <script> | |
| document.getElementById("{{ scroll_to }}-title") | |
| .scrollIntoView({ behavior: "smooth" }); | |
| </script> | |
| {% endif %} | |
| {% endblock %} | |