Skip to content

Commit c9ae2ed

Browse files
committed
ran prettier with new config on components directory
1 parent 3c7e2c5 commit c9ae2ed

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

components/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ const Header = () => {
2525
</div>
2626
</Link>
2727
</div>
28-
<div className="flex items-center leading-5 space-x-4 sm:space-x-6">
28+
<div className="flex items-center space-x-4 leading-5 sm:space-x-6">
2929
{headerNavLinks
3030
.filter((link) => link.href !== '/')
3131
.map((link) => (
3232
<Link
3333
key={link.title}
3434
href={link.href}
35-
className="hidden sm:block font-medium text-gray-900 dark:text-gray-100"
35+
className="hidden font-medium text-gray-900 dark:text-gray-100 sm:block"
3636
>
3737
{link.title}
3838
</Link>

components/MobileNav.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const MobileNav = () => {
2626
xmlns="http://www.w3.org/2000/svg"
2727
viewBox="0 0 20 20"
2828
fill="currentColor"
29-
className="text-gray-900 dark:text-gray-100 h-8 w-8"
29+
className="h-8 w-8 text-gray-900 dark:text-gray-100"
3030
>
3131
<path
3232
fillRule="evenodd"
@@ -36,7 +36,7 @@ const MobileNav = () => {
3636
</svg>
3737
</button>
3838
<div
39-
className={`fixed left-0 top-0 z-10 h-full w-full transform opacity-95 dark:opacity-[0.98] bg-white duration-300 ease-in-out dark:bg-gray-950 ${
39+
className={`fixed left-0 top-0 z-10 h-full w-full transform bg-white opacity-95 duration-300 ease-in-out dark:bg-gray-950 dark:opacity-[0.98] ${
4040
navShow ? 'translate-x-0' : 'translate-x-full'
4141
}`}
4242
>

components/SearchButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const SearchButton = () => {
1818
viewBox="0 0 24 24"
1919
strokeWidth={1.5}
2020
stroke="currentColor"
21-
className="text-gray-900 dark:text-gray-100 h-6 w-6"
21+
className="h-6 w-6 text-gray-900 dark:text-gray-100"
2222
>
2323
<path
2424
strokeLinecap="round"

components/ThemeSwitch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const ThemeSwitch = () => {
2323
xmlns="http://www.w3.org/2000/svg"
2424
viewBox="0 0 20 20"
2525
fill="currentColor"
26-
className="text-gray-900 dark:text-gray-100 h-6 w-6"
26+
className="h-6 w-6 text-gray-900 dark:text-gray-100"
2727
>
2828
{mounted && (theme === 'dark' || resolvedTheme === 'dark') ? (
2929
<path

0 commit comments

Comments
 (0)