-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIndex.html
More file actions
107 lines (93 loc) · 2.36 KB
/
Copy pathIndex.html
File metadata and controls
107 lines (93 loc) · 2.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cronos7-official</title>
<style>
body {
background-color: #121212;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
}
h1 {
text-align: center;
margin-top: 40px;
font-size: 2.5rem;
}
h6 {
color: #b3b3b3;
font-style: italic;
text-align: center;
max-width: 600px;
margin: 20px auto;
line-height: 1.4;
}
.navbar {
background-color: #ffe600;
padding: 15px;
display: flex;
justify-content: center;
gap: 15px;
position: sticky;
top: 0;
z-index: 20;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.navbar button {
padding: 10px 20px;
cursor: pointer;
font-weight: bold;
border-radius: 20px;
border: none;
background-color: #121212;
color: white;
transition: background-color 0.2s, transform 0.1s;
}
.navbar button:hover {
background-color: #333;
transform: scale(1.05);
}
.page {
display: none;
padding: 40px 20px;
text-align: center;
max-width: 800px;
margin: 0 auto;
}
.page.active {
display: block;
}
</style>
</head>
<body>
<nav class="navbar">
<button onclick="showPage('home')">Home</button>
<button onclick="showPage('feed')">Feed</button>
<button onclick="showPage('profile')">Profile</button>
</nav>
<main>
<div id="home" class="page active">
<h1>Welcome to Cronos7-official</h1>
<h6>This was done by Miguel C. Saldanha, Enzo Mourão, Daniel Oliveira, Carlos Henrique, Luíz Fernando, Guilherme Pires and Davi Luiz Silva.</h6>
</div>
<div id="feed" class="page">
<h1>Feed</h1>
<p>Posts from users will appear here once Firebase is connected!</p>
</div>
<div id="profile" class="page">
<h1>Profile</h1>
<p>User settings and information.</p>
</div>
</main>
<script>
function showPage(pageId) {
const pages = document.querySelectorAll('.page');
pages.forEach(page => page.classList.remove('active'));
document.getElementById(pageId).classList.add('active');
}
</script>
</body>
</html>