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

feat: added about page #96

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
9 changes: 9 additions & 0 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { createBrowserRouter, RouterProvider } from 'react-router-dom'

import AppLayout from './components/Layout/App'
import HomeLayout from './components/Layout/Home'
import AboutPage from './pages/About'
import DeployPage from './pages/Deploy'
import HomePage from './pages/Home'
import LaunchPage from './pages/Launch'
Expand Down Expand Up @@ -40,6 +41,14 @@ const router = createBrowserRouter([
</AppLayout>
),
},
{
path: '/about',
element: (
<AppLayout>
<AboutPage />
</AppLayout>
),
},
])

export default function App() {
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export const links = [
name: 'Screen',
path: '/screen',
},
{
name: 'About',
path: '/about',
},
]

export default function NavBar() {
Expand Down
65 changes: 65 additions & 0 deletions frontend/src/pages/About/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
import Section from 'src/components/Section'
import Box from 'src/theme/components/Box'
import { Column } from 'src/theme/components/Flex'
import * as Text from 'src/theme/components/Text'

import * as styles from './style.css'

/**
* AboutPage component
*/
export default function AboutPage() {
return (
<Section>
<Box className={styles.container}>
<Column gap="10">
<Text.HeadlineMedium>About</Text.HeadlineMedium>
<Text.Body>
Tired of rug pulls and scammy meme coins stealing your gains? Unruggable.meme presents a revolutionary way
to deploy meme magic with unimpeachable security. Our buzzword-compliant smart contracts let you moon freely
without worrying about shady developers making off with the liquidity pool in the middle of the night.
</Text.Body>
<Text.Body>
We achieve this through rigorous self-verification and immutable contract logic. All our contracts inherit
from trustworthy base classes that cannot be upgraded or altered after deployment. This guarantees certain
key properties like:
</Text.Body>
<ul>
<li>Maximum percentage of team allocation not more than 10%.</li>
<li>Maximum percentage of supply that can be bought at once is equal to 2%.</li>
<li>
Pre-Launch safeguards: This prevents too many addresses from holding the token before launch. Maximum
holders before launch is set to 10.
</li>
<li>No hidden backdoors.</li>
</ul>
<Text.Body>
In short, we turn &ldquo;wen rug&rdquo; into &ldquo;never rug&rdquo; with the power of Cairo and highly
opinionated code.
</Text.Body>
<Text.Body>
But before you ape in more $STARK than you can afford to lose, be aware unruggable doesn&apos;t mean
unrisky. At the end of the day these are still speculative meme tokens at the mercy of the crypto
market&apos;s manic whims. Only bet what you&apos;re willing to lose on this readme compliant rollercoaster!
</Text.Body>
<Text.Body>
For the daring degens among you, check out our currently deployed contracts and{' '}
<a href="https://github.com/keep-starknet-strange/unruggable.meme" target="_blank" rel="noreferrer">
repo
</a>
. And never hesitate to review the code and verify things for yourself on{' '}
<a href="https://voyager.online/" target="_blank" rel="noreferrer">
Voyager
</a>{' '}
or{' '}
<a href="https://starkscan.co/" target="_blank" rel="noreferrer">
StarkScan
</a>
. We pride ourselves on 100% transparency - feel free to audit to your heart&apos;s content!
</Text.Body>
<Text.Body>Now let&apos;s bring some trustworthy meme magic into this irrational market!</Text.Body>
</Column>
</Box>
</Section>
)
}
18 changes: 18 additions & 0 deletions frontend/src/pages/About/style.css.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { style } from '@vanilla-extract/css'
import { sprinkles, vars } from 'src/theme/css/sprinkles.css'

export const container = style([
{
maxWidth: '720px',
boxShadow: `0 0 16px ${vars.color.bg1}`,
},
sprinkles({
width: 'full',
height: 'full',
color: 'text1',
background: 'bg2',
borderRadius: '10',
paddingX: '24',
paddingY: '24',
}),
])
Loading