Skip to content

Commit

Permalink
Merge pull request #5 from Adi-204/tryout
Browse files Browse the repository at this point in the history
Suggested design for buttons
  • Loading branch information
saharsh-agrawal authored Dec 8, 2024
2 parents 319443e + 24a6a76 commit 3c14d40
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
6 changes: 4 additions & 2 deletions app/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ const Home = () => {
<h3>Find your travel partners for your next trip or train ride</h3>
<br />
<div className="d-flex justify-content-center gap-3">
<Link href="/trips" className="btn btn-primary btn-lg">
<Link href="/trips" className="btn btn-lg text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-green-200 font-medium rounded-full text-sm px-4 py-2 text-center transition-all duration-500"
>
Trips
</Link>
<Link href="/trains" className="btn btn-secondary btn-lg">
<Link href="/trains" className="btn btn-lg text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-green-200 font-medium rounded-full text-sm px-4 py-2 text-center transition-all duration-500"
>
Trains
</Link>
</div>
Expand Down
8 changes: 5 additions & 3 deletions app/trains/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,19 @@ const Page = () => {
</h6>
<br />
<div className="d-flex justify-content-center gap-3 align-items-center flex-wrap mb-3">
<Link href="/trains/create" className="btn btn-primary btn-lg">
<Link href="/trains/create" className="btn btn-lg text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-green-200 font-medium rounded-full text-sm px-4 py-2 text-center transition-all duration-500"
>
Enter New Train Details
</Link>
<Link
href="/trains/my-trains"
className="btn btn-primary btn-lg"
className="btn btn-lg text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-green-200 font-medium rounded-full text-sm px-4 py-2 text-center transition-all duration-500"
>
My Current Train Trips
</Link>
</div>
<Link href="/" className="btn btn-secondary btn-lg">
<Link href="/" className="btn btn-lg text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-green-200 font-medium rounded-full text-sm px-4 py-2 text-center transition-all duration-500"
>
Back to Home
</Link>
<footer className="mt-5">
Expand Down
9 changes: 6 additions & 3 deletions app/trips/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ const Page = () => {
</h6>
<br />
<div className="d-flex justify-content-center gap-3 align-items-center flex-wrap mb-3">
<Link href="/trips/create" className="btn btn-primary btn-lg">
<Link href="/trips/create" className="btn btn-lg text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-green-200 font-medium rounded-full text-sm px-4 py-2 text-center transition-all duration-500"
>
Enter New Trip Details
</Link>
<Link href="/trips/my-trips" className="btn btn-primary btn-lg">
<Link href="/trips/my-trips" className="btn btn-lg text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-green-200 font-medium rounded-full text-sm px-4 py-2 text-center transition-all duration-500"
>
My Current Trips
</Link>
</div>
<Link href="/" className="btn btn-secondary btn-lg">
<Link href="/" className="btn btn-lg text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-green-200 font-medium rounded-full text-sm px-4 py-2 text-center transition-all duration-500"
>
Back to Home
</Link>
<footer className="mt-5">
Expand Down

0 comments on commit 3c14d40

Please sign in to comment.