Skip to content

Commit

Permalink
added button to info page
Browse files Browse the repository at this point in the history
  • Loading branch information
ajesuscode committed Oct 17, 2023
1 parent 90e0817 commit be0382c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/app/info/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";
import pintxosData from "@/app/constants/pintxosData"; // Adjust the import path as needed
import pintxosData from "@/app/constants/pintxosData";
import Image from "next/image";
import Link from "next/link";

//TODO Add more description, refactor ui
const Info = () => {
Expand Down Expand Up @@ -54,6 +55,13 @@ const Info = () => {
</div>
))}
</div>
<div className="mx-auto mb-8 lg:flex lg:justify-center lg:items-center md:mt-8">
<Link href="/spots">
<button className=" p-4 rounded-md bg-secondary text-primary hover:bg-light hover:text-dark font-body w-full md:px-12">
Go to Pintxos
</button>
</Link>
</div>
</div>
);
};
Expand Down

0 comments on commit be0382c

Please sign in to comment.