Skip to content

Commit

Permalink
Fix incorrect season number on index page (temporary solution) (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
thearyadev authored Dec 25, 2023
1 parent d7d6700 commit 72f19c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function MyApp({Component, pageProps}: T500AggregatorAppProps) {
<>
<Header nav_links={links}/>
<main className="mt-5 lg:ml-3 lg:mr-3 sm:ml-1 sm:mr-1">
<h2 className={"text-4xl pb-4"}>{seasonNumber? `Season ${seasonNumber}`: path.toLowerCase().includes("trends") ? "Trends" : "Season 8"}</h2>
<h2 className={"text-4xl pb-4"}>{seasonNumber? `Season ${seasonNumber}`: path.toLowerCase().includes("trends") ? "Trends" : "Season 7"}</h2>

<p className="pb-2"><strong>Welcome to Overwatch 2 Top 500 Aggregator</strong></p>
<p>The data available on this page is not 100% accurate. Data collection involves computer vision and
Expand Down

0 comments on commit 72f19c2

Please sign in to comment.