Skip to content

Commit

Permalink
some cleaning #96
Browse files Browse the repository at this point in the history
  • Loading branch information
djobbo committed Oct 22, 2023
1 parent 589a036 commit 5302e7e
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 589 deletions.
10 changes: 1 addition & 9 deletions app/app/[locale]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,7 @@ export const metadata = {
"Improve your Brawlhalla Game, and find your place among the Elite with our in-depth Player and Clan stats tracking and live leaderboards.",
}

type HomeProps = {
params: {
locale: string
}
}

const t = (str: string) => str

export default async function Home({ params: { locale } }: HomeProps) {
export default async function Home() {
return (
<>
<div className="flex flex-col items-center justify-center lg:gap-16 lg:flex-row">
Expand Down
26 changes: 1 addition & 25 deletions packages/server/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,5 @@
import { get1v1Rankings, get2v2Rankings } from "./stats/getRankings"
import { getBHArticles } from "./getBHArticles"
import { getClanStats } from "./stats/getClanStats"
import { getClansRankings } from "./stats/getClansRankings"
import { getGlobalPlayerRankings } from "./stats/getGlobalPlayerRankings"
import { getPlayerAliases } from "./stats/getPlayerAliases"
import { getPlayerRanked } from "./stats/getPlayerRanked"
import { getPlayerStats } from "./stats/getPlayerStats"
import { getPowerRankings } from "./stats/getPowerRankings"
import { getWeeklyRotation } from "./getWeeklyRotation"
import { router } from "../trpc"
import { searchPlayerAlias } from "./stats/searchPlayerAlias"

export const appRouter = router({
get1v1Rankings,
get2v2Rankings,
getClansRankings,
getPowerRankings,
getPlayerStats,
getPlayerRanked,
getPlayerAliases,
getClanStats,
searchPlayerAlias,
getWeeklyRotation,
getBHArticles,
getGlobalPlayerRankings,
})
export const appRouter = router({})

export type AppRouter = typeof appRouter
67 changes: 0 additions & 67 deletions packages/server/router/stats/getClanStats.ts

This file was deleted.

46 changes: 0 additions & 46 deletions packages/server/router/stats/getClansRankings.ts

This file was deleted.

60 changes: 0 additions & 60 deletions packages/server/router/stats/getGlobalPlayerRankings.ts

This file was deleted.

30 changes: 0 additions & 30 deletions packages/server/router/stats/getPlayerAliases.ts

This file was deleted.

66 changes: 0 additions & 66 deletions packages/server/router/stats/getPlayerRanked.ts

This file was deleted.

77 changes: 0 additions & 77 deletions packages/server/router/stats/getPlayerStats.ts

This file was deleted.

Loading

0 comments on commit 5302e7e

Please sign in to comment.