Skip to content

Commit

Permalink
Merge pull request #118 from edenia/feat/footer
Browse files Browse the repository at this point in the history
feat(components): Add site links
  • Loading branch information
xavier506 authored Oct 17, 2022
2 parents 4068c8b + e9a9f7e commit e3d3f82
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
14 changes: 12 additions & 2 deletions src/components/Vote/Head/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Dispatch, SetStateAction } from 'react'
import { Typography } from '@mui/material'
import { Link, Typography } from '@mui/material'
import { useTheme } from '@mui/styles'

import SearchBar from 'components/SearchBar'
import SortComponent from 'components/SortComponent'
Expand All @@ -13,6 +14,7 @@ type HeadVotersType = {

const Head: React.FC<HeadVotersType> = ({ setSearchInput, sort }) => {
const classes = useStyles()
const theme = useTheme()

return (
<div className={classes.container}>
Expand All @@ -21,7 +23,15 @@ const Head: React.FC<HeadVotersType> = ({ setSearchInput, sort }) => {
Select and vote to whitelist your most trusted 21 BPs.
</Typography>
<Typography variant='body1'>
The BP whitelist is sustained by MyvoteEOS. Read more.
The BP whitelist is sustained by MyvoteEOS.{' '}
<Link
href='https://myvoteeos.com/home'
underline='none'
color={theme.palette.primary.light}
>
Read more
</Link>
.
</Typography>
</div>
<div className={classes.searchSort}>
Expand Down
18 changes: 9 additions & 9 deletions src/config/constants/footer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const socialMediaItems = [
},
{
name: 'GitHub',
ref: 'google.com',
ref: 'https://github.com/edenia/eden-smart-proxy',
image: '/icons/github-icon.png'
},
{
Expand All @@ -27,19 +27,19 @@ const footerItems = [
links: [
{
underline: 'none',
ref: 'google.com',
ref: 'https://genesis.eden.eoscommunity.org/members',
target: '_blank',
text: 'The Community'
},
{
underline: 'none',
ref: 'google.com',
ref: 'https://genesis.eden.eoscommunity.org/induction',
target: '_blank',
text: 'Membership Dashboard'
},
{
underline: 'none',
ref: 'google.com',
ref: 'https://eos.atomichub.io/explorer/collection/genesis.eden',
target: '_blank',
text: 'Eden NFTs'
}
Expand All @@ -50,31 +50,31 @@ const footerItems = [
links: [
{
underline: 'none',
ref: 'google.com',
ref: 'https://www.notion.so/Eden-Peace-Treaty-5b15633ca09c4c6495a5b60f7bc92db2',
target: '_blank',
text: 'Eden Peace Treaty'
},
{
underline: 'none',
ref: 'google.com',
ref: 'https://edeneos.org/',
target: '_blank',
text: 'Eden on EOS'
},
{
underline: 'none',
ref: 'google.com',
ref: 'https://www.notion.so/Eden-d1446453c66c4919b110dfdce20dc56f',
target: '_blank',
text: 'Eden Public Wiki'
},
{
underline: 'none',
ref: 'google.com',
ref: 'https://www.notion.so/EdenOS-Roadmap-7d75dbcf386c436c9c1738b7a3eea8f2',
target: '_blank',
text: 'EdenOS Roadmap'
},
{
underline: 'none',
ref: 'google.com',
ref: 'https://github.com/edenia/Eden',
target: '_blank',
text: 'EdenOS Github Repo'
}
Expand Down

0 comments on commit e3d3f82

Please sign in to comment.