mirror of
https://github.com/homarr-labs/dashboard-icons.git
synced 2026-01-12 16:25:38 +08:00
(web): update dependencies, add PostHog configuration, and modify icon details layout
This commit is contained in:
3
web/.gitignore
vendored
3
web/.gitignore
vendored
@@ -48,4 +48,5 @@ next-env.d.ts
|
||||
|
||||
# Pocketbase
|
||||
backend/pocketbase
|
||||
backend/pb_data
|
||||
backend/pb_data
|
||||
scripts
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { NextConfig } from "next";
|
||||
import { withPostHogConfig } from "@posthog/nextjs-config";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
cacheComponents: false,
|
||||
@@ -8,4 +9,15 @@ const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
};
|
||||
|
||||
export default nextConfig
|
||||
export default nextConfig;
|
||||
|
||||
// export default withPostHogConfig(nextConfig, {
|
||||
// personalApiKey: process.env.POSTHOG_API_KEY!, // Personal API Key
|
||||
// envId: process.env.POSTHOG_ENV_ID!, // Environment ID
|
||||
// host: process.env.NEXT_PUBLIC_POSTHOG_HOST, // (optional), defaults to https://us.posthog.com
|
||||
// sourcemaps: { // (optional)
|
||||
// enabled: true, // (optional) Enable sourcemaps generation and upload, default to true on production builds
|
||||
// project: "dashboardicons", // (optional) Project name, defaults to repository name
|
||||
// deleteAfterUpload: true, // (optional) Delete sourcemaps after upload, defaults to true
|
||||
// },
|
||||
// });
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@hookform/resolvers": "^5.2.1",
|
||||
"@posthog/nextjs-config": "^1.4.0",
|
||||
"@posthog/nextjs-config": "^1.6.3",
|
||||
"@radix-ui/react-accordion": "^1.2.12",
|
||||
"@radix-ui/react-alert-dialog": "^1.1.15",
|
||||
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
||||
@@ -45,9 +45,9 @@
|
||||
"@radix-ui/react-toggle-group": "^1.1.11",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
||||
"@tanstack/react-form": "^1.25.0",
|
||||
"@tanstack/react-query": "^5.90.10",
|
||||
"@tanstack/react-query-devtools": "^5.90.2",
|
||||
"@tanstack/react-form": "^1.27.0",
|
||||
"@tanstack/react-query": "^5.90.11",
|
||||
"@tanstack/react-query-devtools": "^5.91.1",
|
||||
"@tanstack/react-table": "^8.21.3",
|
||||
"@tanstack/react-virtual": "^3.13.12",
|
||||
"canvas-confetti": "^1.9.3",
|
||||
@@ -61,17 +61,17 @@
|
||||
"input-otp": "^1.4.2",
|
||||
"lucide-react": "^0.553.0",
|
||||
"motion": "^12.23.24",
|
||||
"next": "16.0.3",
|
||||
"next": "16.0.7",
|
||||
"next-themes": "^0.4.6",
|
||||
"pocketbase": "^0.26.3",
|
||||
"posthog-js": "^1.293.0",
|
||||
"posthog-node": "^5.11.2",
|
||||
"pocketbase": "^0.26.4",
|
||||
"posthog-js": "^1.301.1",
|
||||
"posthog-node": "^5.17.0",
|
||||
"radix-ui": "^1.4.3",
|
||||
"react": "^19.2.0",
|
||||
"react": "^19.2.1",
|
||||
"react-day-picker": "9.11.1",
|
||||
"react-dom": "^19.2.0",
|
||||
"react-dom": "^19.2.1",
|
||||
"react-dropzone": "^14.3.8",
|
||||
"react-hook-form": "^7.66.0",
|
||||
"react-hook-form": "^7.68.0",
|
||||
"react-resizable-panels": "^3.0.6",
|
||||
"recharts": "^3.4.1",
|
||||
"sonner": "^2.0.7",
|
||||
@@ -88,6 +88,7 @@
|
||||
"@types/node": "^24.10.1",
|
||||
"@types/react": "^19.2.5",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"baseline-browser-mapping": "^2.8.32",
|
||||
"tailwindcss": "^4.1.13",
|
||||
"typescript": "^5.9.2"
|
||||
},
|
||||
|
||||
1542
web/pnpm-lock.yaml
generated
1542
web/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -477,7 +477,7 @@ export function IconDetails({ icon, iconData, authorData, allIcons, status, stat
|
||||
<Card className="h-full bg-background/50 border shadow-lg">
|
||||
<CardHeader className="pb-4">
|
||||
<div className="flex flex-col items-center">
|
||||
<div className="relative w-32 h-32 rounded-xl overflow-hidden border flex items-center justify-center p-3">
|
||||
<div className="relative w-32 h-32 rounded-xl overflow-hidden flex items-center justify-center p-3">
|
||||
<Image
|
||||
src={
|
||||
isCommunityIcon && mainIconUrl
|
||||
|
||||
Reference in New Issue
Block a user