Skip to content

Commit

Permalink
update deps #96
Browse files Browse the repository at this point in the history
  • Loading branch information
djobbo committed Jan 17, 2024
1 parent 9677b95 commit 71f72be
Show file tree
Hide file tree
Showing 13 changed files with 2,092 additions and 1,686 deletions.
202 changes: 99 additions & 103 deletions app/app/[locale]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,107 +23,103 @@ 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.",
}

// export default async function Home() {
// return (
// <>
// <div className="flex flex-col items-center justify-center lg:gap-16 lg:flex-row">
// <div
// className={cn(
// "relative flex flex-col justify-center items-center lg:items-start",
// landingClassName,
// 'after:content[""] after:absolute after:inset-0 after:bg-accent after:blur-[256px] after:opacity-[0.15] after:-z-10',
// )}
// >
// <Link
// href="/discord"
// target="_blank"
// className="flex items-center gap-2 pl-3 pr-2 py-1 bg-bgVar1/75 rounded-full border border-bg text-sm hover:bg-bgVar2"
// aria-label='Join our "Corehalla" Discord server'
// >
// <span className="border-r border-r-bg pr-2">
// <Trans>Join our community</Trans>
// </span>
// <span className="flex items-center gap-1 font-semibold text-center bg-gradient-to-l from-accent to-accentVar1 bg-clip-text text-fill-none">
// Discord
// <ArrowSmRightIcon className="w-4 h-4" />
// </span>
// </Link>
// <h1
// className={cn(
// "text-center text-5xl sm:text-6xl font-bold mt-6 max-w-5xl",
// "lg:text-start lg:max-w-3xl",
// )}
// >
// <Trans>Stay ahead of the competition</Trans>
// </h1>
// <p
// className={cn(
// "text-center text-sm sm:text-base mt-3 text-textVar1 max-w-xl ",
// "lg:text-start",
// )}
// >
// <Trans>
// Improve your Brawlhalla Game, and find your place
// among the Elite with our in-depth stats tracking and
// live leaderboards.
// </Trans>
// </p>
// <div className="mt-8 flex items-center gap-3 sm:gap-6 flex-col sm:flex-row">
// <SearchButton />
// <span className="text-textVar1 text-sm sm:text-base">
// <Trans>or</Trans>
// </span>
// <div className="flex items-center gap-2">
// <Button
// as="a"
// href="/rankings"
// className="whitespace-nowrap font-semibold"
// >
// <Trans>View rankings</Trans>
// </Button>
// <Button
// as="a"
// buttonStyle="outline"
// href="/rankings/2v2"
// className="whitespace-nowrap font-semibold"
// >
// <Trans>2v2</Trans>
// </Button>
// </div>
// </div>
// </div>
// <div>
// <DiscordCard />
// <Link
// href="/discord"
// target="_blank"
// aria-label="Discord server link"
// className="block text-sm mt-2 text-textVar1 text-center"
// >
// corehalla.com/discord
// </Link>
// </div>
// </div>
// <LandingFavorites />
// <Suspense fallback={<div>Loading free legend rotation...</div>}>
// <WeeklyRotation />
// </Suspense>
// <SectionTitle className="text-center mt-16">
// <Trans>Latest News</Trans>
// </SectionTitle>
// <Suspense
// fallback={
// <div>
// <Trans>Loading articles...</Trans>
// </div>
// }
// >
// <ArticlePreviewGrid first={3} category="" />
// </Suspense>
// </>
// )
// }

export default function Page() {
return <h1>Page</h1>
export default async function Home() {
return (
<>
<div className="flex flex-col items-center justify-center lg:gap-16 lg:flex-row">
<div
className={cn(
"relative flex flex-col justify-center items-center lg:items-start",
landingClassName,
'after:content[""] after:absolute after:inset-0 after:bg-accent after:blur-[256px] after:opacity-[0.15] after:-z-10',
)}
>
<Link
href="/discord"
target="_blank"
className="flex items-center gap-2 pl-3 pr-2 py-1 bg-bgVar1/75 rounded-full border border-bg text-sm hover:bg-bgVar2"
aria-label='Join our "Corehalla" Discord server'
>
<span className="border-r border-r-bg pr-2">
<Trans>Join our community</Trans>
</span>
<span className="flex items-center gap-1 font-semibold text-center bg-gradient-to-l from-accent to-accentVar1 bg-clip-text text-fill-none">
Discord
<ArrowSmRightIcon className="w-4 h-4" />
</span>
</Link>
<h1
className={cn(
"text-center text-5xl sm:text-6xl font-bold mt-6 max-w-5xl",
"lg:text-start lg:max-w-3xl",
)}
>
<Trans>Stay ahead of the competition</Trans>
</h1>
<p
className={cn(
"text-center text-sm sm:text-base mt-3 text-textVar1 max-w-xl ",
"lg:text-start",
)}
>
<Trans>
Improve your Brawlhalla Game, and find your place
among the Elite with our in-depth stats tracking and
live leaderboards.
</Trans>
</p>
<div className="mt-8 flex items-center gap-3 sm:gap-6 flex-col sm:flex-row">
<SearchButton />
<span className="text-textVar1 text-sm sm:text-base">
<Trans>or</Trans>
</span>
<div className="flex items-center gap-2">
<Button
as="a"
href="/rankings"
className="whitespace-nowrap font-semibold"
>
<Trans>View rankings</Trans>
</Button>
<Button
as="a"
buttonStyle="outline"
href="/rankings/2v2"
className="whitespace-nowrap font-semibold"
>
<Trans>2v2</Trans>
</Button>
</div>
</div>
</div>
<div>
<DiscordCard />
<Link
href="/discord"
target="_blank"
aria-label="Discord server link"
className="block text-sm mt-2 text-textVar1 text-center"
>
corehalla.com/discord
</Link>
</div>
</div>
<LandingFavorites />
<Suspense fallback={<div>Loading free legend rotation...</div>}>
<WeeklyRotation />
</Suspense>
<SectionTitle className="text-center mt-16">
<Trans>Latest News</Trans>
</SectionTitle>
<Suspense
fallback={
<div>
<Trans>Loading articles...</Trans>
</div>
}
>
<ArticlePreviewGrid first={3} category="" />
</Suspense>
</>
)
}
56 changes: 28 additions & 28 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,57 +16,57 @@
"locales:compile": "lingui compile"
},
"dependencies": {
"@lingui/core": "^4.5.0",
"@lingui/macro": "^4.5.0",
"@lingui/react": "^4.5.0",
"@lingui/core": "^4.7.0",
"@lingui/macro": "^4.7.0",
"@lingui/react": "^4.7.0",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-dialog": "^1.0.5",
"@tanstack/react-query": "^4.35.3",
"@trpc/client": "^10.43.2",
"@trpc/react-query": "^10.43.2",
"@trpc/server": "^10.43.2",
"@types/node": "20.9.0",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"@trpc/client": "^10.45.0",
"@trpc/react-query": "^10.45.0",
"@trpc/server": "^10.45.0",
"@types/node": "20.10.8",
"@types/react": "18.2.47",
"@types/react-dom": "18.2.18",
"autoprefixer": "10.4.16",
"bhapi": "workspace:*",
"clsx": "^2.0.0",
"clsx": "^2.1.0",
"common": "workspace:*",
"db": "workspace:*",
"drizzle-orm": "^0.28.6",
"drizzle-orm": "^0.29.3",
"drizzle-zod": "^0.5.1",
"encoding": "^0.1.13",
"i18next": "^23.6.0",
"i18next": "^23.7.16",
"immer": "^10.0.3",
"kbar": "0.1.0-beta.43",
"kbar": "0.1.0-beta.45",
"logger": "workspace:*",
"next": "14.0.1",
"next-i18n-router": "^5.0.1",
"next": "14.0.4",
"next-i18n-router": "^5.2.0",
"pg": "^8.11.3",
"postcss": "8.4.31",
"postcss": "8.4.33",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hot-toast": "^2.4.1",
"react-icons": "^4.11.0",
"sharp": "^0.32.6",
"react-icons": "^5.0.0",
"sharp": "^0.33.1",
"superjson": "^2.2.1",
"tailwind-merge": "^2.0.0",
"tailwindcss": "3.3.5",
"tailwind-merge": "^2.2.0",
"tailwindcss": "3.4.1",
"tailwindcss-animate": "^1.0.7",
"typescript": "5.2.2",
"typescript": "5.3.3",
"ui": "workspace:*",
"web-parser": "workspace:*",
"zod": "^3.22.4",
"zustand": "^4.4.6"
"zustand": "^4.4.7"
},
"devDependencies": {
"@cloudflare/next-on-pages": "^1.7.2",
"@lingui/cli": "^4.5.0",
"@lingui/conf": "^4.5.0",
"@lingui/loader": "^4.5.0",
"@cloudflare/next-on-pages": "^1.8.5",
"@lingui/cli": "^4.7.0",
"@lingui/conf": "^4.7.0",
"@lingui/loader": "^4.7.0",
"@lingui/swc-plugin": "^4.0.4",
"@types/pg": "^8.10.9",
"drizzle-kit": "^0.19.13",
"tsx": "^4.0.0"
"drizzle-kit": "^0.20.10",
"tsx": "^4.7.0"
}
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
"deadcode": "knip --no-gitignore --reporter compact"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint": "^8.53.0",
"eslint-config-next": "^14.0.1",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"eslint": "^8.56.0",
"eslint-config-next": "^14.0.4",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"knip": "^2.40.1",
"prettier": "^3.0.3",
"turbo": "^1.10.16",
"typescript": "^5.2.2",
"knip": "^3.13.1",
"prettier": "^3.1.1",
"turbo": "^1.11.3",
"typescript": "^5.3.3",
"zx": "^7.2.3"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/bhapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "bhapi",
"version": "0.0.0",
"devDependencies": {
"@types/node": "^20.9.0",
"@types/node": "^20.10.8",
"tsconfig": "workspace:*",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"scripts": {
"ts:check": "tsc --noEmit"
Expand Down
10 changes: 5 additions & 5 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"name": "common",
"version": "0.0.0",
"devDependencies": {
"@types/node": "^20.9.0",
"@types/react": "^18.2.37",
"@types/node": "^20.10.8",
"@types/react": "^18.2.47",
"tsconfig": "workspace:*",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"scripts": {
"ts:check": "tsc --noEmit"
},
"dependencies": {
"classnames": "^2.3.2",
"classnames": "^2.5.1",
"dayjs": "^1.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-use": "^17.4.0"
"react-use": "^17.4.2"
}
}
8 changes: 4 additions & 4 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"prisma": "prisma"
},
"devDependencies": {
"discord-api-types": "^0.37.63",
"prisma": "^5.5.2",
"discord-api-types": "^0.37.67",
"prisma": "^5.8.0",
"tsconfig": "workspace:*",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"dependencies": {
"@prisma/client": "5.5.2",
"@prisma/client": "5.8.0",
"@supabase/supabase-js": "^1.35.7"
}
}
8 changes: 4 additions & 4 deletions packages/dl-roster-images/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"ts:check": "tsc --noEmit"
},
"dependencies": {
"axios": "^1.6.1",
"axios": "^1.6.5",
"bhapi": "workspace:*",
"cheerio": "1.0.0-rc.12",
"logger": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.9.0",
"ts-node": "^10.9.1",
"@types/node": "^20.10.8",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tsconfig": "workspace:*",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
}
}
Loading

0 comments on commit 71f72be

Please sign in to comment.