diff --git a/apps/dashboard/app/favicon.ico b/apps/dashboard/src/app/favicon.ico similarity index 100% rename from apps/dashboard/app/favicon.ico rename to apps/dashboard/src/app/favicon.ico diff --git a/apps/dashboard/app/globals.css b/apps/dashboard/src/app/globals.css similarity index 100% rename from apps/dashboard/app/globals.css rename to apps/dashboard/src/app/globals.css diff --git a/apps/dashboard/app/layout.tsx b/apps/dashboard/src/app/layout.tsx similarity index 100% rename from apps/dashboard/app/layout.tsx rename to apps/dashboard/src/app/layout.tsx diff --git a/apps/dashboard/app/page.tsx b/apps/dashboard/src/app/page.tsx similarity index 78% rename from apps/dashboard/app/page.tsx rename to apps/dashboard/src/app/page.tsx index bcb15de..ad27c22 100644 --- a/apps/dashboard/app/page.tsx +++ b/apps/dashboard/src/app/page.tsx @@ -1,6 +1,6 @@ 'use client' -import { OgPlayground } from "./_components/OgPlayground"; -import type { OGElement } from "./_lib/types"; +import { OgPlayground } from "../components/OgPlayground"; +import type { OGElement } from "../lib/types"; const initialElements: OGElement[] = [ { diff --git a/apps/dashboard/app/_components/Button.tsx b/apps/dashboard/src/components/Button.tsx similarity index 100% rename from apps/dashboard/app/_components/Button.tsx rename to apps/dashboard/src/components/Button.tsx diff --git a/apps/dashboard/app/_components/Element.tsx b/apps/dashboard/src/components/Element.tsx similarity index 99% rename from apps/dashboard/app/_components/Element.tsx rename to apps/dashboard/src/components/Element.tsx index 63e3a91..b110c4e 100644 --- a/apps/dashboard/app/_components/Element.tsx +++ b/apps/dashboard/src/components/Element.tsx @@ -1,6 +1,6 @@ import type { CSSProperties } from "react"; import { useEffect, useMemo, useRef, useState } from "react" -import type { OGElement } from "../_lib/types" +import type { OGElement } from "../lib/types"; import { useOg } from "./OgPlayground" function hexToRgba(hex: string, alpha: number) { diff --git a/apps/dashboard/app/_components/ElementTab.tsx b/apps/dashboard/src/components/ElementTab.tsx similarity index 92% rename from apps/dashboard/app/_components/ElementTab.tsx rename to apps/dashboard/src/components/ElementTab.tsx index bbccc8e..6e1814d 100644 --- a/apps/dashboard/app/_components/ElementTab.tsx +++ b/apps/dashboard/src/components/ElementTab.tsx @@ -1,6 +1,6 @@ import { useSortable } from "@dnd-kit/sortable" import { CSS } from '@dnd-kit/utilities'; -import type { OGElement } from "../_lib/types" +import type { OGElement } from "../lib/types"; import { useOg } from "./OgPlayground" import { BoxIcon } from "./icons/BoxIcon" import { CircleIcon } from "./icons/CircleIcon" @@ -69,10 +69,12 @@ export function ElementTab({ element }: ElementTabProps) {