Skip to content

Commit 2c424bb

Browse files
committed
Update roadmap versions and mobile UI improvements
1 parent 9f51662 commit 2c424bb

27 files changed

+27
-30
lines changed

src/components/Hero.astro

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ import GlowingBtn from "./GlowingBtn.astro";
1515
class="w-full max-w-[745px] flex flex-col gap-3.5 mb-3.75 items-center md:items-baseline"
1616
>
1717
<h1
18-
class="font-bold text-lg leading-9 backdrop-blur-md md:text-5xl md:leading-tight"
18+
class="font-bold text-xl leading-9 backdrop-blur-md md:text-5xl md:leading-tight"
1919
>
20-
Blockchain-based <span class="text-[#49FFB3] block">Decentralized</span> Media
21-
Network
20+
Blockchain-based <span class="text-[#49FFB3] md:block">Decentralized</span
21+
> Media Network
2222
</h1>
2323
<p
2424
class="text-white font-[Montserrat] text-xs md:text-base md:leading-5 max-w-md"

src/components/sections/Mindplex.astro

+6-4
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,27 @@
88
<div
99
class="text-center max-w-6xl lg:-ml-48 lg:px-36 lg:py-20 md:text-left md:p-[61px] bg-gradient-to-b from-[rgba(67,61,96,0.25)] to-[rgba(73,255,179,0.25)] shadow-[0_4px_4px_#002229] rounded-[26px] p-[10px_3px]"
1010
>
11-
<h1 class="font-bold text-[36px] leading-[44px] text-left pl-[11px]">
11+
<h1
12+
class="font-bold text-[36px] leading-[44px] md:text-left pl-[11px] text-center"
13+
>
1214
MINDPLEX
1315
</h1>
1416
<h5
15-
class="font-light my-[10px] text-[16px] leading-[27px] text-left pl-[11px] md:text-[30px]"
17+
class="font-light my-[10px] text-[16px] leading-[27px] text-center md:text-left pl-[11px] md:text-[30px]"
1618
>
1719
WHERE THE FUTURE IS [SUR]REAL
1820
</h5>
1921
<img src="/line.svg" alt=" " class="w-[90%] mb-[35px] md:w-[61%]" />
2022
<p
21-
class="font-light text-[16px] leading-[27px] text-left px-[14px_10px] pb-[27px] md:text-[19px]"
23+
class="font-light px-1 text-[16px] leading-[27px] text-left md:px-[14px_10px] pb-[27px] md:text-[19px]"
2224
>
2325
Mindplex is a ground-breaking AI technology project that offers a
2426
comprehensive suite of AI tools and services specifically designed for the
2527
media industry. Our platform operates as a membership network where
2628
members actively guide and contribute to the content creation process.
2729
With Mindplex, we are reimagining the future of media by combining
2830
cutting-edge concepts, blockchain tokens, and an innovative reputation
29-
system".
31+
system.
3032
</p>
3133
</div>
3234
</section>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
id: Q1
3-
title: Q1 2023
2+
id: Q4_2023
3+
title: Q4 2023
44
backgroundColor: bg-[#83E9FF]
55
color: text-[#83E9FF]
66
---

src/content/roadmapVersions/3.Q3.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
id: Q3
3-
title: Q3 2023
2+
id: Q2_2024
3+
title: Q2 2024
44
backgroundColor: bg-[#EE83FF]
55
color: text-[#EE83FF]
66
---

src/content/roadmapVersions/4.Q4.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
id: Q4
3-
title: Q4 2023
2+
id: Q4_2025
3+
title: Q4 2025
44
backgroundColor: bg-[#5BFFB0]
55
color: text-[#5BFFB0]
66
---
7-
<!-- backgroundColor: bg-[#FFB45B]
8-
color: text-[#FFB45B] -->

src/pages/roadmap/[version_id]/index.astro

+4-6
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,15 @@ import Layout from "../../../layouts/Layout.astro";
33
import { getQuarterData } from "../../../utils/getQuarterData.astro";
44
55
const { version_id } = Astro.params;
6-
type VersionId = "Q1" | "Q4" | "Q3";
7-
8-
6+
type VersionId = "Q4_2023" | "Q2_2024" | "Q4_2025";
97
108
function validateVersionId(versionId: string | undefined): VersionId {
11-
if (!versionId) return "Q1";
12-
const validVersions: VersionId[] = ["Q1", "Q4", "Q3"];
9+
if (!versionId) return "Q4_2023";
10+
const validVersions: VersionId[] = ["Q4_2023", "Q2_2024", "Q4_2025"];
1311
if (validVersions.includes(versionId.toUpperCase() as VersionId)) {
1412
return versionId.toUpperCase() as VersionId;
1513
}
16-
return "Q1";
14+
return "Q4_2023";
1715
}
1816
1917
const version = validateVersionId(version_id);

src/pages/roadmap/index.astro

+2-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Layout from "../../layouts/Layout.astro";
33
import { getQuarterData } from "../../utils/getQuarterData.astro";
44
55
const roadmapVersion = await Astro.glob("../../content/roadmapVersions/*.md");
6-
const roadmapContent = await getQuarterData("Q1");
6+
const roadmapContent = await getQuarterData("Q4_2023");
77
---
88

99
<Layout title="roadmap">
@@ -15,11 +15,8 @@ const roadmapContent = await getQuarterData("Q1");
1515
>
1616
{
1717
roadmapVersion.map((version) => {
18-
1918
const { id, title, backgroundColor, color } = version.frontmatter;
20-
2119

22-
2320
return (
2421
<div>
2522
<div>
@@ -28,7 +25,7 @@ const roadmapContent = await getQuarterData("Q1");
2825
</h3>
2926
</div>
3027

31-
<a href={`roadmap/${id}`}>
28+
<a href={`/roadmap/${id}`}>
3229
<div
3330
class={`${backgroundColor} w-14 h-14 rounded-full opacity-20 relative`}
3431
/>

src/utils/getQuarterData.astro

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
2-
export const getQuarterData = async (quarter: "Q1" | "Q4" | "Q3") => {
2+
export const getQuarterData = async (
3+
quarter: "Q4_2023" | "Q2_2024" | "Q4_2025"
4+
) => {
35
const globs = {
4-
Q1: Astro.glob("../content/roadmap/Q1/*.md"),
5-
Q4: Astro.glob("../content/roadmap/Q4/*.md"),
6-
Q3: Astro.glob("../content/roadmap/Q3/*.md"),
6+
Q4_2023: Astro.glob("../content/roadmap/Q4_2023/*.md"),
7+
Q2_2024: Astro.glob("../content/roadmap/Q2_2024/*.md"),
8+
Q4_2025: Astro.glob("../content/roadmap/Q4_2025/*.md"),
79
};
810
911
try {

0 commit comments

Comments
 (0)