diff --git a/src/components/CookieConsentBanner.tsx b/src/components/CookieConsentBanner.tsx new file mode 100644 index 0000000..f8cf683 --- /dev/null +++ b/src/components/CookieConsentBanner.tsx @@ -0,0 +1,4 @@ +function CookieConsentBanner() { + return null; // TODO: implement cookie consent UI +} +export default CookieConsentBanner; diff --git a/src/features/canvas/CanvasPage.tsx b/src/features/canvas/CanvasPage.tsx index 68c758c..2afe062 100644 --- a/src/features/canvas/CanvasPage.tsx +++ b/src/features/canvas/CanvasPage.tsx @@ -2809,7 +2809,7 @@ function CanvasPage({ if (targetPort) { connectCanvasPorts(connectorDrag.port, targetPort); } else { - const menuPosition = positionFloatingMenu(event.clientX, event.clientY, 200, 160, 0); + const menuPosition = positionFloatingMenu(event.clientX, event.clientY, 200, 160, -40); setConnectionDropMenu({ ...menuPosition, originLeft: event.clientX, diff --git a/src/features/compliance/CompliancePage.tsx b/src/features/compliance/CompliancePage.tsx new file mode 100644 index 0000000..c6ca348 --- /dev/null +++ b/src/features/compliance/CompliancePage.tsx @@ -0,0 +1,14 @@ +interface CompliancePageProps { + kind: "agreement" | "privacy"; +} + +function CompliancePage({ kind }: CompliancePageProps) { + return ( +
内容加载中...
+