+
{{
feature_card(
title="Decentralization",
@@ -250,43 +250,51 @@ extra:
{{ accordion(
+ id_accordion="accordion1"
question="What is Mycelium?",
description="Mycelium is an end-to-end encrypted IPv6 overlay network written in Rust. Each node joining the network receives an IP in the 400::/7 range, facilitating secure and private communications."
) }}
{{ accordion(
+ id_accordion="accordion2"
question="Is mycelium ready to scale to the world?",
description="No, Mycelium is not yet fully scalable to a global level. Currently, each network can support around 100,000 users, but multiple networks can be deployed to expand capacity. We anticipate resolving these scalability challenges by 2025."
) }}
{{ accordion(
+ id_accordion="accordion3"
question="How do I install Mycelium?",
- description="The Mycelium app supports iOS, macOS, Android and Windows. For Linux, a binary is available. Installation guides are available for both local machines and virtual machines running on the TFGrid. Note that Windows users need to have wintun.dll in the same directory as the Mycelium executable. Click here for more info."
+ description="The Mycelium app supports iOS, macOS, Android and Windows. For Linux, a binary is available. Installation guides are available for both local machines and virtual machines running on the TFGrid. Note that Windows users need to have wintun.dll in the same directory as the Mycelium executable."
) }}
{{ accordion(
+ id_accordion="accordion4"
question="How can I find and use my Mycelium address?",
description="Upon using the Mycelium app, you're assigned a unique Mycelium address. To copy this address, click the button located to the right of the displayed address in the app interface."
) }}
{{ accordion(
+ id_accordion="accordion5"
question="Can I deploy workloads on the TFGrid using Mycelium?",
description="Yes, after installing Mycelium, you can deploy workloads on the TFGrid and connect to them using the Mycelium network. Detailed deployment guides are available in the documentation."
) }}
{{ accordion(
+ id_accordion="accordion6"
question="Is there an API available for Mycelium?",
description="Yes, Mycelium offers an API for administrative operations, peer management, and message subsystem operations. Comprehensive API documentation can be found in the official Mycelium GitHub repository"
)
}}
{{ accordion(
+ id_accordion="accordion7"
question="What should I do if I encounter issues during installation or usage?",
description="If you face any challenges, refer to the troubleshooting section in the Mycelium documentation. Additionally, ensure that all prerequisites are met, such as having wintun.dll in the correct directory for Windows installations."
)
}}
{{ accordion(
+ id_accordion="accordion8"
question="How does Mycelium handle routing within its network?",
description="Mycelium incorporates core principles of the Babel routing protocol, enabling efficient and dynamic routing within its encrypted IPv6 overlay network."
)
diff --git a/css/code.css b/css/code.css
deleted file mode 100644
index 60120a3..0000000
--- a/css/code.css
+++ /dev/null
@@ -1,94 +0,0 @@
-code.language-html,
-code.language-css,
-code.language-md,
-code.language-cmd,
-code.language-bash,
-code.language-text,
-code.language-js,
-span.o,
-span.nx {
- color: rgb(255, 255, 255);
- line-height: 1.4;
-}
-span.c {
- color: hsl(120, 100%, 20%);
-}
-
-.active {
- color: #2E83FF;
-}
-
-span.p,
-span.s1,
-span.s2,
-span.nt {
- color: hsl(40, 100%, 30%);
-}
-
-span.gs,
-span.gh,
-span.ge {
- color: hsl(208, 100%, 50%);
-}
-
-span.gs {
- font-weight: bold;
-}
-
-span.ge {
- font-style: italic;
-}
-
-pre,
-code {
- @apply font-mono;
-}
-
-code {
- background-color: hsl(0, 0%, 98%);
- border-radius: 3px;
- color: hsl(120, 100%, 20%);
- font-size: 85%;
-}
-
-pre {
- margin: 0;
- margin: 0;
- padding: 1rem;
- overflow: scroll;
-}
-
-pre code {
- background-color: transparent;
- color: inherit;
- font-size: 100%;
- padding: 0;
-}
-
-.highlight {
- background-color: transparent;
- border-radius: 3px;
- margin: 0 0 0.5rem;
- padding: 0;
-
- & pre {
- margin-bottom: 0;
- overflow-x: auto;
- }
-
- & .lineno {
- color: hsla(0, 0%, 67%, 0.72);
- display: inline-block; /* Ensures the null space also isn't selectable */
- padding: 0 0.75rem 0 0.25rem;
- /* Make sure numbers aren't selectable */
- }
-}
-
-/* TODO: dark theme for future
-@media (prefers-color-scheme: dark) {
- code {
- color: #fff;
- background: hsl(200, 63%, 15%);
- }
-}
-*/
diff --git a/css/index.css b/css/index.css
index 123496a..1c2336e 100644
--- a/css/index.css
+++ b/css/index.css
@@ -1,7 +1,4 @@
-/*! purgecss start ignore */
-/* @import "nav.css"; */
-@import "code.css";
-/*! purgecss end ignore */
+
@import "tailwindcss/base";
@import "layout.css";
@@ -13,71 +10,79 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
/* Defaul lightMode */
-body.light-mode {
+body {
background-color: #ffffff;
color: #000000;
}
-body.light-mode .semigray {
-
- color: #424242 !important;
-}
-
-body.light-mode .semigray2 {
-
- color: #424242 !important;
-}
-
-body.light-mode .dropdown a{
- @apply
- px-0
- text-black
-}
-
-body.light-mode .dropdown{
- background-color: rgb(255 255 255 / 100%);
- color: #121212;
-}
-
-body.light-mode .d_menu {
- background-color: #e5e5e5;
-}
-
-body.light-mode .icon {
-
- fill: #424242 !important;
-}
-
-/* Dark Mode */
-body {
- background-color: #121212;
- color: #ffffff;
-}
-
body .semigray {
- color: #e5e7eb !important;
+
+ color: #424242 !important;
}
body .semigray2 {
- color: #d1d5db !important;
+
+ color: #424242 !important;
}
-body .icon {
- fill: #ffffff !important;
+body .nav a {
+ color: #333333 !important;
}
body .dropdown a{
@apply
px-0
- text-white
+ text-black
}
body .dropdown{
+ background-color: rgb(255 255 255 / 100%);
+ color: #121212;
+}
+
+body .d_menu {
+ background-color: #e5e5e5;
+}
+
+body .icon {
+
+ fill: #424242 !important;
+}
+
+/* Dark Mode */
+body.dark-mode {
+ background-color: #121212;
+ color: #ffffff;
+}
+
+body.dark-mode .nav a {
+ color: #ffffff !important;
+}
+
+body.dark-mode .semigray {
+ color: #e5e7eb !important;
+}
+
+body.dark-mode .semigray2 {
+ color: #d1d5db !important;
+}
+
+body.dark-mode .icon {
+ fill: #ffffff !important;
+}
+
+body.dark-mode .dropdown a{
+ @apply
+ px-0
+ text-white
+}
+
+body.dark-mode .dropdown{
background-color: rgb(0 0 0 / 50%);
color: #fff;
}
-body .d_menu {
+body.dark-mode .d_menu {
background-color: rgba(34 34 34);
}
@@ -267,10 +272,6 @@ background-color:#5596f5 !important;
}
-.blue{
- color:#2E83FF
-}
-
.nav p > a {
display: flex;
width: 100%;
diff --git a/css/index.css.bak b/css/index.css.bak
new file mode 100644
index 0000000..1c2336e
--- /dev/null
+++ b/css/index.css.bak
@@ -0,0 +1,743 @@
+
+
+@import "tailwindcss/base";
+@import "layout.css";
+@import "tailwindcss/components";
+@import "admonition.css";
+@import "tailwindcss/utilities";
+@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
+
+@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
+
+/* Defaul lightMode */
+body {
+ background-color: #ffffff;
+ color: #000000;
+}
+
+body .semigray {
+
+ color: #424242 !important;
+}
+
+body .semigray2 {
+
+ color: #424242 !important;
+}
+
+body .nav a {
+ color: #333333 !important;
+}
+
+body .dropdown a{
+ @apply
+ px-0
+ text-black
+}
+
+body .dropdown{
+ background-color: rgb(255 255 255 / 100%);
+ color: #121212;
+}
+
+body .d_menu {
+ background-color: #e5e5e5;
+}
+
+body .icon {
+
+ fill: #424242 !important;
+}
+
+/* Dark Mode */
+body.dark-mode {
+ background-color: #121212;
+ color: #ffffff;
+}
+
+body.dark-mode .nav a {
+ color: #ffffff !important;
+}
+
+body.dark-mode .semigray {
+ color: #e5e7eb !important;
+}
+
+body.dark-mode .semigray2 {
+ color: #d1d5db !important;
+}
+
+body.dark-mode .icon {
+ fill: #ffffff !important;
+}
+
+body.dark-mode .dropdown a{
+ @apply
+ px-0
+ text-white
+}
+
+body.dark-mode .dropdown{
+ background-color: rgb(0 0 0 / 50%);
+ color: #fff;
+}
+
+body.dark-mode .d_menu {
+ background-color: rgba(34 34 34);
+}
+
+
+
+
+
+/* Custom CSS for header partial */
+.backdrop-blur {
+ -webkit-backdrop-filter: blur(40px);
+}
+
+* {
+ font-family: "Inter", sans-serif;
+}
+
+.bg-semi-white {
+ background-color: rgba(255, 255, 255, 0.75);
+}
+
+.bg-dark-gradient {
+ background: rgba(16,16,16,1);
+ background: radial-gradient(circle, rgba(16,16,16,1) 0%, rgb(24, 24, 24) 50%, rgba(16,16,16,1) 100%);
+}
+
+.bg-black1 {
+ background-color: rgba(16,16,16,1);
+}
+
+.bg-transparent {
+ background-color: transparent;
+}
+
+
+
+/* Custom css allowing image styling in markdown */
+img[src*="#mx-auto"] {
+ margin: auto;
+}
+
+img[src*="#small"] {
+ width: 68px;
+}
+
+img[src*="#medium"] {
+ width: 400px;
+ margin: auto;
+}
+
+img[src*="#logo"] {
+ max-width: min(250px, 100%);
+ margin: auto;
+}
+
+img[src*="#icon"] {
+ width: 200px;
+ margin: auto;
+}
+
+img[src*="#social"] {
+ width: 60px;
+ margin: auto;
+}
+
+img[src*="#semilarge"] {
+ width: 500px;
+ margin: auto;
+}
+
+img[src*="#large"] {
+ width: 700px;
+ margin: auto;
+}
+
+img[src*="#tft_img"] {
+ width: 100px;
+ margin: auto;
+}
+
+img[src*="#absolute"] {
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+
+a img:hover{
+ opacity: 0.5 !important;
+ cursor: pointer;
+}
+
+/* new theme */
+
+.dropdown {
+
+ background-color: rgb(0 0 0 / 50%);
+ @apply
+ lg:text-lg
+ px-6
+ py-1
+ lg:mr-5
+ my-3
+ shadow
+ border-black
+ capitalize
+ leading-6
+ border-transparent
+ flex
+ flex-col
+ border-2
+ w-full
+ items-start
+ rounded
+ transition
+ hover:border-stone-700
+ /* hover:bg-stone-100 */
+ p-2
+ text-left
+ text-white
+}
+
+.dropdown a{
+ @apply
+ px-0
+ text-white
+}
+
+.subtitle {
+ background-color:#58CF77 !important;
+ color: #fff !important;
+ text-transform: uppercase;
+ /* font-weight: 600 !important; */
+}
+
+.green{
+
+ background-color:#58CF77 !important;
+ color: #fff !important;
+
+}
+
+.green:hover {
+background-color:#7ad993 !important;
+}
+.green a{
+ color: #fff !important;
+}
+
+.green:hover {
+background-color:#7ad993 !important;
+}
+
+.green_text{
+color: #58CF77 ;
+}
+
+
+ .blue_b{
+
+ background-color:#2E83FF !important;
+ color: #fff !important;
+
+}
+.blue_b a{
+ color: #fff !important;
+}
+
+.blue_b:hover {
+background-color:#5596f5 !important;
+}
+
+
+.footer-cust a{
+ color: #999;
+ cursor: pointer;
+}
+
+.footer-cust a:hover {
+ color: #c7c7c7;
+}
+
+.footer-cust h6{
+ margin-bottom: 15px;
+}
+
+.logo_size{
+ width:200px
+}
+
+
+.nav p > a {
+ display: flex;
+ width: 100%;
+ flex-direction: column;
+ align-items: flex-start;
+ text-align: left;
+ line-height: 1.5rem;
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+ transition-duration: 150ms;
+ border-radius: 0.25rem;
+ border-width: 2px;
+ border-color: transparent;
+ padding: 0.5rem;
+ margin-top: 0.75rem;
+ margin-bottom: 0.75rem;
+ display: inline-block;
+ border-width: 2px;
+ border-color: rgb(0 0 0 / var(--tw-border-opacity));
+ padding-left: 3rem;
+ padding-right: 3rem;
+ padding-top: 0.25rem;
+ padding-bottom: 0.25rem;
+ text-transform: capitalize;
+ box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
+}
+
+.nav p > a:hover {
+ --tw-border-opacity: 1;
+ border-color: rgb(231 229 228 / var(--tw-border-opacity));
+ --tw-bg-opacity: 1;
+ background-color: rgb(245 245 244 / var(--tw-bg-opacity));
+}
+
+.big_header{
+ font-size: 6rem !important;
+ font-weight: 500 !important;
+}
+
+.mycard{
+ height: 300px !important;
+}
+
+
+.mypartners{
+ height: 300px !important;
+
+}
+
+.key_card{
+
+ height: 250px;
+
+}
+
+
+@layer components {
+ h1 {
+ @apply text-4xl lg:text-6xl font-normal;
+ font-family: "Inter", sans-serif !important;
+ }
+ h2 {
+ @apply text-3xl lg:text-4xl my-4 font-normal leading-none;
+ font-family: "Inter", sans-serif !important;
+ }
+ h2 strong {
+ @apply font-semibold;
+ }
+ h3 {
+ @apply text-2xl lg:text-3xl my-4 font-extralight;
+ font-family: "Inter", sans-serif !important;
+ }
+ h3 strong {
+ @apply font-normal;
+ }
+ h4 {
+ @apply text-xl lg:text-2xl font-normal tracking-wider;
+ font-family: "Inter", sans-serif !important;
+
+ }
+ h5 {
+ @apply text-lg my-1 tracking-normal font-medium;
+ font-family: "Inter", sans-serif !important;
+
+ }
+ h6 {
+ @apply text-md not-italic font-normal my-1;
+ font-family: "Inter", sans-serif !important;
+ }
+ p {
+ @apply text-lg;
+
+ font-family: "Inter", sans-serif !important;
+ }
+ blockquote {
+ @apply border-l-4 border-gray-400 mx-2 my-2 p-2;
+ }
+ li {
+ @apply text-base lg:text-base font-normal;
+ }
+ li li {
+ @apply text-sm lg:text-sm font-light;
+ }
+ button {
+ @apply
+ inline-block
+ md:text-md
+ text-sm
+ lg:mr-3
+ py-1
+ my-2
+ border
+ rounded
+ shadow
+ border-gray-400
+ capitalize
+ bg-gray-200
+ }
+ .my-header h4{
+ color:#9f9f9f;
+
+ }
+
+ h3 a{
+ color:#ffffff;
+
+ }
+
+ h3 a:hover{
+ color:#b6b6b6;
+
+ }
+
+
+
+
+
+ .article h2{
+ font-size: 2.25rem;
+ font-family: "Inter", sans-serif;
+ line-height: 1.5;
+ font-weight: 700;
+ color:#e2e2e2;
+ }
+
+ .article h1{
+ font-family: "Inter", sans-serif;
+ }
+
+ }
+ .article p{
+ font-size: 1.125rem;
+ font-family: "Inter", sans-serif;
+ line-height: 1.7;
+ color:#e2e2e2
+ }
+
+ .post-content-text a, .article a{
+ color: #a5a5a5;
+ }
+
+ .post-content-text a:hover, .article a:hover{
+ color: #c6c9c8;
+ }
+
+ .article li{
+ font-size: 1.125rem;
+ font-family: "Inter", sans-serif;
+ line-height: 1.7;
+ color:#e2e2e2
+ }
+
+ .article h3{
+ font-weight: 400;
+
+ }
+
+ .article h4{
+ color: #fff !important;
+
+ }
+
+ .main-title {
+ font-family: "Inter", sans-serif;
+ }
+
+
+/* button:hover :is(:where(a)) {
+ color: #5e5e5e;
+} */
+
+button :is(:where(p)) {
+ color: #ddd;
+ font-weight: 400;
+}
+
+button a {
+ line-height: 1.3;
+ @apply
+ text-black
+ px-8
+}
+
+.long-text a{
+ padding-left: 2rem;
+ padding-right: 2rem;
+ --tw-text-opacity: 1;
+ color: rgb(0 0 0 / var(--tw-text-opacity));
+}
+
+a {
+ border-width: 0px;
+}
+
+header {
+ font-family: "Inter", sans-serif;
+}
+
+.nav_btn {
+ margin: 0 !important;
+ border: none !important;
+ box-shadow: none !important;
+}
+
+.quicklinks {
+ box-sizing: border-box;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ width: auto;
+ margin: 0 auto;
+ border-radius: 10px;
+ margin-top: 30px;
+ -webkit-flex-wrap: wrap;
+ -ms-flex-wrap: wrap;
+ flex-wrap: wrap;
+ margin-bottom: 20px;
+}
+.quicklinks img {
+ height: auto;
+ max-width: 200px;
+ display: inline-block;
+ padding: 10px;
+ -webkit-filter: grayscale(100%);
+ filter: grayscale(100%);
+ position: relative;
+
+ -webkit-transition: all 0.2s ease;
+ transition: all 0.2s ease;
+ opacity: 0.5;
+}
+
+.quicklinks img:hover {
+ opacity: 1;
+ -webkit-transition: all 0.2s ease;
+ transition: all 0.2s ease;
+ -webkit-filter: grayscale(0%);
+ filter: grayscale(0%);
+}
+
+
+.banner {
+ width: 100%;
+ margin: 0;
+ padding: 120px 0;
+ text-align: center;
+ position: relative;
+ display: block;
+ color: #fff !important;
+ letter-spacing: 0.5px;
+ overflow: hidden;
+ background: #00838d;
+ transition: 1.5s;
+}
+
+.header {
+ height: auto;
+ background: none;
+ padding: 200px 0;
+}
+
+.banner h2,
+.header h1 {
+ margin: auto;
+ color: #fff;
+ position: relative;
+ transition: 0.3s;
+ z-index: 1;
+ white-space: nowrap;
+}
+
+.header h1 {
+ color: #000;
+ transition: none;
+}
+
+.banner h2 svg {
+ font-size: 40px;
+ margin-left: 15px;
+ position: absolute;
+ top: 55%;
+ transform: translateY(-50%) scale(0.5);
+ opacity: 0;
+ transition: 0.3s;
+}
+
+.banner .back {
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ top: 0;
+ left: 0;
+ background-position: center;
+ background-size: cover;
+ filter: grayscale(1) contrast(1.4);
+ opacity: 0.25;
+ transition: 1.5s;
+}
+
+.header .back {
+ filter: none;
+ opacity: 1;
+ background-position: center;
+
+ background-size: cover;
+ background-repeat: no-repeat;
+}
+
+.banner:hover {
+ background: #4b3a92;
+}
+
+.header:hover {
+ background: none;
+}
+
+.banner:hover h2 svg {
+ transform: translateY(-50%) scale(1);
+ opacity: 1;
+}
+
+.banner:hover h2 {
+ padding-right: 40px;
+}
+
+.header:hover h1 {
+ padding-right: 0;
+}
+
+.banner:hover .back {
+ transform: scale(1.03);
+}
+
+.header:hover .back {
+ transform: none;
+}
+
+.my-test{
+ font-family: "Inter", sans-serif;
+}
+.post-content-text .my-test {
+ font-family: "Inter", sans-serif;
+ line-height: 1.7;
+}
+
+.post-content-text h2 {
+ font-family: "Inter", sans-serif;
+ line-height: 1.5;
+ font-size: 2.25rem;
+ font-weight: 700;
+}
+.container-fluid {
+ width: 100%;
+ /* padding-right: 15px;
+ padding-left: 15px; */
+ margin-right: auto;
+ margin-left: auto;
+}
+
+.zola-anchor {
+ display: none;
+}
+@media (min-width: 1024px){
+ h2 {
+ font-size: 3.5rem;
+ }
+
+}
+
+@media (max-width: 1024px) {
+
+ .mycard{
+ height: auto !important;
+ }
+
+}
+
+@media (max-width: 640px) {
+ .banner h2 {
+ font: 600 7vw/10vw;
+ }
+
+ .header h1 {
+ font-size: 35px;
+ }
+
+ .banner h2 svg {
+ font-size: 30px;
+ }
+ .arrow img{
+ -moz-transform:rotate(90deg);
+ -webkit-transform:rotate(90deg);
+ -ms-transform:rotate(90deg);
+ transform: rotate(90deg);
+ }
+
+ .mycard{
+ height: auto !important;
+ }
+}
+
+@media (max-width: 480px) {
+ .banner,
+ .header {
+ padding: 80px 0;
+ }
+
+ .article h2{
+ font-size: 1.5rem;
+ }
+
+ img[src*="#medium"] {
+ width: 250px;
+ margin: auto;
+ }
+
+ img[src*="#sm_none"] {
+ display: none;
+ }
+
+ .big_header{
+ font-size: 4rem !important;
+
+ }
+
+ .mytest{
+ height: auto;
+ }
+
+ .card_h {
+ height: auto !important;
+ }
+
+ .mycard{
+ height: auto !important;
+ }
+
+ .key_card{
+ height: auto;
+ }
+
+ .mypartners{
+ height: auto;
+
+ }
+
+}
+
diff --git a/static/images/404_1.png b/static/images/404_1.png
new file mode 100644
index 0000000..0fc94a7
Binary files /dev/null and b/static/images/404_1.png differ
diff --git a/static/images/about1.jpg b/static/images/about1.jpg
deleted file mode 100644
index 353bb22..0000000
Binary files a/static/images/about1.jpg and /dev/null differ
diff --git a/static/images/about2.jpg b/static/images/about2.jpg
deleted file mode 100644
index b368cda..0000000
Binary files a/static/images/about2.jpg and /dev/null differ
diff --git a/static/images/about3.jpg b/static/images/about3.jpg
deleted file mode 100644
index e0e2c6b..0000000
Binary files a/static/images/about3.jpg and /dev/null differ
diff --git a/static/images/about4.jpg b/static/images/about4.jpg
deleted file mode 100644
index d22d664..0000000
Binary files a/static/images/about4.jpg and /dev/null differ
diff --git a/static/images/ai.jpg b/static/images/ai.jpg
deleted file mode 100644
index 9a28c24..0000000
Binary files a/static/images/ai.jpg and /dev/null differ
diff --git a/static/images/asset.jpg b/static/images/asset.jpg
deleted file mode 100644
index 30c353b..0000000
Binary files a/static/images/asset.jpg and /dev/null differ
diff --git a/static/images/bot2.jpg b/static/images/bot2.jpg
deleted file mode 100644
index 8062d49..0000000
Binary files a/static/images/bot2.jpg and /dev/null differ
diff --git a/static/images/datacenter.jpg b/static/images/datacenter.jpg
deleted file mode 100644
index db61937..0000000
Binary files a/static/images/datacenter.jpg and /dev/null differ
diff --git a/static/images/dc.jpg b/static/images/dc.jpg
deleted file mode 100644
index 6c22071..0000000
Binary files a/static/images/dc.jpg and /dev/null differ
diff --git a/static/images/dc2.jpg b/static/images/dc2.jpg
deleted file mode 100644
index 554cf5f..0000000
Binary files a/static/images/dc2.jpg and /dev/null differ
diff --git a/static/images/decent.png b/static/images/decent.png
deleted file mode 100644
index 273b03f..0000000
Binary files a/static/images/decent.png and /dev/null differ
diff --git a/static/images/digital.jpg b/static/images/digital.jpg
deleted file mode 100644
index d041bef..0000000
Binary files a/static/images/digital.jpg and /dev/null differ
diff --git a/static/images/eco.jpg b/static/images/eco.jpg
deleted file mode 100644
index 237a008..0000000
Binary files a/static/images/eco.jpg and /dev/null differ
diff --git a/static/images/eco2.jpg b/static/images/eco2.jpg
deleted file mode 100644
index 5325c4d..0000000
Binary files a/static/images/eco2.jpg and /dev/null differ
diff --git a/static/images/eco3.jpg b/static/images/eco3.jpg
deleted file mode 100644
index 37feefe..0000000
Binary files a/static/images/eco3.jpg and /dev/null differ
diff --git a/static/images/effic.png b/static/images/effic.png
deleted file mode 100644
index 71ebf4e..0000000
Binary files a/static/images/effic.png and /dev/null differ
diff --git a/static/images/feature6.png b/static/images/feature6.png
deleted file mode 100644
index 6f5b953..0000000
Binary files a/static/images/feature6.png and /dev/null differ
diff --git a/static/images/freezone.jpg b/static/images/freezone.jpg
deleted file mode 100644
index 7d78c69..0000000
Binary files a/static/images/freezone.jpg and /dev/null differ
diff --git a/static/images/freezone2.jpg b/static/images/freezone2.jpg
deleted file mode 100644
index c17c5b1..0000000
Binary files a/static/images/freezone2.jpg and /dev/null differ
diff --git a/static/images/fumba.jpg b/static/images/fumba.jpg
deleted file mode 100644
index 2b5c4a6..0000000
Binary files a/static/images/fumba.jpg and /dev/null differ
diff --git a/static/images/fumba.webp b/static/images/fumba.webp
deleted file mode 100644
index 2e93a08..0000000
Binary files a/static/images/fumba.webp and /dev/null differ
diff --git a/static/images/hero.png b/static/images/hero.png
deleted file mode 100644
index 8eee350..0000000
Binary files a/static/images/hero.png and /dev/null differ
diff --git a/static/images/hero2.png b/static/images/hero2.png
deleted file mode 100644
index 5fb7d1f..0000000
Binary files a/static/images/hero2.png and /dev/null differ
diff --git a/static/images/hero3.png b/static/images/hero3.png
deleted file mode 100644
index 473fd09..0000000
Binary files a/static/images/hero3.png and /dev/null differ
diff --git a/static/images/hero4.png b/static/images/hero4.png
deleted file mode 100644
index 1ed321e..0000000
Binary files a/static/images/hero4.png and /dev/null differ
diff --git a/static/images/hero5.png b/static/images/hero5.png
deleted file mode 100644
index 96b0e93..0000000
Binary files a/static/images/hero5.png and /dev/null differ
diff --git a/static/images/home.jpg b/static/images/home.jpg
deleted file mode 100644
index 803ca3b..0000000
Binary files a/static/images/home.jpg and /dev/null differ
diff --git a/static/images/home1.jpg b/static/images/home1.jpg
deleted file mode 100644
index 0dd178e..0000000
Binary files a/static/images/home1.jpg and /dev/null differ
diff --git a/static/images/mycel5.png b/static/images/mycel5.png
deleted file mode 100644
index b6455a6..0000000
Binary files a/static/images/mycel5.png and /dev/null differ
diff --git a/static/images/mycel_1.png b/static/images/mycel_1.png
index 33876c2..fb2f4fd 100644
Binary files a/static/images/mycel_1.png and b/static/images/mycel_1.png differ
diff --git a/static/images/new_logo_tft.png b/static/images/new_logo_tft.png
deleted file mode 100644
index 0696f4c..0000000
Binary files a/static/images/new_logo_tft.png and /dev/null differ
diff --git a/static/images/people_1.jpg b/static/images/people_1.jpg
deleted file mode 100644
index 6660d0e..0000000
Binary files a/static/images/people_1.jpg and /dev/null differ
diff --git a/static/images/people_2.jpg b/static/images/people_2.jpg
deleted file mode 100644
index 3621795..0000000
Binary files a/static/images/people_2.jpg and /dev/null differ
diff --git a/static/images/people_3.jpg b/static/images/people_3.jpg
deleted file mode 100644
index 015e8d5..0000000
Binary files a/static/images/people_3.jpg and /dev/null differ
diff --git a/static/images/people_4.jpg b/static/images/people_4.jpg
deleted file mode 100644
index 54d8537..0000000
Binary files a/static/images/people_4.jpg and /dev/null differ
diff --git a/static/images/people_5.jpg b/static/images/people_5.jpg
deleted file mode 100644
index d40346a..0000000
Binary files a/static/images/people_5.jpg and /dev/null differ
diff --git a/static/images/resil.png b/static/images/resil.png
deleted file mode 100644
index 3c6e1ab..0000000
Binary files a/static/images/resil.png and /dev/null differ
diff --git a/static/images/startup.jpg b/static/images/startup.jpg
deleted file mode 100644
index ab13696..0000000
Binary files a/static/images/startup.jpg and /dev/null differ
diff --git a/static/images/startup1.jpg b/static/images/startup1.jpg
deleted file mode 100644
index f68ef6d..0000000
Binary files a/static/images/startup1.jpg and /dev/null differ
diff --git a/static/images/twin.jpg b/static/images/twin.jpg
deleted file mode 100644
index 4d263b7..0000000
Binary files a/static/images/twin.jpg and /dev/null differ
diff --git a/static/images/znz.jpg b/static/images/znz.jpg
deleted file mode 100644
index f163243..0000000
Binary files a/static/images/znz.jpg and /dev/null differ
diff --git a/static/images/zone.jpg b/static/images/zone.jpg
deleted file mode 100644
index 1283d7b..0000000
Binary files a/static/images/zone.jpg and /dev/null differ
diff --git a/static/images/zone1.jpg b/static/images/zone1.jpg
deleted file mode 100644
index a79d938..0000000
Binary files a/static/images/zone1.jpg and /dev/null differ
diff --git a/static/images/zone2.jpg b/static/images/zone2.jpg
deleted file mode 100644
index f543b89..0000000
Binary files a/static/images/zone2.jpg and /dev/null differ
diff --git a/static/js/custom.js b/static/js/custom.js
index f22048e..e879bee 100644
--- a/static/js/custom.js
+++ b/static/js/custom.js
@@ -164,33 +164,33 @@ function readingTime() {
}
}
-async function getStats() {
- try {
- const stats = await fetch(
- "https://stats.grid.tf/api/stats-summary"
- ).then((res) => res.json());
- return formatStatsData(stats);
- } catch (error) {
- throw new Error(
- `Failed to retrieve data from network statistics: ${error}`
- );
- }
-}
+// async function getStats() {
+// try {
+// const stats = await fetch(
+// "https://stats.grid.tf/api/stats-summary"
+// ).then((res) => res.json());
+// return formatStatsData(stats);
+// } catch (error) {
+// throw new Error(
+// `Failed to retrieve data from network statistics: ${error}`
+// );
+// }
+// }
-function formatStatsData(stats) {
- let items = document.querySelector(".items");
- items.classList.remove("animate-pulse");
- document.getElementById("ssd").innerHTML = stats.ssd;
- document.getElementById("nodes").innerHTML = stats.nodes;
- document.getElementById("countries").innerHTML = stats.countries;
- document.getElementById("cores").innerHTML = stats.cores
- .toString()
- .replace(/\B(?=(\d{3})+(?!\d))/g, ",");
-}
+// function formatStatsData(stats) {
+// let items = document.querySelector(".items");
+// items.classList.remove("animate-pulse");
+// document.getElementById("ssd").innerHTML = stats.ssd;
+// document.getElementById("nodes").innerHTML = stats.nodes;
+// document.getElementById("countries").innerHTML = stats.countries;
+// document.getElementById("cores").innerHTML = stats.cores
+// .toString()
+// .replace(/\B(?=(\d{3})+(?!\d))/g, ",");
+// }
-readingTime();
-getStats();
-document.getElementById("year").innerHTML = new Date().getFullYear();
+// readingTime();
+// getStats();
+// document.getElementById("year").innerHTML = new Date().getFullYear();
// Get elements
@@ -201,11 +201,11 @@ const body = document.body;
document.addEventListener('DOMContentLoaded', () => {
const savedTheme = localStorage.getItem('theme') || 'light'; // Default is light mode
- if (savedTheme === 'light') {
- body.classList.add('light-mode');
+ if (savedTheme === 'dark') {
+ body.classList.add('dark-mode');
toggleSwitch.checked = true;
} else {
- body.classList.remove('light-mode');
+ body.classList.remove('dark-mode');
toggleSwitch.checked = false;
}
});
@@ -213,12 +213,11 @@ document.addEventListener('DOMContentLoaded', () => {
// Toggle between light and dark mode
toggleSwitch.addEventListener('change', () => {
if (toggleSwitch.checked) {
- body.classList.add('light-mode');
- localStorage.setItem('theme', 'light');
- } else {
- body.classList.remove('light-mode');
+ body.classList.add('dark-mode');
localStorage.setItem('theme', 'dark');
+ } else {
+ body.classList.remove('dark-mode');
+ localStorage.setItem('theme', 'light');
}
});
-
diff --git a/tailwind.config.js b/tailwind.config.js
index 1c659e7..eb65f68 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -1,30 +1,15 @@
const colors = require('tailwindcss/colors')
module.exports = {
+ darkMode: 'class',
content: [
'./templates/**/*.html'
],
safelist: [
- {
- pattern: /(-|)(ml|mr)-(4|8|12|16|20|24|28)/,
- variants: [
- 'sm', 'md', 'lg',
- 'first', 'first:sm', 'first:md', 'first:lg',
- 'last', 'last:sm', 'last:md', 'last:lg'
- ],
- },
- {
- pattern: /(pt|pb)-(0)/,
- variants: [
- '!', 'lg',
- 'first', 'first:sm', 'first:md', 'first:lg',
- 'last', 'last:sm', 'last:md', 'last:lg'
- ],
- },
- {
- pattern: /bg-teal-(50|100|200|300|400|500|600|700|800|900)/, // Added teal color safelist
- }
- ],
+ 'lg:grid-cols-3',
+ 'md:grid-cols-2',
+ 'grid-cols-1',
+],
important: true,
theme: {
diff --git a/templates/404.html b/templates/404.html
index 671202a..f3a4f44 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -10,7 +10,7 @@
You seem to have ended up on a missing page!
-
This could mean that you’ve entered the wrong URL or you’ve clicked on content which has moved locations or is no longer live. If you need assistance, click on the blue chat icon at the bottom of the screen to speak with real humans on our support team. Or go back to home.
+
This could mean that you’ve entered the wrong URL or you’ve clicked on content which has moved locations or is no longer live. If you need assistance, click on the blue chat icon at the bottom of the screen to speak with real humans on our support team. Or go back to home.
diff --git a/templates/partials/footer.html b/templates/partials/footer.html
index 5a18399..cdee99c 100644
--- a/templates/partials/footer.html
+++ b/templates/partials/footer.html
@@ -9,7 +9,15 @@