fix: updating the signin page hard coded urls
This commit is contained in:
@ -64,7 +64,7 @@ import { useModelingContext } from '@src/hooks/useModelingContext'
|
|||||||
import { xStateValueToString } from '@src/lib/xStateValueToString'
|
import { xStateValueToString } from '@src/lib/xStateValueToString'
|
||||||
import { getSelectionTypeDisplayText } from '@src/lib/selections'
|
import { getSelectionTypeDisplayText } from '@src/lib/selections'
|
||||||
import type { StatusBarItemType } from '@src/components/StatusBar/statusBarTypes'
|
import type { StatusBarItemType } from '@src/components/StatusBar/statusBarTypes'
|
||||||
import {withSiteBaseURL} from '@src/lib/withBaseURL'
|
import { withSiteBaseURL } from '@src/lib/withBaseURL'
|
||||||
|
|
||||||
// CYCLIC REF
|
// CYCLIC REF
|
||||||
sceneInfra.camControls.engineStreamActor = engineStreamActor
|
sceneInfra.camControls.engineStreamActor = engineStreamActor
|
||||||
|
|||||||
@ -14,7 +14,7 @@ import { HelpMenu } from '@src/components/HelpMenu'
|
|||||||
import { isDesktop } from '@src/lib/isDesktop'
|
import { isDesktop } from '@src/lib/isDesktop'
|
||||||
import { APP_DOWNLOAD_PATH } from '@src/lib/constants'
|
import { APP_DOWNLOAD_PATH } from '@src/lib/constants'
|
||||||
import { desktopAppPitchMessage } from '@src/components/DownloadAppToast'
|
import { desktopAppPitchMessage } from '@src/components/DownloadAppToast'
|
||||||
import { withSiteBaseURL} from '@src/lib/withBaseURL'
|
import { withSiteBaseURL } from '@src/lib/withBaseURL'
|
||||||
|
|
||||||
export const defaultGlobalStatusBarItems = ({
|
export const defaultGlobalStatusBarItems = ({
|
||||||
location,
|
location,
|
||||||
|
|||||||
@ -260,7 +260,7 @@ const SignIn = () => {
|
|||||||
<div className="flex gap-4 flex-wrap items-center">
|
<div className="flex gap-4 flex-wrap items-center">
|
||||||
<ActionButton
|
<ActionButton
|
||||||
Element="externalLink"
|
Element="externalLink"
|
||||||
to="https://zoo.dev/docs/kcl-samples/pillow-block-bearing"
|
to={withSiteBaseURL('/docs/kcl-samples/pillow-block-bearing')}
|
||||||
iconStart={{
|
iconStart={{
|
||||||
icon: 'settings',
|
icon: 'settings',
|
||||||
bgClassName: '!bg-transparent',
|
bgClassName: '!bg-transparent',
|
||||||
@ -273,7 +273,7 @@ const SignIn = () => {
|
|||||||
</ActionButton>
|
</ActionButton>
|
||||||
<ActionButton
|
<ActionButton
|
||||||
Element="externalLink"
|
Element="externalLink"
|
||||||
to="https://zoo.dev/docs/zoo-design-studio/text-to-cad"
|
to={withSiteBaseURL('/docs/zoo-design-studio/text-to-cad')}
|
||||||
iconStart={{
|
iconStart={{
|
||||||
icon: 'sparkles',
|
icon: 'sparkles',
|
||||||
bgClassName: '!bg-transparent',
|
bgClassName: '!bg-transparent',
|
||||||
@ -296,7 +296,7 @@ const SignIn = () => {
|
|||||||
<div className="flex gap-4 flex-wrap items-center">
|
<div className="flex gap-4 flex-wrap items-center">
|
||||||
<ActionButton
|
<ActionButton
|
||||||
Element="externalLink"
|
Element="externalLink"
|
||||||
to="https://zoo.dev/design-api"
|
to={withSiteBaseURL('/design-api')}
|
||||||
iconStart={{ icon: 'sketch', bgClassName: '!bg-transparent' }}
|
iconStart={{ icon: 'sketch', bgClassName: '!bg-transparent' }}
|
||||||
className="!bg-primary !text-chalkboard-10 !border-transarent"
|
className="!bg-primary !text-chalkboard-10 !border-transarent"
|
||||||
>
|
>
|
||||||
@ -304,7 +304,7 @@ const SignIn = () => {
|
|||||||
</ActionButton>
|
</ActionButton>
|
||||||
<ActionButton
|
<ActionButton
|
||||||
Element="externalLink"
|
Element="externalLink"
|
||||||
to="https://zoo.dev/machine-learning-api"
|
to={withSiteBaseURL('/machine-learning-api')}
|
||||||
iconStart={{
|
iconStart={{
|
||||||
icon: 'elephant',
|
icon: 'elephant',
|
||||||
bgClassName: '!bg-transparent',
|
bgClassName: '!bg-transparent',
|
||||||
|
|||||||
Reference in New Issue
Block a user