Skip to content

Commit 95b563f

Browse files
committed
chore(apollo-vertex): Rebase and linting
1 parent 8391de5 commit 95b563f

4 files changed

Lines changed: 16 additions & 6 deletions

File tree

apps/apollo-vertex/app/preview/dashboard-minimal/page.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
"use client";
22

3-
import { DashboardTemplate } from "@/templates/dashboard/DashboardTemplateDynamic";
3+
import dynamic from "next/dynamic";
4+
5+
const DashboardTemplate = dynamic(
6+
() => import("@/templates/dashboard/DashboardTemplate").then((mod) => mod.DashboardTemplate),
7+
{ ssr: false },
8+
);
49

510
export default function DashboardMinimalPreviewPage() {
611
return (
7-
<div className="fixed inset-0 z-50 bg-background ">
12+
<div className="fixed inset-0 z-50 bg-background not-prose">
813
<DashboardTemplate shellVariant="minimal" />
914
</div>
1015
);

apps/apollo-vertex/app/preview/dashboard/page.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
"use client";
22

3-
import { DashboardTemplate } from "@/templates/dashboard/DashboardTemplateDynamic";
3+
import dynamic from "next/dynamic";
4+
5+
const DashboardTemplate = dynamic(
6+
() => import("@/templates/dashboard/DashboardTemplate").then((mod) => mod.DashboardTemplate),
7+
{ ssr: false },
8+
);
49

510
export default function DashboardPreviewPage() {
611
return (
7-
<div className="fixed inset-0 z-50 bg-background ">
12+
<div className="fixed inset-0 z-50 bg-background not-prose">
813
<DashboardTemplate />
914
</div>
1015
);

apps/apollo-vertex/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/types/routes.d.ts";
3+
import "./.next/dev/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

apps/apollo-vertex/registry/card/card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const GLASS_CLASSES = [
1010
"dark:shadow-[0_2px_24px_2px_rgba(0,0,0,0.12),inset_0_1px_0_0_color-mix(in_srgb,var(--sidebar)_5%,transparent)]",
1111
] as const;
1212

13-
const cardVariants = cva("flex flex-col text-card-foreground", {
13+
const cardVariants = cva("flex flex-col gap-6 py-6 text-card-foreground", {
1414
variants: {
1515
variant: {
1616
default: GLASS_CLASSES,

0 commit comments

Comments
 (0)