Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.astro (Looks Better) #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 24 additions & 23 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -165,29 +165,6 @@ const stack = [
</div>
</section>

<!-- Project Preview Section -->
<section class="animate">
<div class="space-y-4">
<div class="flex justify-between">
<p class="font-semibold text-black dark:text-white">
Recent projects
</p>
<a href="/projects" class="w-fit col-span-3 group flex gap-1 items-center underline decoration-[.5px] decoration-black/25 dark:decoration-white/50 hover:decoration-black dark:hover:decoration-white text-black dark:text-white underline-offset-2 blend">
<span class="text-black/75 dark:text-white/75 group-hover:text-black group-hover:dark:text-white blend">
All projects
</span>
</a>
</div>
<ul class="space-y-4">
{projects.map((project) => (
<li>
<ArrowCard entry={project} />
</li>
))}
</ul>
</div>
</section>

<!-- Contact Section -->
<section class="animate">
<div>
Expand All @@ -214,6 +191,30 @@ const stack = [
))}
</div>
</section>

<!-- Project Preview Section -->
<section class="animate">
<div class="space-y-4">
<div class="flex justify-between">
<p class="font-semibold text-black dark:text-white">
Recent projects
</p>
<a href="/projects" class="w-fit col-span-3 group flex gap-1 items-center underline decoration-[.5px] decoration-black/25 dark:decoration-white/50 hover:decoration-black dark:hover:decoration-white text-black dark:text-white underline-offset-2 blend">
<span class="text-black/75 dark:text-white/75 group-hover:text-black group-hover:dark:text-white blend">
All projects
</span>
</a>
</div>
<ul class="space-y-4">
{projects.map((project) => (
<li>
<ArrowCard entry={project} />
</li>
))}
</ul>
</div>
</section>

</div>
</div>
</PageLayout>