Skip to content

Commit 9b353a5

Browse files
Adjusted some effects
1 parent 52adf41 commit 9b353a5

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

components/buttons/Sponsor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
function Sponsor() {
33
return (
44
<a
5-
className='inline-block transition-transform duration-200 hover:scale-105 hover:drop-shadow-lg'
5+
className=' inline-block transition-all duration-300 ease-in-out hover:scale-[1.03] hover:-translate-y-1 hover:shadow-[0_10px_20px_rgba(0,0,0,0.1)]'
66
target='_blank'
77
rel='noopener noreferrer'
88
href='https://github.com/sponsors/nikohoffren?o=esc'

components/layout/Footer.tsx

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Sponsor from '../buttons/Sponsor'
88

99
const Footer = () => {
1010
const [starCount, setStarCount] = useState<number | null>(null)
11+
const hoverEffect = 'hover:text-blue-600';
1112

1213
useEffect(() => {
1314
fetch('https://api.github.com/repos/fork-commit-merge/fork-commit-merge')
@@ -47,7 +48,7 @@ const Footer = () => {
4748
href='https://github.com/fork-commit-merge/fork-commit-merge'
4849
target='_blank'
4950
rel='noopener noreferrer'
50-
className='text-gray-400 hover:text-modern-purple'
51+
className='text-gray-400 hover:text-black'
5152
aria-label='GitHub'
5253
>
5354
<svg
@@ -75,7 +76,7 @@ const Footer = () => {
7576
href='https://nextjs.org/'
7677
target='_blank'
7778
rel='noopener noreferrer'
78-
className='text-sm text-gray-600 hover:text-modern-purple'
79+
className='text-sm text-gray-600 hover:text-blue-500'
7980
>
8081
Next.js
8182
</a>
@@ -85,7 +86,7 @@ const Footer = () => {
8586
href='https://vercel.com/'
8687
target='_blank'
8788
rel='noopener noreferrer'
88-
className='text-sm text-gray-600 hover:text-modern-purple'
89+
className='text-sm text-gray-600 hover:text-blue-500'
8990
>
9091
Vercel
9192
</a>
@@ -95,7 +96,7 @@ const Footer = () => {
9596
href='https://github.com/fork-commit-merge/fork-commit-merge'
9697
target='_blank'
9798
rel='noopener noreferrer'
98-
className='group flex items-center text-sm text-gray-600 hover:text-modern-purple'
99+
className='group flex items-center text-sm text-gray-600 hover:text-blue-500'
99100
>
100101
<span>GitHub Stars</span>
101102
{starCount !== null ? (
@@ -116,7 +117,7 @@ const Footer = () => {
116117
<li>
117118
<Link
118119
href='/legal/privacy-policy'
119-
className='text-sm text-gray-600 hover:text-modern-purple'
120+
className='text-sm text-gray-600 hover:text-blue-500'
120121
>
121122
Privacy Policy
122123
</Link>
@@ -126,7 +127,7 @@ const Footer = () => {
126127
href='https://github.com/nikohoffren'
127128
target='_blank'
128129
rel='noopener noreferrer'
129-
className='text-sm text-gray-600 hover:text-modern-purple'
130+
className='text-sm text-gray-600 hover:text-blue-500'
130131
>
131132
Contact
132133
</Link>
@@ -136,7 +137,7 @@ const Footer = () => {
136137
href='https://github.com/fork-commit-merge/fork-commit-merge/blob/main/CODE_OF_CONDUCT.md'
137138
target='_blank'
138139
rel='noopener noreferrer'
139-
className='text-sm text-gray-600 hover:text-modern-purple'
140+
className='text-sm text-gray-600 hover:text-blue-500'
140141
>
141142
Code of Conduct
142143
</Link>
@@ -150,15 +151,15 @@ const Footer = () => {
150151
<li>
151152
<Link
152153
href='/help/faq'
153-
className='text-sm text-gray-600 hover:text-modern-purple'
154+
className='text-sm text-gray-600 hover:text-blue-500'
154155
>
155156
FAQ
156157
</Link>
157158
</li>
158159
<li>
159160
<Link
160161
href='/resources/resources'
161-
className='text-sm text-gray-600 hover:text-modern-purple'
162+
className='text-sm text-gray-600 hover:text-blue-500'
162163
>
163164
Resources
164165
</Link>
@@ -168,7 +169,7 @@ const Footer = () => {
168169
href='https://opensource.org/'
169170
target='_blank'
170171
rel='noopener noreferrer'
171-
className='text-sm text-gray-600 hover:text-modern-purple'
172+
className='text-sm text-gray-600 hover:text-blue-500'
172173
>
173174
opensource.org
174175
</Link>
@@ -185,7 +186,7 @@ const Footer = () => {
185186
href='https://nikohoffren.com/'
186187
target='_blank'
187188
rel='noopener noreferrer'
188-
className='hover:text-modern-purple'
189+
className='hover:text-gray-700'
189190
>
190191
Niko Hoffrén
191192
</Link>{' '}
@@ -194,7 +195,7 @@ const Footer = () => {
194195
href='https://github.com/fork-commit-merge/fork-commit-merge#list-of-contributors'
195196
target='_blank'
196197
rel='noopener noreferrer'
197-
className='hover:text-modern-purple'
198+
className='hover:text-gray-700'
198199
>
199200
GitHub community
200201
</Link>

components/layout/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const Header = () => {
118118
}
119119

120120
return (
121-
<nav className='border-b border-gray-200 bg-gray-50 shadow-md dark:border-gray-700'>
121+
<nav className='border-b border-gray-200 bg-gray-100 shadow-md dark:border-gray-900'>
122122
<div className='modern-container'>
123123
<div className='flex h-16 items-center justify-between'>
124124
<div className='flex items-center space-x-8'>

0 commit comments

Comments
 (0)