-
-
-
-
-
-
-
-
-
-
-
-
+ {logoConfig.map((config, index) => (
+
+ {renderLogo(config.size, config.showText)}
+
+ ))}
-
+
-
- Use cases
-
-
- Learn
-
-
- About
-
-
- Log in
-
+ {renderNavigationItems("xsmall")}
+ {renderLoginButton("xsmall")}
+
+
+
+
+
+ {renderNavigationItems("xsmall")}
+ {renderLoginButton("xsmall")}
-
- Use cases
-
-
- Learn
-
-
- About
-
+ {renderNavigationItems("xsmall")}
-
-
- Use cases
-
-
- Learn
-
-
- About
-
-
+ {renderNavigationItems("large")}
-
-
- Log in
-
-
+
+
+ {renderLoginButton("xsmall", "mr-[var(--spacing-scale-010)]")}
+ {renderCreateRuleButton("xsmall", "medium", "medium")}
+
-
- Log in
-
-
+ {renderLoginButton("large", "mr-[var(--spacing-scale-012)]")}
+ {renderCreateRuleButton("large", "xlarge", "xlarge")}
-
+ {renderCreateRuleButton("xsmall", "small", "small")}
diff --git a/app/components/Logo.js b/app/components/Logo.js
index f5e6d01..ce40310 100644
--- a/app/components/Logo.js
+++ b/app/components/Logo.js
@@ -10,7 +10,7 @@ export default function Logo({ size = "default", showText = true }) {
},
header: {
containerHeight: "h-[20.85px]",
- gap: "gap-[2.11px]",
+ gap: "gap-[4.21px]",
textSize: "text-[11.57px]",
lineHeight: "leading-[14.24px]",
iconSize: "w-[14.24px] h-[14.24px]",
@@ -48,6 +48,8 @@ export default function Logo({ size = "default", showText = true }) {
const config =
size === "header"
? sizes.header
+ : size === "headerMd"
+ ? sizes.headerMd
: size === "headerLg"
? sizes.headerLg
: size === "footer"
diff --git a/app/components/MenuBarItem.js b/app/components/MenuBarItem.js
index d974348..9488cad 100644
--- a/app/components/MenuBarItem.js
+++ b/app/components/MenuBarItem.js
@@ -9,7 +9,7 @@ export default function MenuBarItem({
}) {
const variantStyles = {
default:
- "bg-transparent text-[var(--color-content-default-brand-primary)] border border-transparent hover:bg-[var(--color-surface-default-tertiary)] hover:text-[var(--color-content-default-brand-primary)] active:bg-transparent active:text-[var(--color-content-default-brand-primary)] active:border-[var(--color-content-default-brand-primary)] disabled:bg-[var(--color-surface-default-tertiary)] disabled:text-[var(--color-content-default-tertiary)] disabled:border-[var(--color-content-default-tertiary)] disabled:opacity-50 disabled:cursor-not-allowed",
+ "bg-transparent text-[var(--color-content-default-brand-primary)] hover:bg-[var(--color-surface-default-tertiary)] hover:text-[var(--color-content-default-brand-primary)] active:bg-transparent active:text-[var(--color-content-default-brand-primary)] active:outline-1 active:outline-[var(--color-content-default-brand-primary)] active:outline-offset-1 disabled:bg-[var(--color-surface-default-tertiary)] disabled:text-[var(--color-content-default-tertiary)] disabled:opacity-50 disabled:cursor-not-allowed",
};
const sizeStyles = {
@@ -17,17 +17,22 @@ export default function MenuBarItem({
"px-[var(--spacing-measures-spacing-016)] py-[var(--spacing-measures-spacing-016)] gap-[var(--spacing-scale-004)]",
xsmall:
"px-[var(--spacing-scale-004)] py-[var(--spacing-scale-002)] gap-[var(--spacing-scale-004)]",
+ xsmallUseCases:
+ "px-[var(--spacing-scale-002)] py-[var(--spacing-scale-002)] gap-[var(--spacing-scale-004)]",
large:
"px-[var(--spacing-scale-012)] py-[var(--spacing-scale-012)] gap-[var(--spacing-scale-004)]",
};
+ const smallTextStyle =
+ "font-['Inter'] text-[10px] leading-[12px] font-medium tracking-[0%]";
+ const largeTextStyle =
+ "font-['Inter'] text-[16px] leading-[20px] font-medium tracking-[0%]";
+
const textStyles = {
- default:
- "font-['Inter'] text-[10px] leading-[12px] font-medium tracking-[0%]",
- xsmall:
- "font-['Inter'] text-[10px] leading-[12px] font-medium tracking-[0%]",
- large:
- "font-['Inter'] text-[16px] leading-[20px] font-medium tracking-[0%]",
+ default: smallTextStyle,
+ xsmall: smallTextStyle,
+ xsmallUseCases: smallTextStyle,
+ large: largeTextStyle,
};
const baseStyles = `inline-flex items-center ${sizeStyles[size]} rounded-[var(--radius-measures-radius-full)] ${textStyles[size]} transition-all duration-200 cursor-pointer`;
diff --git a/app/tailwind.css b/app/tailwind.css
index 9d62218..187e34e 100644
--- a/app/tailwind.css
+++ b/app/tailwind.css
@@ -11,8 +11,7 @@
--breakpoint-sm: 430px;
--breakpoint-md: 640px;
--breakpoint-lg: 1024px;
- --breakpoint-xl: 1280px;
- --breakpoint-2xl: 1536px;
+ --breakpoint-xl: 1440px;
/* Reset default Tailwind configuration */
--color-*: initial;