forked from lighthouse-labs/tweeter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (65 loc) · 2.93 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Information -->
<title>Tweeter - Home Page</title>
<!-- External CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" type="text/css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bungee&family=Source+Sans+Pro:ital,wght@0,300;0,600;1,300;1,600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous">
<!-- App CSS -->
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<link rel="stylesheet" href="styles/nav.css" type="text/css" />
<link rel="stylesheet" href="styles/header.css" type="text/css" />
<link rel="stylesheet" href="styles/new-tweet.css" type="text/css" />
<link rel="stylesheet" href="styles/tweet.css" type="text/css" />
<link rel="stylesheet" href="styles/media.css" type="text/css" />
<!-- External JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://kit.fontawesome.com/c608016465.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/timeago.js/4.0.2/timeago.min.js" integrity="sha512-SVDh1zH5N9ChofSlNAK43lcNS7lWze6DTVx1JCXH1Tmno+0/1jMpdbR8YDgDUfcUrPp1xyE53G42GFrcM0CMVg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body>
<!-- Top nav bar (fixed) -->
<nav class="navigation">
<span>tweeter</span>
<div class="toggle-compose">
<p><b>Write</b> a new tweet</p>
<i class="fas fa-angle-double-down"></i>
</div>
</nav>
<header>
<div>
<img src="images/profile-hex.png">
</div>
<br>
<div>
<h2>Tweetster</h2>
</div>
</header>
<!-- Page-specific (main) content here -->
<main class="container">
<section class="new-tweet">
<div id="error">
<h3></h3>
</div>
<form id="submit-form" method="POST" action="/tweets/">
<textarea name="text" id="tweet-text" placeholder="What are you humming about?"></textarea>
<footer>
<button id="submit-tweet" type="submit">Tweet</button>
<output name="counter" class="counter" for="tweet-text">140</output>
</footer>
</form>
</section>
<div id="tweets-container"></div>
<div id="toggle-top">
<i class="fas fa-angle-double-up"></i>
</div>
</main>
<!-- App JS -->
<script type="text/javascript" src="scripts/client.js"></script>
<script type="text/javascript" src="scripts/composer.js"></script>
</body>
</html>