Explorar el Código

chore(console): add Go to nav

David Hill hace 6 meses
padre
commit
b1c166edf4

+ 6 - 0
packages/console/app/src/component/header.tsx

@@ -174,6 +174,9 @@ export function Header(props: { zen?: boolean; hideGetStarted?: boolean }) {
               </Match>
               </Match>
             </Switch>
             </Switch>
           </li>
           </li>
+          <li>
+            <A href={language.route("/go")}>{i18n.t("nav.go")}</A>
+          </li>
           <Show when={!props.hideGetStarted}>
           <Show when={!props.hideGetStarted}>
             <li>
             <li>
               <A href={language.route("/download")} data-slot="cta-button">
               <A href={language.route("/download")} data-slot="cta-button">
@@ -270,6 +273,9 @@ export function Header(props: { zen?: boolean; hideGetStarted?: boolean }) {
                     </Match>
                     </Match>
                   </Switch>
                   </Switch>
                 </li>
                 </li>
+                <li>
+                  <A href={language.route("/go")}>{i18n.t("nav.go")}</A>
+                </li>
                 <Show when={!props.hideGetStarted}>
                 <Show when={!props.hideGetStarted}>
                   <li>
                   <li>
                     <A href={language.route("/download")} data-slot="cta-button">
                     <A href={language.route("/download")} data-slot="cta-button">

+ 1 - 0
packages/console/app/src/i18n/en.ts

@@ -6,6 +6,7 @@ export const dict = {
   "nav.x": "X",
   "nav.x": "X",
   "nav.enterprise": "Enterprise",
   "nav.enterprise": "Enterprise",
   "nav.zen": "Zen",
   "nav.zen": "Zen",
+  "nav.go": "Go",
   "nav.login": "Login",
   "nav.login": "Login",
   "nav.free": "Free",
   "nav.free": "Free",
   "nav.home": "Home",
   "nav.home": "Home",

+ 2 - 2
packages/console/app/src/routes/brand/index.css

@@ -86,10 +86,10 @@
         display: flex;
         display: flex;
         justify-content: space-between;
         justify-content: space-between;
         align-items: center;
         align-items: center;
-        gap: 48px;
+        gap: 32px;
 
 
         @media (max-width: 55rem) {
         @media (max-width: 55rem) {
-          gap: 32px;
+          gap: 24px;
         }
         }
 
 
         @media (max-width: 48rem) {
         @media (max-width: 48rem) {

+ 2 - 2
packages/console/app/src/routes/changelog/index.css

@@ -81,10 +81,10 @@
         display: flex;
         display: flex;
         justify-content: space-between;
         justify-content: space-between;
         align-items: center;
         align-items: center;
-        gap: 48px;
+        gap: 32px;
 
 
         @media (max-width: 55rem) {
         @media (max-width: 55rem) {
-          gap: 32px;
+          gap: 24px;
         }
         }
 
 
         @media (max-width: 48rem) {
         @media (max-width: 48rem) {

+ 2 - 2
packages/console/app/src/routes/download/index.css

@@ -85,10 +85,10 @@
         display: flex;
         display: flex;
         justify-content: space-between;
         justify-content: space-between;
         align-items: center;
         align-items: center;
-        gap: 48px;
+        gap: 32px;
 
 
         @media (max-width: 55rem) {
         @media (max-width: 55rem) {
-          gap: 32px;
+          gap: 24px;
         }
         }
 
 
         @media (max-width: 48rem) {
         @media (max-width: 48rem) {

+ 2 - 2
packages/console/app/src/routes/enterprise/index.css

@@ -85,10 +85,10 @@
         display: flex;
         display: flex;
         justify-content: space-between;
         justify-content: space-between;
         align-items: center;
         align-items: center;
-        gap: 48px;
+        gap: 32px;
 
 
         @media (max-width: 55rem) {
         @media (max-width: 55rem) {
-          gap: 32px;
+          gap: 24px;
         }
         }
 
 
         @media (max-width: 48rem) {
         @media (max-width: 48rem) {

+ 2 - 2
packages/console/app/src/routes/go/index.css

@@ -148,10 +148,10 @@ body {
         display: flex;
         display: flex;
         justify-content: space-between;
         justify-content: space-between;
         align-items: center;
         align-items: center;
-        gap: 48px;
+        gap: 32px;
 
 
         @media (max-width: 55rem) {
         @media (max-width: 55rem) {
-          gap: 32px;
+          gap: 24px;
         }
         }
 
 
         @media (max-width: 48rem) {
         @media (max-width: 48rem) {

+ 2 - 2
packages/console/app/src/routes/index.css

@@ -212,10 +212,10 @@ body {
         display: flex;
         display: flex;
         justify-content: space-between;
         justify-content: space-between;
         align-items: center;
         align-items: center;
-        gap: 48px;
+        gap: 32px;
 
 
         @media (max-width: 55rem) {
         @media (max-width: 55rem) {
-          gap: 32px;
+          gap: 24px;
         }
         }
 
 
         @media (max-width: 48rem) {
         @media (max-width: 48rem) {

+ 2 - 2
packages/console/app/src/routes/zen/index.css

@@ -148,10 +148,10 @@ body {
         display: flex;
         display: flex;
         justify-content: space-between;
         justify-content: space-between;
         align-items: center;
         align-items: center;
-        gap: 48px;
+        gap: 32px;
 
 
         @media (max-width: 55rem) {
         @media (max-width: 55rem) {
-          gap: 32px;
+          gap: 24px;
         }
         }
 
 
         @media (max-width: 48rem) {
         @media (max-width: 48rem) {