Rajeev-Isaac commited on
Commit
4813944
·
verified ·
1 Parent(s): 74694be

Upload 3 files

Browse files
templates/NyaaySahaayak.html ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Nyaay Sahaayak</title>
7
+ <link rel="stylesheet" type="text/css" href="styles.css"/>
8
+ </head>
9
+ <body>
10
+ <header class="container header">
11
+
12
+ <nav class="nav">
13
+ <div class="logo">
14
+ <h2>Nyaay Sahaayak</h2>
15
+ </div>
16
+ </nav>
17
+ </header>
18
+ <div class="body1">
19
+ <div id ="instruct" class="Instruct">
20
+ <h2>
21
+ FAQs
22
+ </h2>
23
+ <button class="faqs-button ">
24
+ What are the fundamental rights guaranteed by the Indian Constitution?
25
+ </button>
26
+ <button class="faqs-button ">
27
+ What are the rights of an accused person in India?
28
+ </button>
29
+ <button class="faqs-button ">
30
+ What are the legal requirements for starting a business in India?
31
+ </button>
32
+ <button class="faqs-button ">
33
+ What are the rights of women and minorities under Indian law?
34
+ </button>
35
+ <button class="faqs-button ">
36
+ What is the procedure for filing a case in Indian courts?
37
+ </button>
38
+ <p>
39
+
40
+ </p>
41
+ </div>
42
+ <div class="container">
43
+ <div class="chat-box" id="chatBox"></div>
44
+ <div class="input-box">
45
+ <input type="text" id="user-input" placeholder="Ask Nyaay Sahaayak...">
46
+ </div>
47
+ <p style="font-size: 1vw; color: grey; text-align: center; margin-top: 8px;">Nyaay Sahaayak provides general guidance on Indian laws, but it's not a substitute for professional legal advice; use responsibly.</p>
48
+ </div>
49
+ <div id ="instruct" class="Warn">
50
+ <h2 id="changingHeading">
51
+ Attention
52
+ </h2>
53
+ <p id="changingText" style="padding-left:10px; margin-right: vw; text-align: left; margin-top: 0.5vw;">
54
+ Kindly ensure your queries are specific and relevant to Indian legal matters. Maintaining clarity and focus in your questions will optimize the Nyaay Sahaayak's assistance. Thank you for your cooperation.
55
+ </p>
56
+ </div>
57
+ </div>
58
+
59
+ <script src="script1.js">
60
+ </script>
61
+ </body>
62
+ </html>
templates/example.html ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Chat Interface</title>
7
+ <style>
8
+ body {
9
+ margin: 0;
10
+ padding: 0;
11
+ font-family: Arial, sans-serif;
12
+ }
13
+ .container {
14
+ display: flex;
15
+ flex-direction: column;
16
+ height: 100vh;
17
+ }
18
+ header {
19
+ background-color: #f2f2f2;
20
+ padding: 20px;
21
+ text-align: center;
22
+ }
23
+ .chat-wrapper {
24
+ flex: 1;
25
+ display: flex;
26
+ }
27
+ .instructions {
28
+ flex: 1;
29
+ background-color: #e6f2ff;
30
+ padding: 20px;
31
+ }
32
+ .warning {
33
+ flex: 1;
34
+ background-color: #ffe6e6;
35
+ padding: 20px;
36
+ }
37
+ .logo {
38
+ text-align: center;
39
+ padding: 20px;
40
+ }
41
+ </style>
42
+ </head>
43
+ <body>
44
+ <div class="container">
45
+ <header>
46
+ <div class="logo">
47
+ <img src="your_logo.png" alt="Your Logo" width="150">
48
+ </div>
49
+ </header>
50
+ <div class="chat-wrapper">
51
+ <div class="instructions">
52
+ <h2>Instructions:</h2>
53
+ <p>Enter your message in the chat box and press send.</p>
54
+ <p>Wait for the response.</p>
55
+ </div>
56
+ <div class="warning">
57
+ <h2>Warning:</h2>
58
+ <p>Be cautious with the information you share in the chat.</p>
59
+ <p>Avoid sharing sensitive or personal details.</p>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </body>
64
+ </html>
templates/index.html ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8" />
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
+ <title>Homepage</title>
9
+
10
+ <link ... href="{{ url_for('static', filename='style.css') }}" />
11
+
12
+ <link
13
+ href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css"
14
+ rel="stylesheet"/>
15
+
16
+
17
+ <link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet" />
18
+ <link rel = "stylesheet" href="indexstyles.css">
19
+
20
+ </head>
21
+ <body>
22
+
23
+
24
+ <header class="container header">
25
+
26
+ <nav class="nav">
27
+ <div class="logo">
28
+ <h2>Nyaay Sahaayak</h2>
29
+ </div>
30
+
31
+ <div class="nav_menu" id="nav_menu">
32
+ <button class="close_btn" id="close_btn">
33
+ <i class="ri-close-fill"></i>
34
+ </button>
35
+
36
+ <ul class="nav_menu_list">
37
+ <li class="nav_menu_item">
38
+ <a href="#" class="nav_menu_link" onclick="scrollToIntro()">Introduction</a>
39
+ </li>
40
+ <li class="nav_menu_item">
41
+ <a href="#" class="nav_menu_link" onclick="scrollToFeatures()">Features</a>
42
+ </li>
43
+ <li class="nav_menu_item">
44
+ <a href="#" class="nav_menu_link" onclick="scrollToTech()">TechStack</a>
45
+ </li>
46
+ <li class="nav_menu_item">
47
+ <a href="#" class="nav_menu_link" onclick="scrollToAboutus()">The Team</a>
48
+ </li>
49
+ </ul>
50
+ </div>
51
+
52
+ <button class="toggle_btn" id="toggle_btn">
53
+ <i class="ri-menu-line"></i>
54
+ </button>
55
+ </nav>
56
+ </header>
57
+
58
+ <section class="wrapper">
59
+ <div class="container">
60
+ <div class="grid-cols-2">
61
+ <div class="grid-item-1">
62
+ <h1 class="main-heading">
63
+ <span>Nyaay Sahaayak</span>
64
+ <br />
65
+ Legal Empowerment Redefined
66
+ </h1>
67
+ <p class="info-text">
68
+ A comprehensive platform for legal awareness,seamlessly responds in multiple languages
69
+ </p>
70
+
71
+ <div class="btn_wrapper">
72
+ <a href="NyaaySahaayak">
73
+ <button class="btn view_more_btn">
74
+ Get Started
75
+ </button>
76
+ </a>
77
+
78
+ </div>
79
+ </div>
80
+ <div class="grid-item-2">
81
+ <div class="team_img_wrapper">
82
+ <img src="team.svg" alt="team-img" />
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </section>
88
+ <section id = "Intro" class="wrapper">
89
+ <div class="container">
90
+ <div style="font-family: Inter, sans-serif;font-size: 30px; margin-left: 30px; margin-bottom: 50px; color: #335EEA;">Introduction
91
+ <p class="info-text">Access to legal information and awareness is a challenge for
92
+ a large population in India, especially for those who are not
93
+ literate or are from marginalized communities. Our aim was to
94
+ develop a digital assistant that can provide legal information
95
+ and guidance to people in a user-friendly manner. The digital
96
+ assistant would be able to converse in multiple languages
97
+ and provide information in a concise and easy-to-understand
98
+ manner. The platform should be accessible through various
99
+ devices, including smartphones, tablets, and desktop
100
+ computers. </p>
101
+ </div>
102
+ <section id = "features" class="wrapper">
103
+ <div class="container">
104
+ <div style="font-family: Inter, sans-serif;font-size: 30px; margin-bottom: 50px; color: #335EEA;">Features
105
+ <p class="info-text">Welcome to our platform, where convenience and quality converge! Enjoy round-the-clock access, multilingual support, and trustworthy, free-of-cost services. Experience unparalleled convenience and excellence with us today.</p>
106
+ </div>
107
+ <div class="feature-box">
108
+ <div class="feature">
109
+ <img src="anywhere_icon.png" alt="Anywhere Icon">
110
+ <h3 style="color:#335EEA">Anywhere</h3>
111
+ <p>Access our service from anywhere in the world.</p>
112
+ </div>
113
+ <div class="feature">
114
+ <img src="anytime_icon.png" alt="Anytime Icon">
115
+ <h3 style="color:#335EEA">Anytime</h3>
116
+ <p>Available 24/7, whenever you need it.</p>
117
+ </div>
118
+ <div class="feature">
119
+ <img src="free_icon.png" alt="Free Icon">
120
+ <h3 style="color:#335EEA">Free of Cost</h3>
121
+ <p>Our service is completely free to use.</p>
122
+ </div>
123
+ <div class="feature">
124
+ <img src="multilingual_icon.png" alt="Multilingual Icon">
125
+ <h3 style="color:#335EEA">Multilingual</h3>
126
+ <p>Supports multiple languages for global accessibility.</p>
127
+ </div>
128
+ <div class="feature">
129
+ <img src="quick_easy_icon.png" alt="Quick & Easy Icon">
130
+ <h3 style="color:#335EEA">Quick & Easy</h3>
131
+ <p>Simple and intuitive interface for fast usage.</p>
132
+ </div>
133
+ <div class="feature">
134
+ <img src="authentic_icon.png" alt="Authentic Info Icon">
135
+ <h3 style="color:#335EEA">Authentic Info</h3>
136
+ <p>Reliable and trustworthy information provided.</p>
137
+ </div>
138
+ </div>
139
+ </div>
140
+ </section>
141
+
142
+ <section id="Tech" class="wrapper">
143
+ <div class="container">
144
+ <div style="font-family: Inter, sans-serif;font-size: 30px; margin-bottom: 50px; color: #335EEA;">TechStack
145
+ <p class="info-text"> Explore the technologies powering our project! We've utilized a diverse tech stack to bring our vision to life. From front-end to back-end, our stack ensures seamless performance and robust functionality. Discover the technologies we've embraced to create our application:</p>
146
+ </div>
147
+ <div class="info-text">
148
+ <div class="technologies">
149
+ <div class="technology">
150
+ <img src="html_logo.png" alt="HTML">
151
+ <p>HTML</p>
152
+ </div>
153
+ <div class="technology">
154
+ <img src="css_logo.png" alt="CSS">
155
+ <p>CSS</p>
156
+ </div>
157
+ <div class="technology">
158
+ <img src="javascript_logo.png" alt="JavaScript">
159
+ <p>JavaScript</p>
160
+ </div>
161
+ <div class="technology">
162
+ <img src="python_logo.png" alt="Python">
163
+ <p>Python</p>
164
+ </div>
165
+ <div class="technology">
166
+ <img src="flask_logo.png" alt="flask">
167
+ <p>Flask</p>
168
+ </div>
169
+ <div class="technology">
170
+ <img src="gt_logo.png" alt="gt">
171
+ <p>Google Translate API</p>
172
+ </div>
173
+ <div class="technology">
174
+ <img src="gai.png" alt="gai">
175
+ <p>Google Generative AI</p>
176
+ </div>
177
+ <div class="technology">
178
+ <img src="faiss.png" alt="faiss">
179
+ <p>Facebook AI Similarity Search</p>
180
+ </div>
181
+ <div class="technology">
182
+ <img src="langchain.png" alt="langchain">
183
+ <p style=" margin-top: 40px;"> Langchain </p>
184
+ </div>
185
+ <div class="technology">
186
+ <img src="docker.png" alt="docker">
187
+ <p style=" margin-top: 25px;">Docker</p>
188
+ </div>
189
+ <div class="technology">
190
+ <img src="huggingface.png" alt="huggingface">
191
+ <p>Hugging Face</p>
192
+ </div>
193
+ <div class="technology">
194
+ <img src="huggingfacespaces.png" alt="huggingfacespaces">
195
+ <p>Hugging Face Spaces</p>
196
+ </div>
197
+ </div>
198
+ </div>
199
+
200
+ </section>
201
+
202
+ <section id="Aboutus" class="wrapper">
203
+
204
+ <div class="container">
205
+ <div style="font-family: Inter, sans-serif;font-size: 30px; margin-bottom: 50px; color: #335EEA;">About us
206
+ <p class="info-text"> Get to know us! We're a dynamic team of aspiring computer science students, fueled by our passion for innovation and technology. With a shared vision for learning and collaboration, we've embarked on a journey to create our first project together. Learn more about our backgrounds, aspirations, and journey below.</p>
207
+ </div>
208
+ <div class="team">
209
+
210
+ <div class="team-member">
211
+ <img src="team_member1.jpg" alt="Team Member 1">
212
+ <h3 style="color:#335EEA">Rajeev Isaac</h3>
213
+ <p>CSE B</p>
214
+ <p>Neil Gogte Institute of Technology</p>
215
+ </div>
216
+ <div class="team-member">
217
+ <img src="team_member1.jpg" alt="Team Member 2">
218
+ <h3 style="color:#335EEA">Nitin</h3>
219
+ <p>CSE-B</p>
220
+ <p>Neil Gogte Institute of Technology</p>
221
+ </div>
222
+ <div class="team-member">
223
+ <img src="team_member1.jpg" alt="Team Member 3">
224
+ <h3 style="color:#335EEA">Vishal</h3>
225
+ <p>CSE-B</p>
226
+ <p>Neil Gogte Institute of Technology</p>
227
+ </div>
228
+ <div class="team-member">
229
+ <img src="team_member1.jpg" alt="Team Member 4">
230
+ <h3 style="color:#335EEA">Shankar</h3>
231
+ <p>CSE-B</p>
232
+ <p>Neil Gogte Institute of Technology</p>
233
+ </div>
234
+ <div class="team-member">
235
+ <img src="team_member1.jpg" alt="Team Member 5">
236
+ <h3 style="color:#335EEA">Manikanta</h3>
237
+ <p>CSE-B</p>
238
+ <p>Neil Gogte Institute of Technology</p>
239
+ </div>
240
+ <div class="team-member">
241
+ <img src="team_member1.jpg" alt="Team Member 6">
242
+ <h3 style="color:#335EEA">Bhanu Prasad</h3>
243
+ <p>CSE-A</p>
244
+ <p>Neil Gogte Institute of Technology</p>
245
+ </div>
246
+ </div>
247
+ </div>
248
+ </section>
249
+
250
+
251
+
252
+ <!-- ==== ANIMATE ON SCROLL JS CDN -->
253
+ <script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
254
+ <!-- ==== GSAP CDN ==== -->
255
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.8.0/gsap.min.js"></script>
256
+ <!-- ==== SCRIPT.JS ==== -->
257
+ <script src="./script.js" defer></script>
258
+ <script>
259
+ function scrollToFeatures() {
260
+ var featuresSection = document.getElementById('features');
261
+ featuresSection.scrollIntoView({ behavior: 'smooth' });
262
+ }
263
+ function scrollToAboutus() {
264
+ var featuresSection = document.getElementById('Aboutus');
265
+ featuresSection.scrollIntoView({ behavior: 'smooth' });
266
+ }
267
+ function scrollToTech() {
268
+ var featuresSection = document.getElementById('Tech');
269
+ featuresSection.scrollIntoView({ behavior: 'smooth' });
270
+ }
271
+ function scrollToIntro() {
272
+ var featuresSection = document.getElementById('Intro');
273
+ featuresSection.scrollIntoView({ behavior: 'smooth' });
274
+ }
275
+
276
+ </script>
277
+ </body>
278
+ <footer>
279
+ <div class="footer-content">
280
+ <p>&copy; 2024 Nyaay Sahaayak. All rights reserved.</p>
281
+ <ul class="footer-links">
282
+ <li><a href="#">Privacy Policy</a></li>
283
+ <li><a href="#">Terms of Service</a></li>
284
+ <li><a href="#">Contact Us</a></li>
285
+ </ul>
286
+ </div>
287
+ </footer>
288
+ </html>