-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
126 lines (120 loc) · 5.16 KB
/
index.html
File metadata and controls
126 lines (120 loc) · 5.16 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>JEOQ | Comedy & Funny Things</title>
<meta name="description" content="JEOQ is your home for comedy, jokes, and funny things." />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header class="site-header">
<nav class="navbar" aria-label="Main navigation">
<a class="brand" href="index.html" aria-label="JEOQ home">
<img src="assets/jeoq-logo.svg" alt="JEOQ logo" class="brand-logo" />
<span class="brand-text">JEOQ</span>
</a>
<div class="nav-right">
<form class="global-search" action="hashtags.html" method="get" role="search" aria-label="Search hashtags">
<input type="search" name="tag" placeholder="#fyp" aria-label="Search hashtags" />
<button type="submit" class="search-btn" aria-label="Search">🔍</button>
</form>
<ul class="nav-links">
<li><a href="saved.html">Saved</a></li>
<li><a href="plans.html">Plans</a></li>
</ul>
<button id="open-publish" class="nav-plus-btn" type="button" aria-label="Create post or video">+</button>
<a class="profile-link" href="profile.html" aria-label="Open profile page">
<span class="profile-icon" aria-hidden="true">👤</span>
<img id="nav-avatar" class="nav-avatar" src="assets/jeoq-logo.svg" alt="Profile picture" />
</a>
</div>
</nav>
</header>
<main class="app-shell">
<section class="feed-column">
<div class="feed-switch">
<button class="feed-tab active" type="button">For You</button>
<button class="feed-tab" type="button">Following</button>
</div>
<div id="feed-list"></div>
<p class="status feed-status" id="status" aria-live="polite"></p>
</section>
<section id="publish-panel" class="publish-panel is-hidden" aria-hidden="true">
<div class="publish-card card">
<div class="publish-head">
<h2>Post New Content</h2>
<button id="close-publish" class="close-publish" type="button" aria-label="Close create panel">✕</button>
</div>
<form class="publish-form" id="publish-form">
<label>
Content Type
<select name="type" required>
<option value="">Select one</option>
<option value="video">Video</option>
<option value="post">Post</option>
<option value="idea">Funny Idea</option>
</select>
</label>
<label>
Title
<input type="text" name="title" required />
</label>
<label>
Description
<textarea name="description" rows="4" required></textarea>
</label>
<div class="media-tools" aria-label="Video creation tools">
<label>
Upload Video
<input id="video-upload" type="file" name="videoFile" accept="video/*" />
</label>
<label>
Existing Sound
<select id="existing-sound" name="existingSound">
<option value="office_legend">Office Legend Beat</option>
<option value="pov_pun">POV Pun Track</option>
</select>
</label>
<label>
Video Length
<select id="video-length" name="videoLength">
<option value="10">10 seconds</option>
<option value="30">30 seconds</option>
<option value="60" selected>1 minute</option>
<option value="600">10 minutes</option>
</select>
</label>
<label>
Filter
<select id="video-filter" name="videoFilter">
<option value="none" selected>None</option>
<option value="warm">Warm</option>
<option value="cool">Cool</option>
<option value="bw">Black & White</option>
<option value="vivid">Vivid</option>
</select>
</label>
<div class="media-actions" role="group" aria-label="Camera and microphone recording controls">
<button id="start-recording" type="button">Start Recording</button>
<button id="stop-recording" type="button" disabled>Stop Recording</button>
<button id="clear-media" type="button" class="clear-media-btn">Clear Video</button>
</div>
<p id="recording-status" class="status media-status" aria-live="polite"></p>
<div id="media-preview-wrap" class="media-preview-wrap is-hidden" aria-live="polite">
<p id="recording-indicator" class="recording-indicator is-hidden">● REC</p>
<video id="media-preview" class="media-preview" controls playsinline muted></video>
</div>
</div>
<label>
Hashtags
<input type="text" name="hashtags" placeholder="#fyp #foryou #funny" />
</label>
<button type="submit">Publish</button>
</form>
</div>
</section>
</main>
<script src="script.js"></script>
</body>
</html>