Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolankicks committed Dec 20, 2024
1 parent 659e1a4 commit 9079730
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 18 deletions.
7 changes: 0 additions & 7 deletions src/content/projects/website.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/lib/components/Blog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export let blogPost;
</script>

<a href={`${blogPost.IsNews ? "sboxnews/" : "blog/"}${blogPost.slug}`} class="block p-4 bg-secondary rounded-md mb-4 hover:scale-[1.01] active:scale-[0.99] transition-all w-full max-w-xl font-poppins">
<a href={`${blogPost.IsNews ? "sboxnews/" : "blog/"}${blogPost.slug}`} class="block p-4 bg-secondary rounded-md mb-4 hover:scale-[1.01] active:scale-[0.99] transition-all w-full max-w-3xl font-poppins">
<h2 class="text-2xl font-bold text-white">{blogPost.title}</h2>

{#if blogPost.description}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/NameCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class="flex w-full mt-6 pt-6 px-5 flex-col font-poppins items-center justify-center text-white bg-gradient-to-b from-blue-900 via-gray-900 to-black"
>
<div
class="flex flex-col items-center justify-center gap-4 w-full max-w-xl rounded-md animate-fadein"
class="flex flex-col items-center justify-center gap-4 w-full max-w-3xl rounded-md animate-fadein"
>
<div class="rounded-md mb-4 transition-all w-full flex">
<div class="flex flex-col items-center">
Expand Down
8 changes: 4 additions & 4 deletions src/lib/components/Project.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
</script>

<a
class="flex flex-shrink-0 flex-row text-white min-h-24 font-poppins relative gap-2"
class="flex flex-shrink-0 flex-row text-white min-h-24 font-poppins items-center relative gap-6"
href={slug}
onmouseenter={() => (isHovered = true)}
onmouseleave={() => (isHovered = false)}
on:mouseenter={() => (isHovered = true)}
on:mouseleave={() => (isHovered = false)}
>
{#if project.image}
<img src={project.image} class="h-32 w-32 rounded-md flex-shrink-0 flex" alt={project.title} />
{/if}

<div class="flex flex-shrink items-start justify-center flex-col w-full">
<div class="flex items-start justify-center flex-col w-full h-full">
<p class="text-xl font-bold">{project.title}</p>
<p>{project.description}</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<NameCard />

<div class="w-full flex items-center justify-center p-5">
<div class="flex flex-col items-center justify-center max-w-xl rounded-md animate-fadein w-full">
<div class="flex flex-col items-center justify-center max-w-3xl rounded-md animate-fadein w-full">
<h2 class="text-white font-poppins text-2xl flex items-start w-full font-bolder">Latest Blog</h2>
<hr class="my-5 w-full text-white"/>
<a
Expand Down
2 changes: 1 addition & 1 deletion src/routes/blog/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</svelte:head>

<div class="w-full flex items-center justify-center animate-fadein">
<div class="max-w-xl w-full my-5 mx-auto flex flex-col gap-4 pt-6 font-poppins px-5 text-white sm:px-0">
<div class="max-w-3xl w-full my-5 mx-auto flex flex-col gap-4 pt-6 font-poppins px-5 text-white sm:px-0">
<Header title="Blogs" HyperLink={false} />
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/routes/projects/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
</svelte:head>

<div class="w-full flex items-center justify-center animate-fadein">
<div class="max-w-xl w-full my-5 mx-auto flex flex-col gap-4 pt-6 font-poppins px-5 text-white">
<div class="max-w-3xl w-full my-5 mx-auto flex flex-col gap-4 pt-6 font-poppins px-5 text-white sm:px-0">
<Header title="Projects" HyperLink={false} />
</div>
</div>

<div class="w-full flex items-center flex-col animate-fadein mb-5">
<div class="grid w-full max-w-xl grid-cols-1 sm:grid-cols-2 grid-flow-row gap-5 px-5">
<div class="w-full flex items-center flex-col animate-fadein mb-5 px-5">
<div class="grid w-full max-w-3xl grid-cols-1 sm:grid-cols-2 grid-flow-row gap-5">
{#each data.posts as project}
<Project project={project} />
{/each}
Expand Down

0 comments on commit 9079730

Please sign in to comment.