-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React from 'react'; | ||
import styled from "styled-components"; | ||
import { colors } from "@/constant/colors"; | ||
|
||
interface AppProps { | ||
name: string; | ||
} | ||
|
||
function ZkApp({ name }: AppProps) { | ||
return ( | ||
<Wrap> | ||
<AppTitle>{name}</AppTitle> | ||
</Wrap> | ||
); | ||
} | ||
|
||
export default ZkApp; | ||
|
||
const Wrap = styled.div` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: ${colors.deepBlue}; | ||
height: 130px; | ||
border-radius: 30px; | ||
`; | ||
|
||
const AppTitle = styled.text` | ||
font-size: 27px; | ||
color: ${colors.white}; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React from 'react'; | ||
import {Container} from "@/components"; | ||
import { colors } from "@/constant/colors"; | ||
import styled from "styled-components"; | ||
import ZkApp from "@/components/ZkApp"; | ||
import {GlobalStyle} from "@/styles/global.style"; | ||
|
||
function ZkApps() { | ||
return ( | ||
<Container> | ||
<GlobalStyle /> | ||
<RegisterDescription>Register your ID on our wallet with top-tier<br/>privacy protection solution!</RegisterDescription> | ||
<AppsWrap> | ||
<ZkApp name={"ZKSwap"} /> | ||
<ZkApp name={"ZKSwap"} /> | ||
<ZkApp name={"ZKSwap"} /> | ||
<ZkApp name={"ZKSwap"} /> | ||
</AppsWrap> | ||
</Container> | ||
); | ||
} | ||
|
||
export default ZkApps; | ||
|
||
const RegisterDescription = styled.p` | ||
font-size: 12px; | ||
line-height: 18px; | ||
color: ${colors.white}; | ||
padding-top: 100px; | ||
margin: 0; | ||
`; | ||
|
||
const AppsWrap = styled.div` | ||
display: grid; | ||
grid-template-columns: repeat(2, 1fr); | ||
grid-gap: 30px; | ||
margin: 100px 24px 0 24px; | ||
`; |