Skip to content

Commit

Permalink
Merge pull request #10 from Aut-Labs/main
Browse files Browse the repository at this point in the history
Deploy mainnet
  • Loading branch information
AntGe authored Jun 11, 2024
2 parents 8c9d121 + a8b9080 commit 9b68830
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 14 deletions.
20 changes: 8 additions & 12 deletions src/api/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,17 @@ export const environment: typeof swEnvVariables =
export const autUrls = () => {
if (environment.env === EnvMode.Development) {
return {
tryAut: "https://try-internal.aut.id/",
novaDashboard: "https://nova-internal.aut.id/",
myAut: "https://my-internal.aut.id/",
showcase: "https://showcase-internal.aut.id/",
leaderboard: "https://leaderboard-internal.aut.id/",
expander: "https://expander-internal.aut.id/"
myAut: "https://internal.os.aut.id/",
hub: "https://internal.hub.sbs/",
launchpad: "https://internal.launch.hub.sbs/",
landingPage: "https://aut.gg/"
};
}

return {
tryAut: "https://try.aut.id/",
novaDashboard: "https://nova.aut.id/",
myAut: "https://my.aut.id/",
showcase: "https://showcase.aut.id/",
leaderboard: "https://leaderboard.aut.id/",
expander: "https://expander.aut.id/"
myAut: "https://os.aut.id/",
hub: "https://hub.sbs/",
launchpad: "https://launch.hub.sbs/",
landingPage: "https://aut.gg/"
};
};
25 changes: 23 additions & 2 deletions src/pages/Nova/ToolbarConnector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useAutConnector, useWalletConnector } from "@aut-labs/connector";
import { useNavigate } from "react-router-dom";
import { useAppDispatch } from "@store/store.model";
import { communityApi } from "@api/community.api";
import { environment } from "@api/environment";
import { autUrls, environment } from "@api/environment";

export const TOOLBAR_HEIGHT = 70;

Expand Down Expand Up @@ -94,7 +94,7 @@ export const ToolbarConnector = () => {
<Link
fontSize={24}
color="#FFF"
href="https://aut.id/"
href={autUrls().landingPage}
target="_blank"
rel="noopener noreferrer"
sx={{
Expand All @@ -108,6 +108,27 @@ export const ToolbarConnector = () => {
>
Āut Labs
</Link>
<Link
fontSize={24}
color="#FFF"
href={autUrls().launchpad}
target="_blank"
rel="noopener noreferrer"
sx={{
textDecoration: "none",
cursor: "pointer",
display: {
xs: "none",
md: "flex"
},
ml: {
xs: "12px",
md: "33px"
}
}}
>
Launchpad
</Link>
<Link
fontSize={24}
color="#FFF"
Expand Down

0 comments on commit 9b68830

Please sign in to comment.