Skip to content

Commit

Permalink
fix: gradient transition between Roadmap and ball video at the bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomi-Tom committed Jul 2, 2024
1 parent a85cc73 commit 96b63bd
Showing 1 changed file with 29 additions and 25 deletions.
54 changes: 29 additions & 25 deletions src/pages/Home/RoadmapSection.vue
Original file line number Diff line number Diff line change
@@ -1,33 +1,37 @@
<template>
<section class="mx-auto max-w-[1440px] px-20 pb-5 pt-44">
<div class="space-y-6 text-center">
<LTinyHeading>DeAI solutions for now and the future</LTinyHeading>
<h2 class="text-majorelle-500">Roadmap</h2>
<p>
The LibertAI roadmap focuses on expanding the decentralized LLM's capabilities, enhancing user experience, and
integrating with more open-source models to promote transparency and collaboration within the network.
</p>
</div>
<div v-for="milestone of roadmap" :key="milestone.title">
<h3 class="my-9">{{ milestone.title }}</h3>
<div
v-if="milestone.features !== undefined"
:class="`grid gap-6 lg:grid-cols-2 lg:grid-rows-${Math.ceil(milestone.features.length / 2)} 2xl:grid-cols-3 2xl:grid-rows-${Math.ceil(milestone.features.length / 3)} ${milestone.features.length > 3 ? 'lg:grid-flow-col' : ''}`"
>
<div v-for="feature of milestone.features" :key="feature.name">
<RoadmapFeatureCard :status="feature.status" :title="feature.name" />
</div>
<section
class="mx-auto flex items-center justify-center bg-gradient-to-b from-majorelle-100 to-majorelle-300 px-20 pb-5 pt-44"
>
<div class="max-w-[1440px]">
<div class="space-y-6 text-center">
<LTinyHeading>DeAI solutions for now and the future</LTinyHeading>
<h2 class="text-majorelle-500">Roadmap</h2>
<p>
The LibertAI roadmap focuses on expanding the decentralized LLM's capabilities, enhancing user experience, and
integrating with more open-source models to promote transparency and collaboration within the network.
</p>
</div>
<div
v-else-if="milestone.sections !== undefined"
:class="`gap-6 lg:grid lg:grid-cols-2 2xl:grid-flow-col 2xl:grid-cols-${milestone.sections.length}`"
>
<div v-for="section of milestone.sections" :key="section.title" class="my-6 space-y-6">
<p class="body-large font-bold">{{ section.title }}</p>
<div v-for="feature of section.features" :key="feature.name">
<div v-for="milestone of roadmap" :key="milestone.title">
<h3 class="my-9">{{ milestone.title }}</h3>
<div
v-if="milestone.features !== undefined"
:class="`grid gap-6 lg:grid-cols-2 lg:grid-rows-${Math.ceil(milestone.features.length / 2)} 2xl:grid-cols-3 2xl:grid-rows-${Math.ceil(milestone.features.length / 3)} ${milestone.features.length > 3 ? 'lg:grid-flow-col' : ''}`"
>
<div v-for="feature of milestone.features" :key="feature.name">
<RoadmapFeatureCard :status="feature.status" :title="feature.name" />
</div>
</div>
<div
v-else-if="milestone.sections !== undefined"
:class="`gap-6 lg:grid lg:grid-cols-2 2xl:grid-flow-col 2xl:grid-cols-${milestone.sections.length}`"
>
<div v-for="section of milestone.sections" :key="section.title" class="my-6 space-y-6">
<p class="body-large font-bold">{{ section.title }}</p>
<div v-for="feature of section.features" :key="feature.name">
<RoadmapFeatureCard :status="feature.status" :title="feature.name" />
</div>
</div>
</div>
</div>
</div>
</section>
Expand Down

0 comments on commit 96b63bd

Please sign in to comment.