mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-08 14:09:07 -06:00
tune index/projects Dots animation fading
This commit is contained in:
@@ -19,12 +19,12 @@ export async function getStaticProps(): Promise<GetStaticPropsResult<Props>> {
|
||||
|
||||
const ProjectsPage: NextPage<Props> = ({projects}) => {
|
||||
return (
|
||||
<AppWrapper>
|
||||
<AppWrapper dotsClassName="animate-bg-fast">
|
||||
<div className="max-w-500 mx-auto mt-20 grid h-full w-max grid-cols-1 gap-x-20 gap-y-7 py-2 md:grid-cols-2 lg:grid-cols-3">
|
||||
{projects.map(({ name, shortDescription: description, links, icon }) => (
|
||||
<Link
|
||||
key={name}
|
||||
className="flex relative max-w-[17rem] flex-shrink items-center opacity-75 transition-opacity hover:opacity-100 bg-black/30 hover:bg-white/5 py-2 rounded"
|
||||
className="flex relative max-w-[30rem] flex-shrink items-center opacity-75 transition-opacity hover:opacity-100 bg-black/30 hover:bg-white/5 py-2 rounded"
|
||||
href={links[0]?.url ?? "#"}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
@@ -32,11 +32,11 @@ const ProjectsPage: NextPage<Props> = ({projects}) => {
|
||||
>
|
||||
|
||||
<div className="pr-5 pt-2">
|
||||
<i className={cn(icon ?? "fa-heart", "fa-solid text-2xl pb-1 text-opacity-80 saturate-0")}></i>
|
||||
<i className={cn(icon ?? "fa-heart", "fa-solid text-3xl text-opacity-80 saturate-0")}></i>
|
||||
</div>
|
||||
<div className="flex-auto">
|
||||
<div className="text-normal">{name}</div>
|
||||
<div className="text-sm font-normal opacity-70">
|
||||
<div className="flex-auto overflow-hidden">
|
||||
<div className="text-lg">{name}</div>
|
||||
<div className="text-base font-normal opacity-70 whitespace-nowrap">
|
||||
{description}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user