-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommunity-wall-discussion.html
91 lines (77 loc) · 3.64 KB
/
community-wall-discussion.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- viewport - follow the screen width https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap" rel="stylesheet">
<title>Community wall</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<section class="center margintop1">
<h2>Community wall - Event Details</h2>
<p>Curious what other students are thinking about this event? </p>
<h3>Join the discussion or <a class="orangelink" href="community-wall.html#">Go Back</a> to the main page</h3>
</section>
<article class="offer-details display-flex marginbottom3"> <!-- offers main container and ID for JS to trigger popup -->
<section><!-- single offer -->
<figure class="categories-img"> <!-- featured image -->
<img src="Images/event-1.jpg" alt="Laptop R5 AMD RTX3070Ti 256Gb">
</figure>
<section class="offer-content"> <!-- UQ's Wellbeing Festival 2022 -->
<h3>UQ's Wellbeing Festival 2022</h3>
</section>
<section class="offer-content"> <!-- Claim CTA & Original Price -->
<p class="community-desc">Wellbeing is essential to a productive study and work life. Join us for the first ever UQ's Wellbeing Festival.</p>
</section>
<section class="offer-content"> <!-- Claim CTA & Original Price -->
<h3 class="community-cta"><a href="https://life.uq.edu.au/wellbeing-festival/2022#Program" target="_blank">About Event</a></h3>
</section>
</section>
</article>
<div class="container">
<img src="Images/avatar-1.png" alt="Avatar" style="width:100%;">
<p>Has anyone been here before? </p>
<span class="time-right">11:00</span>
</div>
<div class="container darker">
<img src="Images/avatar-2.png" alt="Avatar" class="right" style="width:100%;">
<p>No, I'm interested in this event. Is this the correct link https://life.uq.edu.au/wellbeing-festival/2022#Program</p>
<span class="time-left">11:01</span>
</div>
<div class="container">
<img src="Images/avatar-1.png" alt="Avatar" style="width:100%;">
<p>That's the one! Would you like to go together? 🤩🥳</p>
<span class="time-right">11:02</span>
</div>
<div class="container darker">
<img src="Images/avatar-2.png" alt="Avatar" class="right" style="width:100%;">
<p>Yeah sure, let me check the dates, cause there were several next week 😵 </p>
<span class="time-left">11:05</span>
</div>
<!-- trigger chat discussion popup chat -->
<section class="center margintop3 marginbottom3">
<a class="primary" onclick="openForm()">Join Discussion</a>
</section>
<!-- popup message -->
<div class="chat-popup" id="myForm">
<form class="form-container">
<h1>Chat</h1>
<label for="msg"><b>Message</b></label>
<textarea placeholder="Type a message" name="msg" required></textarea>
<button type="submit" class="btn">Send Message</button>
<button type="button" class="btn cancel" onclick="closeForm()">X Close</button>
</form>
</div>
<!-- necessary functions for a popup -->
<script>
function openForm() {
document.getElementById("myForm").style.display = "block";
}
function closeForm() {
document.getElementById("myForm").style.display = "none";
}
</script>
</body>
</html>