-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
181 lines (167 loc) · 4.84 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AI Support for Domestic Abuse</title>
<style>
body {
font-family: "Arial", sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
background: url("./SASTRA-4.jpeg");
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
header {
background-color: #007bff;
color: #fff;
padding: 1em;
text-align: center;
}
main {
max-width: 800px;
margin: 2em auto;
padding: 1em;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#userInput {
width: 100%;
padding: 1em;
margin-bottom: 1em;
box-sizing: border-box;
}
#submitBtn {
background-color: #007bff;
color: #fff;
border: none;
margin-top: 25px;
padding: 0.5em 1em;
font-size: 1em;
cursor: pointer;
}
#submitBtn:hover {
color: #ffd700;
}
#infoSection {
text-align: center;
padding: 1em;
background-color: #007bff;
color: #fff;
font-weight: 700;
}
#awarenessQuotes {
margin-top: 2em;
text-align: center;
font-weight: 800;
background-color: #ffd700;
padding: 10px;
border-radius: 5px;
margin-top: 15px;
}
#quote {
font-style: italic;
}
#picturesSection {
margin-top: 2em;
font-weight: 700;
/* text-align: center; */
}
img {
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<header>
<h1>AI Support for Domestic Abuse</h1>
</header>
<main>
<div id="infoSection">
<h2>About Domestic Abuse</h2>
<p>
Domestic abuse includes any attempt by one person in a marriage or
intimate relationship to dominate and control the other. It extends
beyond partner relationships and can also be perpetrated by parents.
</p>
<p>
These behaviors can manifest in various forms, including physical,
emotional, economic, and psychological abuse. Lack of knowledge about
domestic abuse can create confusion, making it challenging for
individuals to understand and recognize the signs. This platform aims
to provide information, support, and resources to empower individuals
to navigate through these challenging situations.
</p>
<div
id="wisdomQuote"
style="
background-color: #ffd700;
padding: 10px;
border-radius: 5px;
margin-top: 15px;
"
>
<p
style="
font-style: italic;
font-weight: 800;
text-align: center;
color: #333;
"
>
"Violence cannot be stopped by violence, it has to be stopped by
wisdom. Only wisdom can stop violence."
</p>
</div>
</div>
<div id="userInput">
<h2 style="color: #007bff">Share what you're going through</h2>
<p style="font-weight: 700">
If you're ready to share what you're feeling or going through, we're
here to listen and provide support.
</p>
<form action="/predict" method="post">
<textarea
name="user_input"
rows="4"
style="width: 80%"
placeholder="Type your thoughts here"
></textarea>
<br />
<button id="submitBtn" type="submit" style="border-radius: 10px">
Submit
</button>
</form>
</div>
<div id="awarenessQuotes">
<p id="quote">"Your voice matters. Speak up against domestic abuse."</p>
</div>
<div id="picturesSection">
<h2 style="color: #007bff">
Signs You May Be Experiencing Domestic Abuse
</h2>
<ul>
<li>Obvious or hidden cuts and bruises</li>
<li>Behaving apprehensively in the presence of a partner</li>
<li>
Routinely making excuses for a partner’s behavior in public or
towards loved ones
</li>
<li>Having limited control over finances</li>
<li>Meeting fewer times with family members and loved ones</li>
<li>
Living in constant fear: of saying the wrong thing, contradicting a
partner, or refusing sex
</li>
</ul>
</div>
</main>
</body>
</html>