Skip to content

Commit fd34c45

Browse files
committed
Footer & single project transitions + refactoring
1 parent bfe9887 commit fd34c45

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/components/projects/ProjectInfo.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const ProjectInfo = () => {
2626
className={
2727
info.title === 'Website' ||
2828
info.title === 'Phone'
29-
? 'hover:underline cursor-pointer'
29+
? 'hover:underline hover:text-indigo-500 dark:hover:text-indigo-400 cursor-pointer duration-300'
3030
: ''
3131
}
3232
aria-label="Project Website and Phone"
@@ -76,7 +76,7 @@ const ProjectInfo = () => {
7676
href={social.url}
7777
target="__blank"
7878
aria-label="Share Project"
79-
className="bg-ternary-light dark:bg-ternary-dark text-gray-400 hover:text-primary-dark dark:hover:text-primary-light p-2 rounded-lg shadow-sm"
79+
className="bg-ternary-light dark:bg-ternary-dark text-gray-400 hover:text-primary-dark dark:hover:text-primary-light p-2 rounded-lg shadow-sm duration-500"
8080
>
8181
<span className="text-lg lg:text-2xl">
8282
{social.icon}

src/components/shared/AppFooter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const AppFooter = () => {
3939
href={link.url}
4040
target="__blank"
4141
key={link.id}
42-
className="text-gray-400 hover:text-indigo-500 dark:hover:text-indigo-400 cursor-pointer rounded-lg bg-gray-50 dark:bg-ternary-dark hover:bg-gray-100 shadow-sm p-4"
42+
className="text-gray-400 hover:text-indigo-500 dark:hover:text-indigo-400 cursor-pointer rounded-lg bg-gray-50 dark:bg-ternary-dark hover:bg-gray-100 shadow-sm p-4 duration-300"
4343
>
4444
<i className="text-xl sm:text-2xl md:text-3xl">
4545
{link.icon}

src/components/shared/AppFooterCopyright.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ function AppFooterCopyright() {
77
&copy; {new Date().getFullYear()}
88
<Link
99
to="https://github.com/realstoman/react-tailwindcss-portfolio"
10-
className="hover:underline hover:text-indigo-600 dark:hover:text-indigo-300 ml-1"
10+
className="hover:underline hover:text-indigo-600 dark:hover:text-indigo-300 ml-1 duration-500"
1111
>
1212
React & TailwindCSS Portfolio
1313
</Link>
1414
.
1515
<Link
1616
to="https://stoman.me"
1717
target="__blank"
18-
className="text-secondary-dark dark:text-secondary-light font-medium uppercase hover:underline hover:text-indigo-600 dark:hover:text-indigo-300 ml-1"
18+
className="text-secondary-dark dark:text-secondary-light font-medium uppercase hover:underline hover:text-indigo-600 dark:hover:text-indigo-300 ml-1 duration-500"
1919
>
2020
Stoman
2121
</Link>

0 commit comments

Comments
 (0)