Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions ProfilePage/profile.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profile - Skill Exchange</title>
<link rel="stylesheet" href="profileCss.css">
</head>
<body>
<header>
<div class="container header-container">
<div class="logo">Skill Exchange</div>
<nav>
<ul class="nav-links">
<li><a href="dashboard.html">Dashboard</a></li>
<li><a href="profile.html">Profile</a></li>
<li><a href="logout.html" class="cta">Logout</a></li>
</ul>
</nav>
</div>
</header>
q
<main>
<section class="profile">
<div class="profile-header">
<div class="profile-avatar-container">
<img src="https://st2.depositphotos.com/1643295/7439/i/450/depositphotos_74390343-Smiling-software-developer.jpg" alt="User Avatar" class="profile-avatar">
</div>
<h1>Ayush Kumar</h1>
<p class="tagline">Web Developer | Mentor | Designer</p>
<button class="btn contact-btn">Contact</button>
</div>

<div class="profile-details">
<div class="skills">
<h2>Skills</h2>
<div class="skill-item">
<span>HTML & CSS</span>
<div class="skill-rating">
<span>★★★★★</span>
</div>
</div>
<div class="skill-item">
<span>JavaScript</span>
<div class="skill-rating">
<span>★★★★☆</span>
</div>
</div>
<div class="skill-item">
<span>Graphic Design</span>
<div class="skill-rating">
<span>★★★★☆</span>
</div>
</div>
</div>

<div class="reviews">
<h2>Reviews</h2>
<div class="review-card">
<p>"Ayush's mentorship helped me gain confidence in web development. Highly recommended!"</p>
<span>- Rohit Gupta</span>
</div>
<div class="review-card">
<p>"His designs are creative and professional. Loved working with her!"</p>
<span>- Amir Khan</span>
</div>
</div>

<div class="availability">
<h2>Availability</h2>
<p>Mon - Fri: 9 AM - 5 PM</p>
<p>Sat: 10 AM - 2 PM</p>
</div>
</div>
</section>
</main>

</body>
</html>
196 changes: 196 additions & 0 deletions ProfilePage/profileCss.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Arial', sans-serif;
background: linear-gradient(135deg, #74b9ff, #a29bfe);
color: #333;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
}


header {
background-color: #34495e;
color: #fff;
padding: 10px 20px;
width: 100%;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header {
max-width: 1200px;
margin: auto;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-size: 1.5rem;
font-weight: bold;
}

.nav-links {
list-style: none;
display: flex;
gap: 20px;
}

.nav-links a {
color: #fff;
text-decoration: none;
font-size: 1rem;
}

.btn-logout {
background: #e74c3c;
color: white;
padding: 5px 10px;
border: none;
border-radius: 5px;
font-size: 0.9rem;
cursor: pointer;
transition: background 0.3s ease;
}

.btn-logout:hover {
background: #c0392b;
}


.profile-container {
max-width: 1200px;
margin: 40px auto;
display: grid;
grid-template-columns: 1fr 2fr;
gap: 30px;
width: 90%;
}

.profile-card {
background: white;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
}

.profile-avatar {
width: 150px;
height: 150px;
border-radius: 50%;
border: 4px solid #3498db;
margin: 20px auto;
}

.profile-card h1 {
font-size: 1.5rem;
color: #34495e;
margin: 10px 0;
}

.user-title {
color: #7f8c8d;
font-size: 1rem;
margin-bottom: 15px;
}

.about {
font-style: italic;
color: #34495e;
margin-bottom: 20px;
}

.contact-buttons .btn {
display: inline-block;
background: #3498db;
color: white;
padding: 10px 15px;
margin: 5px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
transition: background 0.3s ease;
}

.contact-buttons .btn:hover {
background: #2980b9;
}


.details-section {
display: grid;
gap: 20px;
}

.details-section h2 {
font-size: 1.3rem;
color: #34495e;
margin-bottom: 10px;
}

.section-card {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.skills-section ul {
list-style: none;
padding: 0;
margin: 0;
}

.skills-section ul li {
padding: 8px 0;
border-bottom: 1px solid #eaeaea;
}

.skills-section ul li:last-child {
border-bottom: none;
}

.testimonial {
background: #f4f4f4;
padding: 15px;
border-radius: 5px;
margin-bottom: 10px;
font-size: 0.95rem;
line-height: 1.5;
}

.testimonial span {
font-size: 0.85rem;
color: #7f8c8d;
display: block;
margin-top: 10px;
}

.availability-section p {
font-size: 1rem;
margin: 5px 0;
color: #555;
}


footer {
text-align: center;
padding: 10px 20px;
background: #34495e;
color: white;
margin-top: auto;
width: 100%;
font-size: 0.9rem;
}