diff --git a/apps/builder/app/builder/features/blocking-alerts/blocking-alerts.tsx b/apps/builder/app/builder/features/blocking-alerts/blocking-alerts.tsx index 880fbd3618e..a12ebf93416 100644 --- a/apps/builder/app/builder/features/blocking-alerts/blocking-alerts.tsx +++ b/apps/builder/app/builder/features/blocking-alerts/blocking-alerts.tsx @@ -2,7 +2,7 @@ import { useEffect, useState, type ReactNode } from "react"; import { Alert } from "./alert"; import { useWindowResizeDebounced } from "~/shared/dom-hooks"; import { isFeatureEnabled } from "@webstudio-is/feature-flags"; -import { styled, theme } from "@webstudio-is/design-system"; +import { Link } from "@webstudio-is/design-system"; const useTooSmallMessage = () => { const [message, setMessage] = useState(); @@ -21,21 +21,11 @@ const useTooSmallMessage = () => { return message; }; -// @todo: move to design system -// https://discord.com/channels/955905230107738152/1149380442315825212/1149408306671128666 -// https://discord.com/channels/955905230107738152/1048308525673238558/1184833931569266738 -const Link = styled("a", { - color: theme.colors.foregroundLink, - "&:visited": { - color: theme.colors.foregroundLinkVisited, - }, -}); - const useUnsupportedBrowser = () => { const [message, setMessage] = useState(); useEffect(() => { if ("chrome" in window || isFeatureEnabled("unsupportedBrowsers")) { - return; + //return; } setMessage( @@ -44,23 +34,45 @@ const useUnsupportedBrowser = () => { Chromium-based {" "} browsers such as{" "} - + Google Chrome ,{" "} - + Microsoft Edge ,{" "} - + Brave ,{" "} - + Arc {" "} and many more. We plan to support Firefox and Safari in the near future. diff --git a/apps/builder/app/builder/features/topbar/publish.tsx b/apps/builder/app/builder/features/topbar/publish.tsx index 0bfc6667f32..ab074e96e7d 100644 --- a/apps/builder/app/builder/features/topbar/publish.tsx +++ b/apps/builder/app/builder/features/topbar/publish.tsx @@ -19,10 +19,10 @@ import { ScrollArea, Box, rawTheme, - styled, Select, theme, TextArea, + Link, } from "@webstudio-is/design-system"; import stripIndent from "strip-indent"; import { useIsPublishDialogOpen } from "../../shared/nano-states"; @@ -187,6 +187,7 @@ const ChangeProjectDomain = ({ { Download and install Node v18+ from{" "} - + nodejs.org {" "} or with{" "} { - +