Skip to content

Commit 220b960

Browse files
committed
fix: lint issue
1 parent 63508e1 commit 220b960

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

src/components/AltHeroSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const AltHeroSection = () => {
55
return (
66
<div className="flex flex-col items-center justify-center">
77
<div className="my-16 flex flex-col items-center px-3 pb-6 sm:mb-20 sm:mt-20">
8-
<h1 className="mb-16 text-center text-4xl font-black dark:text-primary-400 md:w-3/4 md:text-7xl lg:text-9xl">
8+
<h1 className="mb-16 text-center text-4xl font-black md:w-3/4 md:text-7xl lg:text-9xl dark:text-primary-400">
99
FullStack Web Developer
1010
</h1>
1111
<p className="text-center text-xl text-dark-900 dark:text-white">

src/components/BackToTop.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ const BackToTop = () => {
2424

2525
return (
2626
<div
27-
className="animate-slideLeft fixed bottom-6 right-0 z-50 w-14 rounded-l-full bg-red-500 shadow-lg"
27+
className="fixed bottom-6 right-0 z-50 w-14 animate-slideLeft rounded-l-full bg-red-500 shadow-lg"
2828
hidden={!visible}
2929
>
3030
<button
3131
onClick={handleClick}
32-
className="animate-fadeIn grid h-10 w-10 place-content-center rounded-full p-2 text-2xl text-white"
32+
className="grid h-10 w-10 animate-fadeIn place-content-center rounded-full p-2 text-2xl text-white"
3333
>
3434
<FontAwesomeIcon icon={faArrowCircleUp} />
3535
</button>

src/components/ImageModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ const ImageModal = ({
1414
return (
1515
<>
1616
<div className="fixed inset-0 h-screen w-screen bg-black/50 backdrop-blur-[2px]" />
17-
<div className="fixed left-1/2 top-1/2 z-10 w-[90%] -translate-x-1/2 -translate-y-1/2 rounded-lg bg-white px-2 py-6 dark:bg-dark-500 md:w-4/5 md:px-4 lg:w-2/5">
17+
<div className="fixed left-1/2 top-1/2 z-10 w-[90%] -translate-x-1/2 -translate-y-1/2 rounded-lg bg-white px-2 py-6 md:w-4/5 md:px-4 lg:w-2/5 dark:bg-dark-500">
1818
<div className="relative grid grid-cols-1 gap-4">
1919
<FontAwesomeIcon
2020
icon={faClose}
21-
className="absolute -right-6 -top-9 h-8 w-8 cursor-pointer rounded-full bg-dark-900 p-1 text-white dark:bg-white dark:text-dark-900 md:-right-8"
21+
className="absolute -right-6 -top-9 h-8 w-8 cursor-pointer rounded-full bg-dark-900 p-1 text-white md:-right-8 dark:bg-white dark:text-dark-900"
2222
onClick={onClick}
2323
/>
2424
<h2 className="border-b p-2 font-serif text-xl font-bold">

src/components/NavigationMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const NavigationMenu = ({ openState }: { openState: boolean }) => {
6262
{/* Mobile Navbar */}
6363
<nav
6464
className={twJoin(
65-
'mt-3 grid w-full overflow-hidden rounded-md bg-white-full px-3 transition-[grid-template-rows] duration-300 ease-linear dark:bg-dark-700 md:hidden',
65+
'mt-3 grid w-full overflow-hidden rounded-md bg-white-full px-3 transition-[grid-template-rows] duration-300 ease-linear md:hidden dark:bg-dark-700',
6666
!openState ? 'grid-rows-[0fr]' : 'grid-rows-[1fr]',
6767
)}
6868
>

src/components/ToggleButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ const ToggleButton = ({
1212
return (
1313
<div
1414
className={twJoin(
15-
'border-primary relative flex h-[27px] w-[54px] cursor-pointer items-center justify-between rounded-full border-2 px-1 transition-colors duration-300 ease-linear',
15+
'relative flex h-[27px] w-[54px] cursor-pointer items-center justify-between rounded-full border-2 border-primary px-1 transition-colors duration-300 ease-linear',
1616
isDarkMode ? 'bg-primary-400' : 'bg-white',
1717
)}
1818
onClick={onClick}
1919
>
2020
<FontAwesomeIcon icon={faMoon} className="h-4 w-4 text-dark-900" />
2121
<span
2222
className={twJoin(
23-
`bg-primary absolute top-1/2 h-5 w-5 -translate-y-1/2 rounded-full shadow-md transition-all duration-300 ease-linear`,
23+
`absolute top-1/2 h-5 w-5 -translate-y-1/2 rounded-full bg-primary shadow-md transition-all duration-300 ease-linear`,
2424
!isDarkMode ? 'left-[3px]' : 'left-[28px]',
2525
)}
2626
/>

src/routes/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const Home = () => {
3434
</section>
3535
<section className="pb-16 pt-24" id="projects">
3636
<Container>
37-
<h2 className="mb-16 text-center text-4xl font-bold capitalize text-dark-900 drop-shadow-md dark:text-gray-50 lg:text-6xl">
37+
<h2 className="mb-16 text-center text-4xl font-bold capitalize text-dark-900 drop-shadow-md lg:text-6xl dark:text-gray-50">
3838
My recent projects
3939
</h2>
4040
<RecentWork />

src/routes/navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Navigation = () => {
2020
<button
2121
data-collapse-toggle="navbar-default"
2222
type="button"
23-
className="inline-flex items-center justify-center rounded border border-gray-700 p-1 text-sm text-gray-700 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-gray-600 dark:border-gray-200 dark:text-gray-200 dark:hover:text-gray-400 md:hidden"
23+
className="inline-flex items-center justify-center rounded border border-gray-700 p-1 text-sm text-gray-700 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-gray-600 md:hidden dark:border-gray-200 dark:text-gray-200 dark:hover:text-gray-400"
2424
aria-controls="navbar-default"
2525
aria-expanded="false"
2626
onClick={() => setOpen(!open)}

0 commit comments

Comments
 (0)