chore: format

This commit is contained in:
sripwoud
2023-08-05 12:31:01 +02:00
parent ff206f943b
commit 425f38be6c
4 changed files with 60 additions and 58 deletions

View File

@@ -23,7 +23,7 @@ export default function IndexPage() {
className="text-4xl font-bold lg:text-5xl xl:text-7xl"
initial={{ y: 16, opacity: 0 }}
animate={{ y: 0, opacity: 1 }}
transition={{ duration: 0.8, cubicBezier: "easeOut"}}
transition={{ duration: 0.8, cubicBezier: "easeOut" }}
>
Programmable cryptography for people like you
</motion.h1>

View File

@@ -53,61 +53,61 @@ export default function ProjectsPage() {
const { github, website } = links
return (
<div key={index}>
<Link href={`/projects/${id}`}>
<div
className="flex h-[419px] w-[310px] cursor-pointer flex-col overflow-hidden rounded-lg border border-slate-900/20 transition duration-150 ease-in hover:scale-105"
>
<Image
src={`/project-banners/${
image ? image : "fallback.webp"
}`}
alt={`${name} banner`}
width={1200}
height={630}
className="w-full rounded-t-lg object-cover"
/>
<div className="flex h-full flex-col justify-between gap-5 rounded-b-lg bg-white p-5">
<div className="flex flex-col justify-start gap-2">
<h1 className="text-xl font-bold text-black">{name}</h1>
<p className="text-slate-900/80">{tldr}</p>
</div>
<div className="mr-auto flex items-center justify-start gap-2">
{github && (
<Link
href={`${github}`}
target="_blank"
rel="noreferrer"
className="hover:opacity-60"
>
<Image
src={GithubIcon}
alt="githubVector"
className="cursor-pointer"
width={18}
height={18}
/>
</Link>
)}
{website && (
<Link
href={`${website}`}
target="_blank"
rel="noreferrer"
className="hover:opacity-60"
>
<Image
src={GlobeIcon}
className="cursor-pointer"
alt="globalVector"
width={18}
height={18}
/>
</Link>
)}
<Link href={`/projects/${id}`}>
<div className="flex h-[419px] w-[310px] cursor-pointer flex-col overflow-hidden rounded-lg border border-slate-900/20 transition duration-150 ease-in hover:scale-105">
<Image
src={`/project-banners/${
image ? image : "fallback.webp"
}`}
alt={`${name} banner`}
width={1200}
height={630}
className="w-full rounded-t-lg object-cover"
/>
<div className="flex h-full flex-col justify-between gap-5 rounded-b-lg bg-white p-5">
<div className="flex flex-col justify-start gap-2">
<h1 className="text-xl font-bold text-black">
{name}
</h1>
<p className="text-slate-900/80">{tldr}</p>
</div>
<div className="mr-auto flex items-center justify-start gap-2">
{github && (
<Link
href={`${github}`}
target="_blank"
rel="noreferrer"
className="hover:opacity-60"
>
<Image
src={GithubIcon}
alt="githubVector"
className="cursor-pointer"
width={18}
height={18}
/>
</Link>
)}
{website && (
<Link
href={`${website}`}
target="_blank"
rel="noreferrer"
className="hover:opacity-60"
>
<Image
src={GlobeIcon}
className="cursor-pointer"
alt="globalVector"
width={18}
height={18}
/>
</Link>
)}
</div>
</div>
</div>
</div>
</Link>
</Link>
</div>
)
})}

View File

@@ -1,4 +1,4 @@
"use client";
"use client"
import Image from "next/image"
import Link from "next/link"
@@ -38,4 +38,4 @@ export function MainNav({ items }: MainNavProps) {
</nav>
</div>
)
}
}

View File

@@ -11,7 +11,8 @@ export const newsItems: NewsInterface[] = [
},
{
type: "learn",
title: "Revisiting Nova. How to handle cycles of curves within folding schemes by Wilson Nguyen. Aug/9, 16:00 UTC",
title:
"Revisiting Nova. How to handle cycles of curves within folding schemes by Wilson Nguyen. Aug/9, 16:00 UTC",
action: {
label: "See details",
url: "https://discord.com/events/943612659163602974/1128713844987002984",
@@ -19,7 +20,8 @@ export const newsItems: NewsInterface[] = [
},
{
type: "learn",
title: "Diving into Indexed Merkle Trees within ZK circuits by Sean Aztec. Aug/16, 12:00 UTC ",
title:
"Diving into Indexed Merkle Trees within ZK circuits by Sean Aztec. Aug/16, 12:00 UTC ",
action: {
label: "See details",
url: "https://discord.gg/pse?event=1137001447679070318",