-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(website): fix showcase page layout (#13303)
- Loading branch information
Showing
4 changed files
with
32 additions
and
79 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
<div className="text-center pt-6"> | ||
<h2 className="font-oxanium text-3xl font-bold tracking-tight text-neutral-900 sm:text-4xl dark:text-neutral-100"> | ||
Showcase | ||
</h2> | ||
<div className="mx-auto mt-3 max-w-2xl text-xl text-neutral-500 sm:mt-4 dark:text-neutral-300"> | ||
Dapps integrated with Taiko ✨ | ||
</div> | ||
</div> | ||
import { Card, Cards } from 'nextra-theme-docs'; | ||
import Image from 'next/image'; | ||
import taikoBridge from '../public/images/showcase/bridge-showcase.png'; | ||
import orbiter from '../public/images/showcase/orbiter-showcase.png'; | ||
|
||
import { Card } from "../components/card"; | ||
{<h1 className="font-oxanium text-3xl mt-10 mb-4 text-center text-[2.5rem] font-bold tracking-tight">Showcase</h1>} | ||
|
||
<div className="mx-auto max-w-[90rem] mb-6 mt-6"> | ||
<div className="grid gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4"> | ||
<Card | ||
title="Taiko Bridge" | ||
description="Taiko's official bridge." | ||
href="https://bridge.a1.taiko.xyz" | ||
imageSrc="/images/showcase/bridge-showcase.png" | ||
/> | ||
<Card | ||
title="Orbiter" | ||
description="A decentralized cross-rollup bridge." | ||
href="https://orbiter.finance" | ||
imageSrc="/images/showcase/orbiter-showcase.png" | ||
/> | ||
</div> | ||
</div> | ||
{<p className="mb-16 text-center text-xl text-neutral-500 dark:text-neutral-400">Dapps integrated with Taiko ✨</p>} | ||
|
||
<Cards> | ||
{[ | ||
{ | ||
name: 'Taiko Bridge', | ||
url: 'https://bridge.a2.taiko.xyz', | ||
image: taikoBridge | ||
}, | ||
{ | ||
name: 'Orbiter', | ||
url: 'https://orbiter.finance', | ||
image: orbiter | ||
}, | ||
].map(({ name, url, image }) => ( | ||
<Card key={name} image arrow target="_blank" title={name} href={url}> | ||
<Image | ||
src={image} | ||
alt={`${name} preview`} | ||
className="object-cover [aspect-ratio:12/6.3]" | ||
/> | ||
</Card> | ||
))} | ||
</Cards> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters