Skip to content

Commit 2c03b59

Browse files
committed
fix(landing): wrap button in Link
1 parent fd2b6e8 commit 2c03b59

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/components/Landing.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,16 @@ const Landing: React.FC = () => {
2121
</p>
2222
</div>
2323
<div className="flex justify-left lg:justify-center ">
24-
<button className="px-6 py-2 font-semibold text-white transition duration-500 ease-in-out transform rounded-lg bg-black hover:bg-gray-800 hover:to-black focus:shadow-outline focus:outline-none focus:ring-2 ring-offset-current ring-offset-2">
25-
<Link to="/login">Login</Link>
26-
</button>
27-
<button className="px-6 py-2 ml-4 font-semibold text-black transition duration-500 ease-in-out transform border rounded-lg shadow-xl hover:bg-wickedgray-300 hover:text-white focus:shadow-outline focus:outline-none focus:ring-2 ring-offset-current ring-offset-2">
28-
<Link to="/login">Sign up</Link>
29-
</button>
24+
<Link to="/login">
25+
<button className="px-6 py-2 font-semibold text-white transition duration-500 ease-in-out transform rounded-lg bg-black hover:bg-gray-800 hover:to-black focus:shadow-outline focus:outline-none focus:ring-2 ring-offset-current ring-offset-2">
26+
Login
27+
</button>
28+
</Link>
29+
<Link to="/login">
30+
<button className="px-6 py-2 ml-4 font-semibold text-black transition duration-500 ease-in-out transform border rounded-lg shadow-xl hover:bg-wickedgray-300 hover:text-white focus:shadow-outline focus:outline-none focus:ring-2 ring-offset-current ring-offset-2">
31+
Sign up
32+
</button>
33+
</Link>
3034
</div>
3135
</div>
3236
</section>

0 commit comments

Comments
 (0)