-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
227 lines (204 loc) · 13 KB
/
blog.html
File metadata and controls
227 lines (204 loc) · 13 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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href = "/dist/output.css" rel ="stylesheet">
<link href="/style.css" rel="stylesheet" />
<link rel="stylesheet" href="./input.css" />
<script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
<title>Contact us</title>
</head>
<body class="bg-[#F5F5F5]">
<header class="flex justify-between px-[10%] py-[1%]">
<a href="" class="" >
<img src="./images/RR.png" alt="Reformaze Logo" width="5%" height="5%" />
</a>
<nav class="ml-[-80%]">
<ul class="flex gap-10">
<li><a href="index.html" class="opacity-80 active:opacity-100 text-md font-bold text-['#555555'] hover:text-black">Home</a></li>
<div class="relative inline-flex items-center">
<button id="dropdownDelayButton" data-dropdown-toggle="dropdownHover" data-dropdown-delay="0" data-dropdown-trigger="hover" class="text-[#555555] hover:text-black font-bold rounded-lg text-md text-center inline-flex items-center" type="button">
Our Focus <svg class="w-2.5 h-2.5 ml-2.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 4 4 4-4"/>
</svg>
</button>
<!-- Dropdown menu -->
<div id="dropdownDelay" class="z-10 hidden bg-white mt-2 divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 absolute top-full left-0">
<ul class="py-2 text-sm text-stone-950 dark:text-stone-950" aria-labelledby="dropdownDelayButton">
<li>
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-[#5ED053] dark:hover:text-white">Prison</a>
</li>
<li>
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-[#5ED053] dark:hover:text-white">Youth</a>
</li>
<li>
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-[#5ED053] dark:hover:text-white">Community</a>
</li>
</ul>
</div>
</div>
<li><a href="about.html" class="opacity-80 active:opacity-10 text-md font-bold text-['#555555'] hover:text-black">About Us</a></li>
<li>
<div class="relative inline-flex items-center">
<button id="dropdownDelayButton" data-dropdown-toggle="dropdownHover" data-dropdown-delay="0" data-dropdown-trigger="hover" class="text-[#555555] hover:text-black font-bold rounded-lg text-md text-center inline-flex items-center" type="button">
Projects <svg class="w-2.5 h-2.5 ml-2.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 4 4 4-4"/>
</svg>
</button>
<!-- Dropdown menu -->
<div id="dropdownDelay" class="z-10 bg-white mt-2 divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 absolute top-full left-0">
<ul class="py-2 text-sm text-stone-950 dark:text-stone-950" aria-labelledby="dropdownDelayButton">
<li>
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-[#5ED053] dark:hover:text-white">Career Development</a>
</li>
<li>
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-[#5ED053] dark:hover:text-white">Litigation</a>
</li>
<li>
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-[#5ED053] dark:hover:text-white">Re-integration</a>
</li>
</ul>
</div>
</div>
</li>
<li><a href="#" class="opacity-80 active:opacity-100 text-md font-bold text-['#555555'] hover:text-black">Blog</a></li>
<li>
<a href="contact.html" class="opacity-80 active:opacity-100 text-md font-bold text-['#555555'] hover:text-black">Contact</a>
</li>
</ul>
</nav>
</header>
<section class="bg-[url('/images/prison.jpg')] bg-cover bg-center h-[60vh] bg-no-repeat relative text-center ">
<div class="absolute bg-[rgba(0,0,0,0.6)] top-0 bottom-0 left-0 right-0 "></div>
<div class=" animate absolute bottom-[30%] w-[100%]">
<p class="font-bold text-5xl text-white">Blogs and Event</p>
<p class="text-white mt-8">Read. Be Inspired. Support</p>
<button class="bg-[#5ED053] rounded-lg h-16 w-[15%] px-5 mt-10 hover:bg-transparent hover:border-2 hover:border-white text-white uppercase text-sm font-bold tracking-wide">Donate Now</button>
</div>
</section>
<div class="mt-24 h-[80vh]">
<div class="relative">
<!-- <p class="text-center uppercase text-[20px]">What We Do</p> -->
<hr class="w-[15%] absolute left-[44.5%] "></hr>
</div>
<div class="grid grid-cols-2">
<div class="grid grid-cols-2 mt-10 justify-items-center px-64 gap-16">
<div class="flex flex-col relative -z-10 w-[400px]">
<img src="./images/chains.jpg" alt="Laptop image" class="hover:shadow-[rgba(0,0,0,0)] hover:shadow-inner" >
<div class="flex shadow-xl absolute p-3 z-40 left-[16%] top-[20%] h-[500px] rounded-br-[50px] rounded-tl-[50px] bg-white flex-col justify-center m-6 ">
<p class="font-bold text-stone-700 text-md mb-3">Convicts in Africa: A Historical Perspective and<br>Importance of Second Chances</p>
<div class="flex justify-between text-stone-600 font-bold">
<p class="italic">Aug. 10</p>
<p>21 <span><ion-icon name="browsers-outline"></ion-icon></span></p>
</div>
<p class="text-stone-700 w-72">
Africa's history is marked by significant challenges in addressing convicts within its society,
spanning from colonial times to the present day. This blog delves into the historical context of African convicts,
highlighting the adversity they encounter both in and out of prison, and underscores
the vital need for affording second chances to these individuals.
It emphasizes the role of rehabilitation organizations in instilling hope and facilitating
reintegration into society...
</p>
<a href="#" class="text-[#5ED053] font-bold">Load more...</a>
</div>
</div>
</div>
<div class="grid -ml-40 grid-cols-2 mt-16 ml-17 justify-items-center px-64 gap-16">
<div class="flex flex-col relative -z-10 w-[400px]">
<img src="./images/prisonprisoner.jpg" alt="Laptop image" class="hover:shadow-[rgba(0,0,0,0)] hover:shadow-inner" >
<div class="flex shadow-xl absolute p-3 z-40 left-[16%] top-[20%] h-[500px] rounded-br-[50px] rounded-tl-[50px] bg-white flex-col ">
<p class="font-bold text-stone-700 text-md pt-12 mb-3">Pulling Convicts out of the Ditch of Depression and Stigmatizations</p>
<div class="flex justify-between text-stone-600 font-bold">
<p class="italic">Aug. 12</p>
<p>21 <span><ion-icon name="browsers-outline"></ion-icon></span></p>
</div>
<p class="text-stone-700 ">
In African prisons, the environment is often overcrowded, unsanitary, and
lacks access to basic amenities. This harsh living conditions can significantly impact an individual's
mental well-being, leading to feelings of hopelessness, anxiety, and depression. Furthermore,
the stigmatization faced by former convicts upon release exacerbates their struggles, making it even more..
</p>
<a href="#" class="text-[#5ED053] font-bold">Load more...</a>
</div>
</div>
</div>
</div>
</div>
<button class="bg-[#5ED053] p-3 w-44 text-white rounded-[11px] ml-[40%] mt-9">OUR BLOG</button>
</section>
<footer class="grid mt-14 bg-[#302755] text-[#fff] relative bg-cover h-[50vh] grid-cols-5 p-[50px] gap-[10px] z-[-11] py-[150px]">
<div class="absolute top-0 left-0 bottom-0 right-0 bg-[rgba(0,0,0,0.8)] z-[-10]"></div>
<nav class="">
<p class="uppercase mb-[20px] tracking-[1.2px] text-[14px] font-bold">About Reformise</p>
<p class="text-[13px]">Facilis ipsum reprehenderit nemo molestias.
Aut cum mollitia reprehenderit. Eos cumque dicta adipisci architecto culpa amet.</p>
</nav>
<nav class="">
<p class="uppercase mb-[20px] tracking-[1.2px] text-[14px] font-bold">Learning</p>
<ul class="">
<li><a class="opacity-70 text-[14px] hover:underline " href="#">Course</a></li>
<li><a class="opacity-70 text-[14px] hover:underline" href="#">Blog</a></li>
<li><a class="opacity-70 text-[14px] hover:underline" href="#"> Contact</a></li>
<li><a class="opacity-70 text-[14px] hover:underline" href="#">Terms</a></li>
</ul>
</nav>
<nav class="">
<p class="uppercase mb-[20px] tracking-[1.2px] text-[14px] font-bold">Learn and Grow</p>
<ul class="">
<li><a class="opacity-70 text-[14px] hover:underline" href="#"> Blog</a></li>
<li><a class="opacity-70 text-[14px] hover:underline" href="#"> Privacy</a></li>
<li><a class="opacity-70 text-[14px] hover:underline" href="#">Testimonilas</a></li>
<li><a class="opacity-70 text-[14px] hover:underline" href="#">Handbook</a></li>
<li><a class="opacity-70 text-[14px] hover:underline" href="#">Help desk</a></li>
</ul>
</nav>
<nav class="nav-col">
<p class="footer-heading uppercase mb-[20px] tracking-[1.2px] text-[14px] font-bold">Engage Us</p>
<ul class="footer-nav">
<li><a class="footer-link opacity-70 text-[14px] hover:underline" href="#"> Blog</a></li>
<li><a class="footer-link opacity-70 text-[14px] hover:underline" href="#"> Privacy</a></li>
<li><a class="footer-link opacity-70 text-[14px] hover:underline" href="#">Testimonilas</a></li>
<li><a class="footer-link opacity-70 text-[14px] hover:underline" href="#">Handbook</a></li>
<li><a class="footer-link opacity-70 text-[14px] hover:underline" href="#">Help desk</a></li>
</ul>
</nav>
<nav class="nav-col">
<p class="footer-heading uppercase mb-[20px] tracking-[1.2px] text-[14px] font-bold">Legal</p>
<ul class="footer-nav">
<li><a class="footer-link opacity-70 text-[14px] hover:underline" href="#"> Blog</a></li>
<li><a class="footer-link opacity-70 text-[14px] hover:underline" href="#"> Privacy</a></li>
<li><a class="footer-link opacity-70 text-[14px] hover:underline" href="#">Testimonilas</a></li>
<li><a class="footer-link opacity-70 text-[14px] hover:underline" href="#">Handbook</a></li>
<li><a class="footer-link opacity-70 text-[14px] hover:underline" href="#">Help desk</a></li>
</ul>
</nav>
</footer>
<script>
// Get the button and the dropdown menu elements
const dropdownButton = document.getElementById('dropdownDelayButton');
const dropdownMenu = document.getElementById('dropdownDelay');
// Add event listener for button hover
dropdownButton.addEventListener('mouseenter', () => {
dropdownMenu.classList.remove('hidden');
});
// Add event listener for mouse leave (hide menu)
dropdownButton.addEventListener('mouseleave', () => {
// Use a delay before hiding the menu to allow time for moving to the menu
setTimeout(() => {
dropdownMenu.classList.add('hidden');
}, 800); // Adjust the delay as needed
});
// Add event listener for menu hover (prevent hiding on menu hover)
dropdownMenu.addEventListener('mouseenter', () => {
dropdownMenu.classList.remove('hidden');
});
// Add event listener for menu mouse leave (hide menu)
dropdownMenu.addEventListener('mouseleave', () => {
dropdownMenu.classList.add('hidden');
});
</script>
</body>
</html>