-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (77 loc) · 3.14 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
76
77
78
79
80
81
82
83
84
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Spektator Project</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header class="bg">
<h1>Welcome to the Spektator Project</h1>
<p>An AI-powered privacy law database for American Bar Association Members</p>
<p>Scroll down bottom to see our project concept design and more information</p>
</header>
<main class="content">
<div class="container">
<div class="header">
<h1>SPEKTATOR</h1>
<h2>Privacy Law at your fingertips</h2>
</div>
<div class="FAQ">
<script>
function autoGrow(element) {
element.style.height = "5px";
element.style.height = (element.scrollHeight)+"px";
}
</script>
<div class="question">
<label style="flex: 1">
<textarea id="savedSearches" placeholder="Enter your inquiry" oninput="autoGrow(this)" style="height: 38px"></textarea>
</label>
<button class="send-to-ai" onclick="getTextFromTextarea()">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" class="text-white dark:text-black">
<path d="M7 11L12 6L17 11M12 18V7" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</button>
</div>
<div class="info-AI">
<p>
We are a community of volunteer lawyers from the American Bar Association and programmers working together to make access to privacy laws (both foreign and domestic) easily accessible through a simple AI-powered user interface.
</p>
</div>
<div class="laws">
<div class="law">
<div id="placeHolderConversation">
<p>Place for your conversation</p>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>Created in collaboration between</p>
<img src="spektator-logo.png" alt="Spektator Logo" class="spektator-logo">
<img src="aba-logo.png" alt="ABA Logo" class="aba-logo">
</div>
</main>
<section class="empty-block">
<div class="login">
<h2>Login</h2>
<form id="loginForm" action="/login" method="post">
<label for="username">Username:</label><br>
<input type="text" id="username" name="username" autocomplete="off"><br>
<label for="password">Password:</label><br>
<input type="password" id="password" name="password"><br>
<input class="login-submit" type="submit" value="Submit">
</form>
</div>
</section>
<footer class="navbar-bottom">
<a href="#" class="nav-link">Contribute</a>
<a href="#" class="nav-link">Learn More</a>
<a href="#" class="nav-link">Help</a>
</footer>
<script src="script.js"></script>
</body>
</html>