Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

chore: Update help popover (#2840)

Oleg Isonena8d8c7a4589b
diff --git a/apps/builder/app/builder/features/sidebar-left/help-popover.tsx b/apps/builder/app/builder/features/sidebar-left/help-popover.tsx
index b9b47aa2a8..612a0d9d81 100644
--- a/apps/builder/app/builder/features/sidebar-left/help-popover.tsx
+++ b/apps/builder/app/builder/features/sidebar-left/help-popover.tsx
@@ -11,8 +11,8 @@ import {
import {
DiscordIcon,
GithubIcon,
- TwitterIcon,
Webstudio1cIcon,
+ XIcon,
Youtube1cIcon,
} from "@webstudio-is/icons";
import { type ComponentProps } from "react";
@@ -55,32 +55,32 @@ export const HelpPopover = ({
Learn with videos
</Button>
<Button
- formAction="https://webstudio.is/blog"
+ formAction="https://docs.webstudio.is/"
prefix={<Webstudio1cIcon />}
color="gradient"
>
- Learn on our blog
+ Learn from docs
</Button>
<Button
formAction="https://discord.gg/UNdyrDkq5r"
prefix={<DiscordIcon />}
color="primary"
>
- Chat with us on Discord
+ Chat on Discord
</Button>
<Button
formAction="https://github.com/webstudio-is/webstudio-community/discussions"
prefix={<GithubIcon />}
color="dark"
>
- Join Github discussions
+ Discuss on GitHub
</Button>
<Button
- formAction="https://twitter.com/getwebstudio"
- prefix={<TwitterIcon />}
+ formAction="https://x.com/getwebstudio"
+ prefix={<XIcon />}
color="dark"
>
- Follow us on Twitter
+ Follow us on X
</Button>
</Flex>
</PopoverContent>
diff --git a/packages/icons/icons/twitter.svg b/packages/icons/icons/twitter.svg
deleted file mode 100644
index 85c86f3c18..0000000000
--- a/packages/icons/icons/twitter.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
- <path d="M13.5665 5.14369C13.5726 5.26695 13.5749 5.39174 13.5749 5.515C13.5749 9.31174 10.6859 13.6883 5.40315 13.6883C3.78022 13.6883 2.27141 13.2127 1 12.3971C1.22522 12.4237 1.45348 12.4374 1.68478 12.4374C3.03152 12.4374 4.26946 11.9778 5.25174 11.2086C3.99554 11.185 2.93413 10.3556 2.56891 9.21435C2.74391 9.24706 2.92424 9.26456 3.10913 9.26456C3.37163 9.26456 3.62576 9.23032 3.8662 9.16489C2.55217 8.90011 1.56228 7.73978 1.56228 6.34739C1.56228 6.33522 1.56228 6.3238 1.56228 6.31163C1.94957 6.52695 2.39315 6.6563 2.86337 6.67152C2.09261 6.15565 1.58511 5.27761 1.58511 4.28011C1.58511 3.75435 1.72663 3.26054 1.97467 2.83598C3.39065 4.57456 5.50815 5.71739 7.895 5.83761C7.8463 5.62685 7.8212 5.40848 7.8212 5.1825C7.8212 3.59685 9.1063 2.31174 10.6927 2.31174C11.519 2.31174 12.2654 2.65945 12.7897 3.21793C13.4433 3.08858 14.058 2.84967 14.6135 2.52098C14.3989 3.1913 13.9432 3.75435 13.3504 4.10967C13.9317 4.03967 14.4841 3.88674 15 3.65772C14.615 4.23445 14.128 4.73967 13.5665 5.14369Z"/>
-</svg>
-
\ No newline at end of file
diff --git a/packages/icons/icons/x.svg b/packages/icons/icons/x.svg
new file mode 100644
index 0000000000..9d6b3fcefb
--- /dev/null
+++ b/packages/icons/icons/x.svg
@@ -0,0 +1,11 @@
+<svg
+ width="16"
+ height="16"
+ viewBox="0 0 16 16"
+ fill="currentColor"
+ xmlns="http://www.w3.org/2000/svg"
+>
+ <path
+ d="M9.14163 7.08118L13.6089 2H12.5503L8.67137 6.41192L5.57328 2H2L6.68492 8.6716L2 14H3.05866L7.15491 9.34086L10.4267 14H14L9.14137 7.08118H9.14163ZM7.69165 8.73038L7.21697 8.06604L3.44011 2.77981H5.06615L8.11412 7.04596L8.5888 7.71031L12.5508 13.2557H10.9248L7.69165 8.73063V8.73038Z"
+ />
+</svg>
diff --git a/packages/icons/src/__generated__/index.ts b/packages/icons/src/__generated__/index.ts
index 8e6fac925e..8bcaa71bae 100644
--- a/packages/icons/src/__generated__/index.ts
+++ b/packages/icons/src/__generated__/index.ts
@@ -164,7 +164,6 @@ export * from "./text-italic";
export * from "./text";
export * from "./tooltip";
export * from "./trigger";
-export * from "./twitter";
export * from "./upload";
export * from "./video";
export * from "./viewport";
@@ -172,4 +171,5 @@ export * from "./vimeo";
export * from "./webstudio-1c";
export * from "./webstudio";
export * from "./wrap";
+export * from "./x";
export * from "./youtube-1c";
diff --git a/packages/icons/src/__generated__/svg/index.ts b/packages/icons/src/__generated__/svg/index.ts
index c195378f7d..c894ba2fc1 100644
--- a/packages/icons/src/__generated__/svg/index.ts
+++ b/packages/icons/src/__generated__/svg/index.ts
@@ -164,7 +164,6 @@ export { TextItalicIcon } from "./text-italic";
export { TextIcon } from "./text";
export { TooltipIcon } from "./tooltip";
export { TriggerIcon } from "./trigger";
-export { TwitterIcon } from "./twitter";
export { UploadIcon } from "./upload";
export { VideoIcon } from "./video";
export { ViewportIcon } from "./viewport";
@@ -172,4 +171,5 @@ export { VimeoIcon } from "./vimeo";
export { Webstudio1cIcon } from "./webstudio-1c";
export { WebstudioIcon } from "./webstudio";
export { WrapIcon } from "./wrap";
+export { XIcon } from "./x";
export { Youtube1cIcon } from "./youtube-1c";
diff --git a/packages/icons/src/__generated__/svg/twitter.ts b/packages/icons/src/__generated__/svg/twitter.ts
deleted file mode 100644
index 711c02c5a7..0000000000
--- a/packages/icons/src/__generated__/svg/twitter.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const TwitterIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16" width="100%" height="100%" style="display: block;"><path d="M13.566 5.144c.007.123.009.248.009.371 0 3.797-2.89 8.173-8.172 8.173A8.124 8.124 0 0 1 1 12.398a5.765 5.765 0 0 0 4.252-1.188 2.875 2.875 0 0 1-2.683-1.996 2.936 2.936 0 0 0 1.297-.05 2.875 2.875 0 0 1-2.304-2.817v-.035c.388.215.831.344 1.301.36a2.872 2.872 0 0 1-.888-3.836 8.153 8.153 0 0 0 5.92 3.002 2.87 2.87 0 0 1 2.798-3.526c.826 0 1.572.347 2.097.906a5.785 5.785 0 0 0 1.824-.697A2.883 2.883 0 0 1 13.35 4.11 5.746 5.746 0 0 0 15 3.658a5.8 5.8 0 0 1-1.434 1.486Z"/></svg>`;
diff --git a/packages/icons/src/__generated__/svg/x.ts b/packages/icons/src/__generated__/svg/x.ts
new file mode 100644
index 0000000000..e8b27f70ac
--- /dev/null
+++ b/packages/icons/src/__generated__/svg/x.ts
@@ -0,0 +1 @@
+export const XIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16" width="100%" height="100%" style="display: block;"><path d="M9.142 7.081 13.609 2H12.55L8.671 6.412 5.573 2H2l4.685 6.672L2 14h1.059l4.096-4.66L10.427 14H14L9.141 7.081Zm-1.45 1.65-.475-.665L3.44 2.78h1.626l3.048 4.266.475.664 3.962 5.546h-1.626L7.692 8.73Z"/></svg>`;
diff --git a/packages/icons/src/__generated__/twitter.tsx b/packages/icons/src/__generated__/twitter.tsx
deleted file mode 100644
index aad3c549f8..0000000000
--- a/packages/icons/src/__generated__/twitter.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-// Generated from icons/twitter.svg
-
-import { forwardRef } from "react";
-import type { IconProps } from "../types";
-
-// prettier-ignore
-export const TwitterIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
- return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M13.566 5.144c.007.123.009.248.009.371 0 3.797-2.89 8.173-8.172 8.173A8.124 8.124 0 0 1 1 12.398a5.765 5.765 0 0 0 4.252-1.188 2.875 2.875 0 0 1-2.683-1.996 2.936 2.936 0 0 0 1.297-.05 2.875 2.875 0 0 1-2.304-2.817v-.035c.388.215.831.344 1.301.36a2.872 2.872 0 0 1-.888-3.836 8.153 8.153 0 0 0 5.92 3.002 2.87 2.87 0 0 1 2.798-3.526c.826 0 1.572.347 2.097.906a5.785 5.785 0 0 0 1.824-.697A2.883 2.883 0 0 1 13.35 4.11 5.746 5.746 0 0 0 15 3.658a5.8 5.8 0 0 1-1.434 1.486Z" /></svg>
- );
- }
-);
-
-TwitterIcon.displayName = "TwitterIcon";
diff --git a/packages/icons/src/__generated__/x.tsx b/packages/icons/src/__generated__/x.tsx
new file mode 100644
index 0000000000..0c2b43a30d
--- /dev/null
+++ b/packages/icons/src/__generated__/x.tsx
@@ -0,0 +1,15 @@
+// Generated from icons/x.svg
+
+import { forwardRef } from "react";
+import type { IconProps } from "../types";
+
+// prettier-ignore
+export const XIcon = forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
+ return (
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M9.142 7.081 13.609 2H12.55L8.671 6.412 5.573 2H2l4.685 6.672L2 14h1.059l4.096-4.66L10.427 14H14L9.141 7.081Zm-1.45 1.65-.475-.665L3.44 2.78h1.626l3.048 4.266.475.664 3.962 5.546h-1.626L7.692 8.73Z" /></svg>
+ );
+ }
+);
+
+XIcon.displayName = "XIcon";