Fix download page layout UI

This commit is contained in:
Faisal Amir 2024-03-19 12:10:35 +07:00
parent e61985c8fa
commit 912f6028ae
2 changed files with 21 additions and 38 deletions

View File

@ -133,13 +133,6 @@ export default function DownloadApp() {
} }
return ( return (
<div>
<div className="flex flex-col items-center justify-center gap-4 mb-4">
<h6 className="text-2xl font-medium">Detailed platforms</h6>
<p className="leading-relaxed text-black/60 dark:text-white/60">
Jan is in the process of being built. Expect bugs!
</p>
</div>
<div className="w-full lg:w-3/5 mx-auto px-4"> <div className="w-full lg:w-3/5 mx-auto px-4">
<div className="grid grid-cols-1 lg:grid-cols-3 py-10 gap-8"> <div className="grid grid-cols-1 lg:grid-cols-3 py-10 gap-8">
{groupTemnplate.map((item, i) => { {groupTemnplate.map((item, i) => {
@ -164,6 +157,5 @@ export default function DownloadApp() {
})} })}
</div> </div>
</div> </div>
</div>
) )
} }

View File

@ -25,16 +25,8 @@ export default function Download() {
<p className="text-2xl -mt-1 leading-relaxed text-black/60 dark:text-white/60"> <p className="text-2xl -mt-1 leading-relaxed text-black/60 dark:text-white/60">
Turn your computer into an AI machine Turn your computer into an AI machine
</p> </p>
<div className="my-8">
<div className="my-16"> <DownloadApp />
<ThemedImage
className="w-28 mx-auto h-auto"
alt="App screenshots"
sources={{
light: useBaseUrl('/img/homepage/mac-system-black.svg'),
dark: useBaseUrl('/img/homepage/mac-system-white.svg'),
}}
/>
</div> </div>
<div className="mb-14"> <div className="mb-14">
@ -53,7 +45,6 @@ export default function Download() {
Changelog Changelog
</a> </a>
</div> </div>
<DownloadApp />
</div> </div>
</main> </main>
</Layout> </Layout>