diff --git a/.gitignore b/.gitignore index d9e31b96..8e8f1e02 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /.pnp .pnp.js .yarn/install-state.gz +package-lock.json # testing /coverage diff --git a/package.json b/package.json index ae2220aa..3fc73bfc 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "start": "next start", "lint": "next lint", "test": "playwright test", - "install-if-package-changed": "git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep --quiet yarn.lock && npm install || exit 0", + "install-if-package-changed": "git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep --quiet yarn.lock && yarn install || exit 0", "prepare": "husky", "pre-commit": "concurrently 'lint-staged'", "git-info": "rm -rf src/generated/ && mkdir src/generated/ && echo export default \"{\\\"commitHash\\\": \\\"$(git rev-parse --short HEAD)\\\", \\\"version\\\": \\\"$(git describe --tags --always)\\\"};\" > src/generated/gitInfo.ts" diff --git a/src/app/(sidebar)/explore-endpoints/[[...pages]]/page.tsx b/src/app/(sidebar)/explore-endpoints/[[...pages]]/page.tsx index ca022358..f9fed4b7 100644 --- a/src/app/(sidebar)/explore-endpoints/[[...pages]]/page.tsx +++ b/src/app/(sidebar)/explore-endpoints/[[...pages]]/page.tsx @@ -20,7 +20,7 @@ const infoCards = [ id: "horizon", title: "Horizon Endpoints", description: "TODO: add text", - buttonLabel: "Go to docs", + buttonLabel: "See docs", buttonIcon: , buttonAction: () => window.open( diff --git a/src/app/page.tsx b/src/app/page.tsx index 2a69dd54..c5222128 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,6 +6,7 @@ import { Card, Link, Text, Icon } from "@stellar/design-system"; import { NextLink } from "@/components/NextLink"; import { LayoutContentContainer } from "@/components/layout/LayoutContentContainer"; import { InfoCards } from "@/components/InfoCards"; +import { SdsLink } from "@/components/SdsLink"; import { Routes } from "@/constants/routes"; export default function Introduction() { @@ -88,7 +89,20 @@ export default function Introduction() { - {/* TODO: add TOS and Privacy */} +
+ + Privacy Policy + + + Terms of Service + +
); } diff --git a/src/styles/globals.scss b/src/styles/globals.scss index c0b6ec4b..fcb80fe4 100644 --- a/src/styles/globals.scss +++ b/src/styles/globals.scss @@ -106,6 +106,7 @@ display: flex; flex-direction: column; gap: pxToRem(12px); + min-height: 100%; } // Sideber @@ -299,3 +300,12 @@ margin-bottom: 0 !important; } } + +.IntroFooter { + flex: 1; + display: flex; + align-items: flex-end; + gap: pxToRem(12px); + font-size: pxToRem(14px); + line-height: pxToRem(20px); +}