-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard.html
More file actions
190 lines (170 loc) · 6.06 KB
/
dashboard.html
File metadata and controls
190 lines (170 loc) · 6.06 KB
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
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Personal Dashboard</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
display: flex;
color: black;
}
/* Sidebar */
.sidebar {
width: 280px;
height: 100vh;
background-color: rgba(26, 26, 46, 0.9);
padding: 20px;
position: fixed;
top: 0;
left: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
}
/* User Info */
.user-info {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.user-icon {
width: 40px;
height: 40px;
background-color: #00aaff;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 20px;
color: white;
margin-right: 10px;
}
.menu a {
display: block;
color: white;
text-decoration: none;
padding: 12px;
border-radius: 5px;
transition: background 0.3s;
}
.menu a:hover {
background-color: #00aaff;
}
/* Copyright */
.copyright {
color: #aaaaaa;
font-size: 14px;
text-align: center;
margin-top: auto;
padding-top: 20px;
}
/* Main Content */
.main-content {
margin-left: 280px;
padding: 20px;
flex: 1;
overflow-y: auto;
height: 100vh;
background-color: rgba(10, 10, 30, 0.9);
}
.news-tile {
background: white;
padding: 20px;
margin-bottom: 15px;
border-radius: 10px;
box-shadow: 0px 4px 6px rgba(0, 170, 255, 0.3);
}
/* Predefined News Images */
.news-image {
width: 100%;
max-height: 200px;
object-fit: cover;
border-radius: 5px;
}
/* Vote Buttons */
.vote-buttons {
margin-top: 10px;
}
.vote-buttons button {
background: none;
border: none;
font-size: 24px;
margin-right: 10px;
cursor: pointer;
transition: transform 0.2s;
}
.vote-buttons button:hover {
transform: scale(1.2);
}
.comment-box {
width: 100%;
padding: 8px;
margin-top: 10px;
border: none;
border-radius: 5px;
}
/* Dashboard Title */
.dashboard-title {
color: #00aaff;
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
}
</style>
</head>
<body>
<!-- Sidebar -->
<div class="sidebar">
<div class="user-info">
<div class="user-icon">👤</div>
<span>Anonymous User</span>
</div>
<p class="dashboard-title">Dashboard</p>
<nav class="menu">
<a href="#">GLOBAL</a>
<a href="#">BHARAT</a>
<a href="#">TRUST SCORE</a>
<a href="#">ABOUT US</a>
</nav>
<div class="copyright">Copyrights © 2025</div>
</div>
<!-- Main Content -->
<div class="main-content">
<!-- News Tile 1 -->
<div class="news-tile">
<h3>Global AI Regulations</h3>
<img class="news-image" src="https://img.freepik.com/premium-photo/futuristic-city-digital-network-technology-background_31965-23678.jpg?w=1200" alt="AI Regulations">
<p>Countries worldwide are collaborating to set new AI safety regulations. The initiative aims to prevent bias and misuse while ensuring fair decision-making by AI systems. Experts believe this will shape the future of ethical AI usage. Leading nations like the USA, UK, and India are taking proactive steps in defining robust AI policies. The discussions revolve around transparency, accountability, and the role of AI in governance.</p>
<div class="vote-buttons">
<button>❤️</button>
<button>😊</button>
<button>😲</button>
<button>😡</button>
<button>😢</button>
</div>
<input type="text" class="comment-box" maxlength="80" placeholder="Write a comment (Max 15 words)">
</div>
<!-- News Tile 2 -->
<div class="news-tile">
<h3>New Digital Identity Policy in India</h3>
<img class="news-image" src="https://img.freepik.com/premium-photo/blockchain-technology-concept-global-network-security_31965-11060.jpg?w=1200" alt="Digital Identity">
<p>India is rolling out an advanced digital identity verification system linked to Aadhaar. This move aims to enhance security, reduce fraud, and streamline government services. Citizens will experience faster and more secure authentication processes. The policy ensures better data protection and privacy safeguards. Government officials emphasize that this will boost financial inclusion and digital accessibility.</p>
<div class="vote-buttons">
<button>❤️</button>
<button>😊</button>
<button>😲</button>
<button>😡</button>
<button>😢</button>
</div>
<input type="text" class="comment-box" maxlength="80" placeholder="Write a comment (Max 15 words)">
</div>
</div>
</body>
</html>