-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
132 lines (128 loc) · 3.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>adam's inbox</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
margin: 0;
text-align: center;
font-family: Helvetica, Arial, sans-serif;
background-color: #1e1e1e;
color: #e0e0e0;
text-transform: lowercase;
padding: 20px;
}
h1 {
margin-bottom: 5px;
color: #ffffff;
font-size: 2em;
white-space: nowrap;
}
.top-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
max-width: 400px;
padding: 10px;
background-color: #333333;
border-radius: 8px;
margin-bottom: 20px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}
.top-container button {
flex: 1;
padding: 10px 0;
background-color: #4e4e4e;
color: #e0e0e0;
border: none;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s;
margin: 0 3px;
border-radius: 5px;
}
.top-container button:hover {
background-color: #5a5a5a;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 400px;
padding: 20px;
background-color: #333333;
border-radius: 8px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}
form {
display: flex;
flex-direction: column;
width: 100%;
}
textarea {
margin: 10px 0;
padding: 10px;
font-size: 1rem;
border-radius: 5px;
background-color: #2a2a2a;
color: #e0e0e0;
border: 1px solid #555555;
width: 100%;
resize: none;
box-sizing: border-box;
}
button.submit-button {
cursor: pointer;
background-color: #6c757d;
color: white;
border: none;
padding: 10px;
border-radius: 5px;
font-size: 1rem;
transition: background-color 0.3s;
width: 100%;
box-sizing: border-box;
margin-top: 10px;
}
button.submit-button:hover {
background-color: #5a6268;
}
</style>
</head>
<body>
<!-- Navigation buttons with window.location.replace(...) -->
<div class="top-container">
<button onclick="navigateTo('thoughts')">my thoughts</button>
<button onclick="navigateTo('history')">qna history</button>
<button onclick="navigateTo('musik')">music arch</button> <!-- New Button Added -->
</div>
<div class="container">
<h1>welcome to my inbox</h1>
<form action="https://formsubmit.co/6bdfccabc1e5e889b40d38fcdb7b7f20" method="POST">
<input type="hidden" name="_next" value="https://adammady.github.io/qnasite/">
<textarea name="message" placeholder="ask a question" rows="4" required></textarea>
<button type="submit" class="submit-button">send anonymously</button>
</form>
</div>
<br>
<script>
// Replace the current page in history when navigating to subpages
function navigateTo(page) {
window.location.replace(page);
}
</script>
</body>
</html>