Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const config: NextConfig = {
ignoreBuildErrors: true,
},
output: "standalone",
transpilePackages: ["@t3-oss/env-nextjs", "@t3-oss/env-core"],
transpilePackages: ["@t3-oss/env-nextjs", "@t3-oss/env-core", "@polinetwork/backend"],
experimental: {
reactCompiler: true,
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"build": "next build",
"dev": "PORT=3001 next dev --turbo",
"dev:turbofree": "PORT=3001 next dev",
"check": "biome check",
"check:fix": "biome check --fix --unsafe",
"preview": "next build && next start",
Expand All @@ -16,7 +17,7 @@
"@base-ui/react": "^1.3.0",
"@better-auth/passkey": "^1.5.5",
"@hookform/resolvers": "^3.9.1",
"@polinetwork/backend": "^0.15.17",
"@polinetwork/backend": "link:/mnt/SAN240GB/projects/polinetwork/backend/package",
"@radix-ui/react-dialog": "^1.1.15",
"@t3-oss/env-nextjs": "^0.13.10",
"@tanstack/react-table": "^8.21.2",
Expand Down
9 changes: 2 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions src/app/dashboard/(active)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Globe } from "lucide-react"
import Image from "next/image"
import Link from "next/link"
import azureSvg from "@/assets/svg/azure.svg"
Expand Down Expand Up @@ -38,6 +39,18 @@ export default async function AdminHome() {
</CardHeader>
</Card>
</Link>

<Link href="/dashboard/web">
<Card className="w-90 hover:bg-accent transition-colors">
<CardHeader>
<CardTitle className="flex gap-2">
<Globe className="size-5" />
Web
</CardTitle>
<CardDescription>Manage website related things</CardDescription>
</CardHeader>
</Card>
</Link>
</div>
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion src/app/dashboard/(active)/telegram/groups/group-row.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client"
import { Copy, Pen } from "lucide-react"
import { Copy } from "lucide-react"
import { useRouter } from "next/navigation"
import { toast } from "sonner"
import { Badge } from "@/components/ui/badge"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"
import { useSession } from "@/lib/auth"
import { delUserRole } from "@/server/actions/users"
import type { ApiOutput, TgUser, TgUserRole } from "@/server/trpc/types"
import type { TgUser, TgUserRole } from "@/server/trpc/types"

const ARRAY_USER_ROLES = [
USER_ROLE.ADMIN,
Expand Down
Loading