Skip to content

Commit

Permalink
Merge branch 'main' into feature/subscriptions-button
Browse files Browse the repository at this point in the history
  • Loading branch information
Zishan-7 authored Oct 10, 2024
2 parents 09a0e7b + 88512df commit fc51bf0
Show file tree
Hide file tree
Showing 12 changed files with 1,983 additions and 153 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
<script type="text/javascript">
var _paq = (window._paq = window._paq || []);
_paq.push(['setDocumentTitle', document.domain + '/' + document.title]);
_paq.push(['setCookieDomain', '*.restaking.info']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function () {
Expand Down
2 changes: 2 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import OperatorList from './operators/OperatorList';
import Register from './onboarding/Register';
import { ServiceProvider } from './@services/ServiceContext';
import SubscriptionPlans from './subscription/SubscriptionPlans';
import TermsConditions from './TermsConditions/TermsConditions';
import { ThemeProvider } from './shared/ThemeContext';

const router = createBrowserRouter(
Expand All @@ -36,6 +37,7 @@ const router = createBrowserRouter(
<Route element={<SubscriptionPlans />} path="/subscriptions" />
<Route element={<Login />} path="/login" />
<Route element={<Register />} path="/register" />
<Route element={<TermsConditions />} path="/terms-and-conditions" />
<Route element={<NotFound />} path="*" />
</Route>
)
Expand Down
97 changes: 97 additions & 0 deletions src/TermsConditions/TermsConditions.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
.terms-conditions {
a,
a.visited {
color: inherit;
text-decoration: underline;
}
h1,
h2,
h3 {
letter-spacing: -0.01em;
line-height: 1.2;
font-weight: 600;
margin-bottom: 0;
}
h1 {
font-size: 1.875rem;
margin-top: 1.875rem;
}

h2 {
font-size: 1.5rem;
margin-top: 1.5rem;
}

h3 {
font-size: 1.25rem;
margin-top: 1.25rem;
}

hr {
background: transparent;
display: block;
width: 100%;
height: 1px;
visibility: visible;
border: none;
border-bottom: 1px solid rgba(55, 53, 47, 0.09);
}

img {
max-width: 100%;
}

@media only print {
img {
max-height: 100vh;
object-fit: contain;
}
}

@page {
margin: 1in;
}

table,
th,
td {
@apply border border-foreground-1 p-2;
}

ol,
ul {
margin: 0;
margin-block-start: 0.6em;
margin-block-end: 0.6em;
}

li > ol:first-child,
li > ul:first-child {
margin-block-start: 0.6em;
}

ul > li {
list-style: disc;
}

ul {
padding-inline-start: 1.7em;
}

ul > li {
padding-left: 0.1em;
}

ol {
padding-inline-start: 1.6em;
}

ol > li {
padding-left: 0.2em;
}

p {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
}
Loading

0 comments on commit fc51bf0

Please sign in to comment.