Skip to content

Commit

Permalink
fix: pages layout
Browse files Browse the repository at this point in the history
  • Loading branch information
rxyhn committed Sep 11, 2024
1 parent affa278 commit aa0d31e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 31 deletions.
28 changes: 15 additions & 13 deletions src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,20 @@ import { SITE } from "@/consts";
---

<Layout title="About" description={SITE.DESCRIPTION}>
<Heading
title="About Me"
description="Hello 👋 I'm Rayhan Kafi Pratama, a bachelor of computer science student."
highlight={[
"My passion for crafting software that turns ideas into reality through elegant and intuitive interfaces.",
"I place a strong emphasis on creating seamless experiences, robust architecture, and high-quality code. I'm always eager to enhance my skills and contribute to meaningful and impactful projects.",
]}
/>
<div class="mt-8 flex flex-col gap-8">
<Experience />
<Skills />
<Awards class="order-first" />
<Education class="order-first" />
<div class="flex h-screen flex-col items-center justify-center">
<Heading
title="About Me"
description="Hello 👋 I'm Rayhan Kafi Pratama, a bachelor of computer science student."
highlight={[
"My passion for crafting software that turns ideas into reality through elegant and intuitive interfaces.",
"I place a strong emphasis on creating seamless experiences, robust architecture, and high-quality code. I'm always eager to enhance my skills and contribute to meaningful and impactful projects.",
]}
/>
<div class="mt-8 flex flex-col gap-8">
<Experience />
<Skills />
<Awards class="order-first" />
<Education class="order-first" />
</div>
</div>
</Layout>
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ const { name, label, summary, socials } = basics;
<div class="w-full text-justify md:w-1/2 md:text-start">
<div class="flex flex-col items-start gap-2">
<h1
class="text-sm tracking-tight text-neutral-900 lg:text-lg dark:text-neutral-50"
class="text-sm tracking-tight text-neutral-900 dark:text-neutral-50 lg:text-lg"
>
Hi, my name is
</h1>
<h1
class="bg-gradient-to-b from-neutral-900 to-neutral-600 bg-clip-text text-start text-4xl font-bold tracking-tight text-transparent lg:text-5xl dark:from-neutral-50 dark:to-neutral-400"
class="bg-gradient-to-b from-neutral-900 to-neutral-600 bg-clip-text text-start text-4xl font-bold tracking-tight text-transparent dark:from-neutral-50 dark:to-neutral-400 lg:text-5xl"
>
{name}.
</h1>
Expand Down
34 changes: 18 additions & 16 deletions src/pages/projects.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ import { projects } from "@cv";
---

<Layout title="Projects" description={SITE.DESCRIPTION}>
<Heading
title="My Projects"
description="Explore a collection of my projects here. As an open-source enthusiast, I'm passionate about collaboration and knowledge-sharing."
/>
<div class="mt-4 grid w-full grid-cols-1 gap-4 sm:grid-cols-2">
{
projects.map(({ url, name, description, highlights, technologies }) => (
<Card
url={url}
description={description}
highlights={highlights}
name={name}
technologies={technologies}
/>
))
}
<div class="flex h-screen flex-col items-center justify-center">
<Heading
title="My Projects"
description="Explore a collection of my projects here. As an open-source enthusiast, I'm passionate about collaboration and knowledge-sharing."
/>
<div class="mt-4 grid w-full grid-cols-1 gap-4 sm:grid-cols-2">
{
projects.map(({ url, name, description, highlights, technologies }) => (
<Card
url={url}
description={description}
highlights={highlights}
name={name}
technologies={technologies}
/>
))
}
</div>
</div>
</Layout>

0 comments on commit aa0d31e

Please sign in to comment.