fix: banner link

This commit is contained in:
MTG2000
2022-09-19 15:23:26 +03:00
parent e706b875f1
commit c544d69654
3 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ export default function HackathonsPage() {
className={`page-container`}
>
<div className={`w-full`}>
<Link to={createRoute({ type: "tournament", id: 12 })}>
<Link to={createRoute({ type: "tournament", id: 1 })}>
<div className="rounded-16 min-h-[280px] relative overflow-hidden p-16 md:p-24 flex flex-col items-start justify-end mb-24">
<img
className="w-full h-full object-cover object-center absolute top-0 left-0 z-[-2]"

View File

@@ -49,7 +49,7 @@ export default function FeedPage() {
<div
className={`page-container`}
>
<Link to={createRoute({ type: "tournament", id: 12 })}>
<Link to={createRoute({ type: "tournament", id: 1 })}>
<div className="rounded-16 min-h-[280px] relative overflow-hidden p-16 md:p-24 flex flex-col items-start justify-end mb-24">
<img
className="w-full h-full object-cover object-center absolute top-0 left-0 z-[-2]"

View File

@@ -18,7 +18,7 @@ export const bannerData = {
img: "https://i.ibb.co/bRY635n/wide.png",
link: {
content: "Register Now",
url: createRoute({ type: "tournament", id: 1, tab: 'overview' }),
url: createRoute({ type: "tournament", id: 1 }),
},
}
@@ -76,7 +76,7 @@ export default function Header() {
<div className="max-w-[90%]">
{headerLinks[0].title}
</div>
<Button color="white" href={headerLinks[0].link.url} newTab className="mt-24">
<Button color="white" href={headerLinks[0].link.url} className="mt-24">
{headerLinks[0].link.content}
</Button>
</div>