-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
188 lines (177 loc) · 8.41 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
182
183
184
185
186
187
188
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ni Gute</title>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<link rel="stylesheet" type="text/css" href="css/responsive.css"/>
<link rel="stylesheet" type="text/css" href="css/login.css"/>
<script src="js/nav.js"></script>
<script src="js/login.js"></script>
<script src="https://kit.fontawesome.com/aa490ce6da.js" crossorigin="anonymous"></script>
<style>
@media(max-width: 1000px){
.mpopup-content {
width: 90%;
}
}
</style>
</head>
<body>
<div class="container">
<div class="head-row">
<div class="branding">
Ni Gute
</div>
<img src="images/menu-4-xxl.png" id="menu-button" onclick="openNav()" />
<p id="close" style="color: rgb(255, 255, 255);" onclick="closeMenu()">X</p>
<div class="navbar" id="nav">
<ul id="nav-list">
<li class="active"><a href="#">Ahabanza</a></li>
<li><a href="./english.html">English</a></li>
<li><a href="./sobanukirwa.html">Sobanukirwa</a></li>
<li><a href="./ni-gute.html">Ni Gute</a></li>
<li><a href="./amakuru.html">Amakuru</a></li>
<li><a href="./twandikire.html">Twandikire</a></li>
<li><a href="./abo-turibo.html">Abo turibo</a></li>
<li class="login"><a href="javascript:void(0);" id="mpopupLink">INJIRA</a></li>
</ul>
</div>
</div>
<div id="mpopupBox" class="mpopup">
<!-- mPopup content -->
<div class="mpopup-content">
<div class="mpopup-head">
<span class="close">×</span>
<h2>Injira mu bugenzuzi</h2>
</div>
<div class="mpopup-main">
<form>
<!--Add username-->
<label for="useremail">Izina ukoresha</label>
<input type="email" id="username" style="margin-bottom: 20px;" required>
<!--Add email-->
<label for="password">Password</label>
<input type="password" id="useremail" style="margin-bottom: 20px;" required>
<!--Enter to login-->
<input type="submit" value="Injira" id="loginbutton">
</form>
</div>
<div class="mpopup-foot">
<p>Wifuza gukorana natwe?<a href="./twandikire.html"> Kanda hano</a></p>
</div>
</div>
</div>
<div class="subscribe-row">
<div class="small-about">
<h1>Ni gute Mu Ikoranabuhanga</h1>
<p>Ni Gute ni urubuga rugamije gutuma buri muntu wese agira ubumenyi buhagije mu ikoranabuhanga, akaba ashobora kuba yakwikorera byinshi kandi agafasha n'abandi.
</p>
<button style="background-color: royalblue;"><a href="./abo-turibo.html" style="color: white;text-decoration:none;">Abo turibo</a></button><button style="background-color: rgb(83, 75, 61);"><a href="./twandikire.html" style="color: white;text-decoration:none;">Twandikire</a></button>
</div>
</div>
<div class="container-2">
<div class="posts">
<div class="mainpost" style="position: relative;margin: 0 auto;">
<img src="" alt="Ifoto nyamukuru" class="maincover" style="position: relative;">
<div style="position: absolute;background-color: black;color: white;bottom: 0;width: 100%;padding-right: 20px;padding-left: 20px;opacity: 60%;">
<h1 id="mainTitle"></h1>
<p id="mainDesc"></p>
</div>
<div class="middle">
<p></p>
</div>
</div>
<div class="post-wrapper index-post">
<div class="kiny-post">
<h2>Inkuru mu kinyarwanda</h2>
<hr>
</div>
<div class="eng-post">
<h2>Articles in English</h2>
<hr>
</div>
</div>
</div>
<div class="sidebar">
<div class="subscribe">
<form action="" class="subform">
<h2>Duhe email addressi yawe tujye tukugezaho inkuru nshya buri gihe</h2>
<input type="email" placeholder="Shyiramo emayiri yawe" required>
<button>Ohereza</button>
</form>
</div>
</div>
</div>
<div class="footer-row">
<div class="col-13">
<div class="small-about about-footer">
<h2>Ni gute Mu Ikoranabuhanga</h2>
<p>Ni Gute ni urubuga rugamije gutuma buri muntu wese agira ubumenyi buhagije mu ikoranabuhanga, akaba ashobora kuba yakwikorera byinshi kandi agafasha n'abandi.
</p>
<div class="social">
<a href="https://www.instagram.com/nigute_co_rw" target="_blank"><button class="fab fa-instagram ig"></button></a>
<a href="https://www.twitter.com/gute_ni" target="_blank"><button class="fab fa-twitter tw"></button></a>
<a href="https://www.facebook.com/niguterwanda" target="_blank" ><button class="fab fa-facebook-f fb"></button></a>
<a href="https://www.youtube.com/channel/UCt59iAym8A5FQp_oID7CGvw" target="_blank"><button class="fab fa-youtube yt"></button></a>
</div>
</div>
</div>
<div class="col-13">
<div class="contact">
<form class="form-contact">
<h2>Twandikire</h2>
<input type="text" placeholder="Andika izina ryawe" class="sender">
<input type="email" placeholder="Andika emayiri yawe" class="senderEmail">
<textarea placeholder="Shyiramo ubutumwa bwawe" class="senderMessage"></textarea>
<input type="button" value="Ohereza" class="btn-ohereza" style="background-color: royalblue;color: #fff;border: 1px solid royalblue;">
</form>
</div>
</div>
<div class="col-13">
<div class="latest">
<h2>Amafoto</h2>
<div class="imglat">
</div>
</div>
</div>
</div>
<div class="copyright">
<p>© Ni Gute 2020</p>
<p class="clock"></p>
<p>Made with love by <a href="#">Achille Songa</a></p>
</div>
</div>
<!--Login popup script-->
<script>
// get the mPopup
var mpopup = document.getElementById('mpopupBox');
// get the link that opens the mPopup
var mpLink = document.getElementById('mpopupLink');
// get the close action element
var close = document.getElementsByClassName("close")[0];
// open the mPopup once the link is clicked
mpLink.onclick = function(){
mpopup.style.display = "block";
}
// close the mPopup once close element is clicked
close.onclick = function(){
mpopup.style.display = "none";
}
// close the mPopup when user clicks outside of the box
window.onclick = function(event) {
if (event.target == mpopup) {
mpopup.style.display = "none";
}
}
</script>
<script src="https://www.gstatic.com/firebasejs/8.1.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.1.2/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.1.2/firebase-storage.js"></script>
<script src="../config/db.js"></script>
<script src="./js/homepage.js"></script>
<script src="./js/contact.js"></script>
<script src="./js/clock.js"></script>
</body>
</html>