Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfixes/update stats urls #103

Merged
merged 5 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deploy-web/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
7 changes: 6 additions & 1 deletion deploy-web/src/components/layout/WalletStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ export const WalletStatus: React.FunctionComponent<Props> = ({}) => {
<Box sx={{ textAlign: "left", display: "flex", alignItems: "center" }}>
<Box sx={{ fontWeight: "bold", fontSize: ".9rem", display: "flex", alignItems: "center" }}>
<AccountBalanceWalletIcon fontSize="small" sx={{ fontSize: "1rem" }} color="disabled" />
<Box sx={{ marginLeft: ".5rem", lineHeight: ".9rem", cursor: "pointer" }} component={Link} href={UrlService.address(address)}>
<Box
sx={{ marginLeft: ".5rem", lineHeight: ".9rem", cursor: "pointer" }}
component={Link}
target="_blank"
href={`https://stats.akash.network/addresses/${address}`}
>
<CustomTooltip arrow title={<Address address={address} isCopyable />}>
<span>{walletName}</span>
</CustomTooltip>
Expand Down
9 changes: 4 additions & 5 deletions deploy-web/src/pages/terms-of-service/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ export function TermsOfService() {
These Terms of Use constitute a legally binding agreement made between you, whether personally or on behalf of an entity (&ldquo;you&rdquo;) and
MaxMax Labs Inc. (&quot;Company&quot;, &ldquo;we&rdquo;, &ldquo;us&rdquo;, or &ldquo;our&rdquo;), concerning your access to and use of the
https://cloudmos.io/ website as well as any other media form, media channel, mobile website or mobile application related, linked, or otherwise
connected thereto (collectively, the &ldquo;Site&rdquo;). We are registered in Canada and have our registered office at CP 82027 Terrebonne RPO chemin
gascon, Terrebonne, Quebec J6X 0J8. Our VAT number is 1229169005. You agree that by accessing the Site, you have read, understood, and agree to be
bound by all of these Terms of Use. IF YOU DO NOT AGREE WITH ALL OF THESE TERMS OF USE, THEN YOU ARE EXPRESSLY PROHIBITED FROM USING THE SITE AND YOU
MUST DISCONTINUE USE IMMEDIATELY.
connected thereto (collectively, the &ldquo;Site&rdquo;). P.O. Box 144, 3119 9 Forum Lane, Camana Bay, George Town, Grand Cayman KY1-9006, Cayman
Islands. You agree that by accessing the Site, you have read, understood, and agree to be bound by all of these Terms of Use. IF YOU DO NOT AGREE WITH
ALL OF THESE TERMS OF USE, THEN YOU ARE EXPRESSLY PROHIBITED FROM USING THE SITE AND YOU MUST DISCONTINUE USE IMMEDIATELY.
</p>

<p>
Expand Down Expand Up @@ -574,7 +573,7 @@ export function TermsOfService() {

<p>In order to resolve a complaint regarding the Site or to receive further information regarding use of the Site, please contact us at:</p>

<p>MaxMax Labs Inc. CP 82027 Terrebonne RPO chemin gascon Terrebonne, Quebec J6X 0J8 Canada Phone: (888) 546-3184 [email protected]</p>
<p>P.O. Box 144, 3119 9 Forum Lane, Camana Bay, George Town, Grand Cayman KY1-9006, Cayman Islands. [email protected]</p>
</PageContainer>
</Layout>
);
Expand Down
13 changes: 2 additions & 11 deletions deploy-web/src/utils/urlUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,8 @@ export class UrlService {
static faq = (q?: FaqAnchorType) => `/faq${q ? "#" + q : ""}`;
static privacyPolicy = () => "/privacy-policy";
static termsOfService = () => "/terms-of-service";
static blocks = () => `/blocks`;
static block = (height: number) => `/blocks/${height}${appendSearchParams({ network: getSelectedNetworkQueryParam() })}`;
static transactions = () => `/transactions`;
static transaction = (hash: string) => `/transactions/${hash}${appendSearchParams({ network: getSelectedNetworkQueryParam() })}`;
static address = (address: string) => `/addresses/${address}${appendSearchParams({ network: getSelectedNetworkQueryParam() })}`;
static addressTransactions = (address: string) => `/addresses/${address}/transactions`;
static addressDeployments = (address: string) => `/addresses/${address}/deployments`;
static validators = () => "/validators";
static validator = (address: string) => `/validators/${address}${appendSearchParams({ network: getSelectedNetworkQueryParam() })}`;
static proposals = () => "/proposals";
static proposal = (id: number) => `/proposals/${id}`;

// User
static userSettings = () => "/user/settings";
static userAddressBook = () => `/user/settings/address-book`;
static userFavorites = () => `/user/settings/favorites`;
Expand Down
34 changes: 28 additions & 6 deletions deploy-web/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["es6", "dom", "dom.iterable", "esnext"],
"lib": [
"es6",
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
Expand All @@ -18,11 +23,28 @@
"incremental": true,
"baseUrl": "./src",
"paths": {
"@src/*": ["*"],
"@shared/*": ["../../../shared/*"]
}
"@src/*": [
"*"
],
"@shared/*": [
"../../../shared/*"
]
},
"plugins": [
{
"name": "next"
}
],
"strictNullChecks": false
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
],
"compileOnSave": false
}
6 changes: 3 additions & 3 deletions landing/src/pages/terms-of-service/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export function TermsOfService() {
These Terms of Use constitute a legally binding agreement made between you, whether personally or on behalf of an entity (&ldquo;you&rdquo;) and
MaxMax Labs Inc. (&quot;Company&quot;, &ldquo;we&rdquo;, &ldquo;us&rdquo;, or &ldquo;our&rdquo;), concerning your access to and use of the
https://cloudmos.io/ website as well as any other media form, media channel, mobile website or mobile application related, linked, or otherwise
connected thereto (collectively, the &ldquo;Site&rdquo;). We are registered in Canada and have our registered office at CP 82027 Terrebonne RPO chemin
gascon, Terrebonne, Quebec J6X 0J8. Our VAT number is 1229169005. You agree that by accessing the Site, you have read, understood, and agree to be
connected thereto (collectively, the &ldquo;Site&rdquo;). We are registered in Canada and have our registered office at P.O. Box 144, 3119 9 Forum
Lane, Camana Bay, George Town, Grand Cayman KY1-9006, Cayman Islands. You agree that by accessing the Site, you have read, understood, and agree to be
bound by all of these Terms of Use. IF YOU DO NOT AGREE WITH ALL OF THESE TERMS OF USE, THEN YOU ARE EXPRESSLY PROHIBITED FROM USING THE SITE AND YOU
MUST DISCONTINUE USE IMMEDIATELY.
</p>
Expand Down Expand Up @@ -569,7 +569,7 @@ export function TermsOfService() {

<p>In order to resolve a complaint regarding the Site or to receive further information regarding use of the Site, please contact us at:</p>

<p>MaxMax Labs Inc. CP 82027 Terrebonne RPO chemin gascon Terrebonne, Quebec J6X 0J8 Canada Phone: (888) 546-3184 [email protected]</p>
<p>P.O. Box 144, 3119 9 Forum Lane, Camana Bay, George Town, Grand Cayman KY1-9006, Cayman Islands. [email protected]</p>
</PageContainer>
</Layout>
);
Expand Down
Loading