Skip to content

Commit

Permalink
Fixes broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanbhasin committed Apr 29, 2022
1 parent 1b40363 commit fcbc4ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions frontend/src/client/pages/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ const MainContent = () => {
Get started by
</p>
<div>
<Link to="/create" className="bg-indigo-800 hover:bg-indigo-700 text-white font-bold py-2 px-4 rounded">Listing an NFT</Link>
<Link to="/find" className="ml-4 bg-indigo-800 hover:bg-indigo-700 text-white font-bold py-2 px-4 rounded">Exploring Current Rentals</Link>
<Link to="/list" className="bg-indigo-800 hover:bg-indigo-700 text-white font-bold py-2 px-4 rounded">Listing an NFT</Link>
<Link to="/explore" className="ml-4 bg-indigo-800 hover:bg-indigo-700 text-white font-bold py-2 px-4 rounded">Exploring Current Rentals</Link>
</div>
</div>
);
Expand Down
9 changes: 3 additions & 6 deletions frontend/src/client/pages/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,16 @@ const Main = () => {
Want to borrow someone else's NFT to go to a party?
</p>
<div className="mt-3 text-base text-slate-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
<button className="bg-indigo-600 hover:bg-indigo-700 text-white font-medium py-2 px-4 rounded">
Connect Your Wallet
</button>
<span>&nbsp; and get started!</span>
<span>Connect Your Wallet and get started!</span>
</div>
<div className="mt-5 sm:mt-8 sm:flex sm:justify-center lg:justify-start">
<div className="rounded-md shadow">
<Link to="/create" className="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 md:py-4 md:text-lg md:px-10">
<Link to="/list" className="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 md:py-4 md:text-lg md:px-10">
List a rental now
</Link>
</div>
<div className="mt-3 sm:mt-0 sm:ml-3">
<Link to="/find" className="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 md:py-4 md:text-lg md:px-10">
<Link to="/explore" className="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 md:py-4 md:text-lg md:px-10">
Explore current rentals
</Link>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/client/pages/Rentals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const MyListingsView = () => {
{/* TODO: Check if user has listed NFTs */}
<p>You haven't listed any NFTs!</p>
<div>
<Link to="/create" className="bg-indigo-600 hover:bg-indigo-700 text-white font-bold px-8 py-3 rounded">List a Rental</Link>
<Link to="/list" className="bg-indigo-600 hover:bg-indigo-700 text-white font-bold px-8 py-3 rounded">List a Rental</Link>
</div>
</div>
);
Expand All @@ -36,7 +36,7 @@ const MyRentalsView = () => {
{/* TODO: Check if user has rented NFTs */}
<p>You haven't rented any NFTs!</p>
<div>
<Link to="/find" className="bg-indigo-600 hover:bg-indigo-700 text-white font-bold px-8 py-3 rounded">Explore Current Rentals!</Link>
<Link to="/explore" className="bg-indigo-600 hover:bg-indigo-700 text-white font-bold px-8 py-3 rounded">Explore Current Rentals!</Link>
</div>
</div>
);
Expand Down

0 comments on commit fcbc4ef

Please sign in to comment.