Initial commit
This commit is contained in:
139
templates/partials/home/grid_stats.html
Normal file
139
templates/partials/home/grid_stats.html
Normal file
@@ -0,0 +1,139 @@
|
||||
<div class="bg-transparent relative isolate overflow-hidden py-24">
|
||||
<div class="mx-auto max-w-7xl px-6 lg:px-8">
|
||||
<div class="mx-auto max-w-2xl lg:max-w-none">
|
||||
<div class="text-center">
|
||||
<h2 class="fade-in text-balance lg:text-5xl text-4xl font-normal tracking-tight text-white ">A Place to Live and Innovate</h2>
|
||||
<p class="mx-auto mt-6 max-w-3xl text-pretty lg:text-xl text-lg font-light text-gray-200 fade-in">Together, we aim to create a future that reflects our values. Here, we provide a safe and inspiring environment for startups to build solutions that can make a real difference. We believe that with technology, collaboration, and good intentions, anything is possible.</p>
|
||||
</div>
|
||||
<dl class="items mt-16 grid grid-cols-1 gap-2 overflow-hidden rounded-2xl text-center sm:grid-cols-2 lg:grid-cols-5">
|
||||
<!-- planet -->
|
||||
<div class="fade-in flex flex-col justify-center items-center bg-white/5 p-6">
|
||||
<div class="tooltip">
|
||||
<img src="images/icons/planet.svg" alt="cores" class="w-20 h-auto mx-auto py-2" />
|
||||
<dt class="order-first text-2xl font-semibold tracking-tight text-white">Planet First</dt>
|
||||
<dd class="text-sm/6 font-light text-gray-300">Utmost respect to mother earth in every action.</dd>
|
||||
</div>
|
||||
</div>
|
||||
<!-- people -->
|
||||
<div class="fade-in flex flex-col bg-white/5 p-6">
|
||||
<div class="tooltip">
|
||||
<img src="images/icons/people.svg" alt="cores" class="w-20 h-auto mx-auto py-2" />
|
||||
<dt class="order-first text-2xl font-semibold tracking-tight text-white">People First</dt>
|
||||
<dd class="text-sm/6 font-light text-gray-300">Bring equality of opportunities for everyone</dd>
|
||||
</div>
|
||||
</div>
|
||||
<!-- open -->
|
||||
<div class="fade-in flex flex-col bg-white/5 p-6">
|
||||
<div class="tooltip">
|
||||
<img src="images/icons/open.svg" alt="cores" class="w-20 h-auto mx-auto py-2" />
|
||||
<dd class="order-first text-2xl font-semibold tracking-tight text-white">Open Source</dd>
|
||||
<dt class="text-sm/6 font-light text-gray-300">Value open source methods for many aspects in life.</dt>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Simple -->
|
||||
<div class="fade-in flex flex-col bg-white/5 p-6">
|
||||
<div class="tooltip">
|
||||
<img src="images/icons/simple.svg" alt="cores" class="w-20 h-auto mx-auto py-2" />
|
||||
<dd class="order-first text-2xl font-semibold tracking-tight text-white">Simplicity</dd>
|
||||
<dt class="text-sm/6 font-light text-gray-300">Erase complexity of things that kills progress.</dt>
|
||||
</div>
|
||||
</div>
|
||||
<!-- authemtic -->
|
||||
<div class="fade-in flex flex-col bg-white/5 p-6">
|
||||
<div class="tooltip">
|
||||
<span class="tooltiptext">The total number of nodes on the grid. A node is a computer server 100% dedicated to the network.</span>
|
||||
<img src="images/icons/authentic.svg" alt="cores" class="w-20 h-auto mx-auto py-2" />
|
||||
<dt class="order-first text-2xl font-semibold tracking-tight text-white">Authenticity</dt>
|
||||
<dd class="text-sm/6 font-light text-gray-300">Commited to restore authenticity of people and information.</dd>
|
||||
</div>
|
||||
</div>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
// Initialize the countUp for each of the numbers
|
||||
new CountUp('ssd', 0, 1910, 0, 2.5).start();
|
||||
new CountUp('cores', 0, 46934, 0, 2.5).start();
|
||||
new CountUp('nodes', 0, 1596, 0, 2.5).start();
|
||||
new CountUp('countries', 0, 40, 0, 2.5).start();
|
||||
new CountUp('farms', 0, 900, 0, 2.5).start();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
/* Define the fade-in animation */
|
||||
@keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Apply the fade-in animation to elements with the 'fade-in' class */
|
||||
.fade-in {
|
||||
animation: fadeIn 4s ease-in-out forwards; /* Adjust the duration (2s) to make it slower or faster */
|
||||
}
|
||||
|
||||
/* Optional: Delay the animation for a more staggered effect */
|
||||
h2 {
|
||||
animation-delay: 0.5s; /* Delay for header */
|
||||
}
|
||||
|
||||
p {
|
||||
animation-delay: 1s; /* Delay for paragraphs */
|
||||
}
|
||||
|
||||
/* Tooltip container */
|
||||
|
||||
.tooltip {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
/* Tooltip text */
|
||||
.tooltip .tooltiptext {
|
||||
font-size: 12px;
|
||||
visibility: hidden;
|
||||
background-color: rgb(26 26 26 / 90%);
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 5px 10px;
|
||||
border-radius: 4px;
|
||||
|
||||
/* Position the tooltip text - see examples below! */
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
bottom: -7px;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
/* right: -60px; */
|
||||
}
|
||||
|
||||
/* Show the tooltip text when you mouse over the tooltip container */
|
||||
.tooltip:hover .tooltiptext {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.tooltip .tooltiptext {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
bottom: -7px !important;
|
||||
right: 0px !important;
|
||||
top: 0px !important;
|
||||
left: 0px !important;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user