-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.html
More file actions
85 lines (74 loc) · 3.22 KB
/
profile.html
File metadata and controls
85 lines (74 loc) · 3.22 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Edit Profile — DevLink</title>
<link rel="stylesheet" href="styles/theme.css">
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="styles/components/card.css">
<link rel="stylesheet" href="styles/components/forms.css">
<link rel="stylesheet" href="styles/components/buttons.css">
<link rel="stylesheet" href="styles/components/layout.css">
</head>
<body>
<header>
<div class="container header-content">
<a href="index.html" class="logo">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg>
DevLink
</a>
<nav class="nav-links">
<a href="index.html" class="nav-link">Feed</a>
<a href="profile.html" class="nav-link active">Profile</a>
<button id="theme-toggle" class="btn-icon" aria-label="Toggle Theme"></button>
</nav>
</div>
</header>
<main class="container" style="padding:2rem 0; max-width:800px;">
<div class="card">
<h1 style="margin-bottom:1.5rem;">Edit Profile</h1>
<form id="profile-form">
<div style="display:grid; grid-template-columns:1fr 1fr; gap:1rem;">
<div class="form-group">
<label class="form-label">Display Name</label>
<input id="name" class="form-input" required>
</div>
<div class="form-group">
<label class="form-label">Handle (@username)</label>
<input id="handle" class="form-input" required>
</div>
</div>
<div class="form-group">
<label class="form-label">Avatar Initials (2 chars)</label>
<input id="avatar" class="form-input" maxlength="2" style="width:120px; text-transform:uppercase;">
</div>
<div class="form-group">
<label class="form-label">Bio</label>
<textarea id="bio" class="form-textarea" rows="3"></textarea>
</div>
<div class="form-group">
<label class="form-label">Current Streak (Days)</label>
<input id="streak" class="form-input" type="number" min="0">
</div>
<div class="form-group">
<label class="form-label">Skills (comma separated)</label>
<input id="skills" class="form-input" placeholder="HTML, CSS, JavaScript...">
</div>
<div class="form-group">
<label class="form-label">Learning Goals</label>
<textarea id="goals" class="form-textarea" rows="2"></textarea>
</div>
<div style="display:flex; justify-content:flex-end; gap:1rem; margin-top:1.25rem;">
<a href="index.html" class="btn" style="background:transparent;">Cancel</a>
<button class="btn btn-primary" type="submit">Save Changes</button>
</div>
</form>
</div>
</main>
<script src="scripts/data.js"></script>
<script src="scripts/theme.js"></script>
<script src="scripts/utils.js"></script>
<script src="scripts/profile.js"></script>
</body>
</html>