Skip to content

Commit a866d4a

Browse files
committed
Fix inconsistent navs, profile photo width
1 parent 5b4bb9a commit a866d4a

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎blog/assets/css/tailwind.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@
7777
@apply w-11/12 md:w-3/4 lg:w-2/3 xl:w-1/2 2xl:w-2/5;
7878
}
7979
nav a {
80-
@apply text-gray-900 hover:text-gray-600 transition-colors duration-200 font-medium;
80+
@apply text-gray-900 hover:text-gray-600 transition-colors duration-200;
8181
}
8282
}

‎src/components/hero/HeroDesktop.jsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ const HeroDesktop = () => {
3535
</p>
3636
</div>
3737
</div>
38-
<div className="w-full flex justify-center">
38+
<div className="w-max justify-self-end">
3939
<img
40-
className="block h-auto md:max-h-[520px] w-auto max-w-full object-contain rounded mx-auto"
40+
className="block h-auto md:max-h-[520px] w-auto max-w-full object-contain rounded"
4141
src="/photos/nJuWFumzv4.webp"
4242
alt="Hayden Carpenter profile photo"
4343
/>

‎src/components/layouts/DesignLayout.jsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ const DesignLayout = () => {
2020
)}
2121
>
2222
<div className="flex w-full md:justify-end sticky right-0 top-0 px-4 md:px-12 py-4 z-10 bg-white">
23-
<nav className="flex items-center w-full text-black justify-end gap-6">
24-
<div className="flex gap-6">
23+
<nav className="flex items-center w-full text-black justify-end gap-4">
24+
<div className="flex gap-4">
2525
<a href="/blog/" className="hover:opacity-50 transition-opacity">
2626
Blog
2727
</a>
2828
<a
2929
href="/blog/about/"
3030
className="hover:opacity-50 transition-opacity"
3131
>
32-
About Me
32+
About
3333
</a>
3434
<a
3535
href="/blog/contact/"

0 commit comments

Comments
 (0)