Skip to content

Commit 8c31e91

Browse files
committed
Made the buttons a bit bigger
1 parent 113ef5c commit 8c31e91

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ const Home = () => {
192192
}
193193
onMouseEnter={() => handleMouseEnter("getStarted")}
194194
onMouseLeave={handleMouseLeave}
195-
className="relative overflow-hidden btn-primary bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-lg transition duration-300 ease-in-out"
195+
className="relative overflow-hidden btn-primary bg-blue-500 hover:bg-blue-600 text-white py-2 px-8 rounded-lg transition duration-300 ease-in-out"
196196
>
197197
<span
198198
className={`inline-block transition-transform duration-300 ${
@@ -204,7 +204,7 @@ const Home = () => {
204204
Get Started
205205
</span>
206206
<span
207-
className={`absolute right-0 top-0 bottom-0 flex items-center justify-center px-2 bg-transparent transform transition-transform duration-300 ${
207+
className={`absolute right-0 top-0 bottom-0 flex items-center justify-center px-3 bg-transparent transform transition-transform duration-300 ${
208208
hoveredButton === "getStarted"
209209
? "translate-x-0 opacity-100"
210210
: "translate-x-full opacity-0"
@@ -219,7 +219,7 @@ const Home = () => {
219219
onClick={handleLogin}
220220
onMouseEnter={() => handleMouseEnter("dashboard")}
221221
onMouseLeave={handleMouseLeave}
222-
className="relative overflow-hidden btn-outline bg-transparent border border-gray-300 text-gray-300 py-2 px-4 rounded-lg hover:bg-gray-300 hover:text-gray-900 transition duration-300 ease-in-out"
222+
className="relative overflow-hidden btn-outline bg-transparent border border-gray-300 text-gray-300 py-2 px-8 rounded-lg hover:bg-gray-300 hover:text-gray-900 transition duration-300 ease-in-out"
223223
>
224224
<span
225225
className={`inline-block transition-transform duration-300 ${
@@ -231,7 +231,7 @@ const Home = () => {
231231
Dashboard
232232
</span>
233233
<span
234-
className={`absolute right-0 top-0 bottom-0 flex items-center justify-center px-2 bg-transparent text-gray-300 transform transition-transform duration-300 ${
234+
className={`absolute right-0 top-0 bottom-0 flex items-center justify-center px-3 bg-transparent text-gray-300 transform transition-transform duration-300 ${
235235
hoveredButton === "dashboard"
236236
? "translate-x-0 opacity-100"
237237
: "translate-x-full opacity-0"

0 commit comments

Comments
 (0)