Skip to content

Commit

Permalink
fix: dao docs and seo
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Dec 16, 2024
1 parent db82400 commit 58482e3
Show file tree
Hide file tree
Showing 9 changed files with 83 additions and 33 deletions.
2 changes: 1 addition & 1 deletion robots.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
User-Agent: *
Allow: /
Allow: /
7 changes: 7 additions & 0 deletions src/js/components/App/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ const DocumentationWhitepaper = React.lazy(
const DocumentationFaq = React.lazy(
() => import('./pages/Documentation/pages/Faq'),
);
const DocumentationDao = React.lazy(
() => import('./pages/Documentation/pages/Dao'),
);

const AppRouter = () => (
<>
Expand Down Expand Up @@ -133,6 +136,10 @@ const AppRouter = () => (
path={Route.url(Route.DOCUMENTATION_CONTRACTS_REWARD_POOL)}
element={<DocumentationRewardPool />}
/>
<RouterRoute
path={Route.url(Route.DOCUMENTATION_DAO)}
element={<DocumentationDao />}
/>
<RouterRoute
path={Route.url(Route.DOCUMENTATION_REWARD)}
element={<DocumentationReward />}
Expand Down
9 changes: 8 additions & 1 deletion src/js/components/App/pages/Documentation/Wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ import Button from '../../../reusable/Button';

enum Item {
Architecture = Route.DOCUMENTATION_ARCHITECTURE,
Faq = Route.DOCUMENTATION_FAQ,
Dao = Route.DOCUMENTATION_DAO,
DeferredData = Route.DOCUMENTATION_CANISTERS_DATA,
DeferredMinter = Route.DOCUMENTATION_CANISTERS_MINTER,
DeferredContracts = Route.DOCUMENTATION_CONTRACTS_DEFERRED,
EkokeContracts = Route.DOCUMENTATION_CONTRACTS_EKOKE,
Faq = Route.DOCUMENTATION_FAQ,
MarketplaceContracts = Route.DOCUMENTATION_CONTRACTS_MARKETPLACE,
RewardPoolContracts = Route.DOCUMENTATION_CONTRACTS_REWARD_POOL,
Reward = Route.DOCUMENTATION_REWARD,
Expand All @@ -27,6 +28,11 @@ const menu = {
url: Route.DOCUMENTATION_FAQ,
icon: <IconMd.MdQuestionMark className="inline mr-2" size={24} />,
},
[Item.Dao]: {
title: 'DAO',
url: Route.DOCUMENTATION_DAO,
icon: <IconMd.MdGroups className="inline mr-2" size={24} />,
},
[Item.Whitepaper]: {
title: 'Whitepaper',
url: Route.DOCUMENTATION_WHITEPAPER,
Expand Down Expand Up @@ -76,6 +82,7 @@ const menu = {

const routeToItems = {
[Route.url(Route.DOCUMENTATION_FAQ)]: Item.Faq,
[Route.url(Route.DOCUMENTATION_DAO)]: Item.Dao,
[Route.url(Route.DOCUMENTATION_ARCHITECTURE)]: Item.Architecture,
[Route.url(Route.DOCUMENTATION_CANISTERS_DATA)]: Item.DeferredData,
[Route.url(Route.DOCUMENTATION_CANISTERS_MINTER)]: Item.DeferredMinter,
Expand Down
7 changes: 4 additions & 3 deletions src/js/components/App/pages/Documentation/pages/Faq.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import Container from '../../../../reusable/Container';
import Heading from '../../../../reusable/Heading';
import Accordion from '../../../../reusable/Accordion';
import Paragraph from '../../../../reusable/Paragraph';
import Wrapper from '../Wrapper';

const Faq = () => (
<Container.PageContent>
<Wrapper>
<Heading.H1>Frequently Asked Questions</Heading.H1>
<Heading.H2 className="text-center">General</Heading.H2>

Expand All @@ -20,7 +21,7 @@ const Faq = () => (
DAO.
</Paragraph.Default>
</Question>
</Container.PageContent>
</Wrapper>
);

interface QProps {
Expand All @@ -29,7 +30,7 @@ interface QProps {
}

const Question = ({ question, children }: QProps) => (
<Container.Card>
<Container.Card className="!bg-zinc-50">
<Accordion title={question}>{children}</Accordion>
</Container.Card>
);
Expand Down
3 changes: 2 additions & 1 deletion src/js/components/App/pages/Home/Presale.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as Icon from 'react-icons/fi';
import Container from '../../../reusable/Container';
import Heading from '../../../reusable/Heading';
import Link from '../../../reusable/Link';
import { Route } from '../../../../utils/routes';

const Presale = () => (
<Container.FlexCols className="items-center justify-center sm:w-full gap-2">
Expand All @@ -14,7 +15,7 @@ const Presale = () => (
</Heading.H2>
</Container.Container>
<Container.Container>
<Link.Cta className="hover:cursor-not-allowed">
<Link.Cta href={Route.PRESALE}>
Coming soon (January 15th 2025)
<Icon.FiArrowRight className="inline ml-2" />
</Link.Cta>
Expand Down
30 changes: 30 additions & 0 deletions src/js/components/App/pages/Presale/Info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,36 @@ const Info = () => {
real-estate network worldwide, and finally to add liquidity to the{' '}
<strong>Liquidity Bootstrapping Pool</strong>.
</Paragraph.Default>
<Heading.H2 className="text-center">
Presale raised funds destination
</Heading.H2>
<Paragraph.Default>
We have a clear plan on how to use the funds raised during the
presale. The funds will be used for the following purposes:
<ul className="list-disc mx-12">
<li>
<strong>20% - Up to 40.000$</strong>: Goes to the team for
paying the development costs.
</li>
<li>
<strong>20% - Up to 50.000$</strong>: Will be used for paying a
security audit.
</li>
<li>
<strong>20% - Up to 100.000$</strong>: Will be used for
marketing and partnerships.
</li>
<li>
<strong>40%</strong>: Will be used to add liquidity to the
Liquidity Bootstrapping Pool.
</li>
<li>
<strong>Unused funds</strong> will be used for further
development and to reserve even more liquidity for other
exchanges.
</li>
</ul>
</Paragraph.Default>
<Heading.H2 className="text-center">Presale details</Heading.H2>
<Paragraph.Default>
The presale will be held on the Ethereum blockchain using our
Expand Down
1 change: 1 addition & 0 deletions src/js/utils/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export enum Route {
DOCUMENTATION_CONTRACTS_EKOKE = 'documentation/contracts/ekoke',
DOCUMENTATION_CONTRACTS_MARKETPLACE = 'documentation/contracts/marketplace',
DOCUMENTATION_CONTRACTS_REWARD_POOL = 'documentation/contracts/reward-pool',
DOCUMENTATION_DAO = 'documentation/dao',
DOCUMENTATION_REWARD = 'documentation/reward',
DOCUMENTATION_WHITEPAPER = 'documentation/whitepaper',
GIVEAWAY = 'giveaway',
Expand Down
55 changes: 29 additions & 26 deletions src/js/utils/seo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,91 +13,94 @@ interface SeoData {

const PAGE_TITLES: SeoPages = {
'/': {
title: 'EKOKE Token DAO',
title: 'EKOKE DAO | Transform Your Property into Digital Gold',
description:
'EKOKE is an innovative tool that aims to revolutionize the real estate industry. The EKOKE-DAO project emerges as the evolutionary response to the traditional real estate landscape',
'EKOKE is an innovative tool that aims to revolutionize the real estate industry. We give you a tool to tokenize the payment of your property to give you a sustainable replacement for the traditional mortgage',
},
'/marketplace': {
title: 'EKOKE DAO - Marketplace',
description: '',
title: 'EKOKE DAO | Marketplace',
description:
'EKOKE DAO listed properties. Buy and sell real-estate properties on the blockchain or get rewards for paying the installments with USDT and get EKOKE tokens as rewards',
},
'/presale': {
title: 'EKOKE DAO - Presale',
description: 'Join the EKOKE Token DAO presale',
title: 'EKOKE DAO | Presale',
description:
'Join the EKOKE Token DAO presale. The presale will start on January 15th 2025 and will end on March 31st 2025. 1$EKOKE = 1$. Only 450,000 $EKOKE will be available for the presale',
},
'/about': {
title: 'EKOKE DAO - About',
title: 'EKOKE DAO | About',
description:
'EKOKE is an innovative tool that aims to revolutionize the real estate industry. The EKOKE-DAO project emerges as the evolutionary response to the traditional real estate landscape',
'EKOKE is an innovative tool that aims to revolutionize the real estate industry. The EKOKE-DAO project emerges as the revolutionary response to the traditional real estate landscape. We replace the traditional mortgage with a sustainable and decentralized solution based on installments and rewards',
},
'/cookies': {
title: 'EKOKE DAO - Cookies',
title: 'EKOKE DAO | Cookies',
description: 'EKOKE DAO cookie policy',
},
'/privacy': {
title: 'EKOKE DAO - Privacy',
title: 'EKOKE DAO | Privacy',
description: 'EKOKE DAO privacy policy',
},
'/terms-and-conditions': {
title: 'EKOKE DAO - Terms & Conditions',
title: 'EKOKE DAO | Terms & Conditions',
description: 'EKOKE DAO terms and conditions',
},
'/profile': {
title: 'EKOKE DAO - Profile',
title: 'EKOKE DAO | Profile',
description: 'Your EKOKE DAO profile',
},
'/profile/collected': {
title: 'EKOKE DAO - Collected',
title: 'EKOKE DAO | Collected',
description: 'Your collected EKOKE DAO items',
},
'/profile/contracts': {
title: 'EKOKE DAO - Contracts',
title: 'EKOKE DAO | Contracts',
description: 'Your EKOKE DAO contracts',
},
'/documentation': {
title: 'EKOKE DAO - Documentation',
title: 'EKOKE DAO | Documentation',
description: 'EKOKE DAO documentation',
},
'/documentation/faq': {
title: 'EKOKE DAO - FAQ',
title: 'EKOKE DAO | FAQ',
description: 'EKOKE DAO FAQ',
},
'/documentation/whitepaper': {
title: 'EKOKE DAO - Whitepaper',
title: 'EKOKE DAO | Whitepaper',
description: 'EKOKE DAO whitepaper',
},
'/documentation/contracts/deferred': {
title: 'EKOKE DAO - Deferred',
title: 'EKOKE DAO | Deferred',
description: 'EKOKE DAO Deferred contracts',
},
'/documentation/contracts/ekoke': {
title: 'EKOKE DAO - EKOKE Docs',
title: 'EKOKE DAO | EKOKE Docs',
description: 'EKOKE DAO EKOKE token docs',
},
'/documentation/contracts/marketplace': {
title: 'EKOKE DAO - marketplace Docs',
title: 'EKOKE DAO | marketplace Docs',
description: 'EKOKE DAO marketplace docs',
},
'/documentation/contracts/reward-pool': {
title: 'EKOKE DAO - Reward Pool Docs',
title: 'EKOKE DAO | Reward Pool Docs',
description: 'EKOKE Reward Pool docs',
},
'/documentation/canisters/deferred-data': {
title: 'EKOKE DAO - Deferred Data Docs',
title: 'EKOKE DAO | Deferred Data Docs',
description: 'EKOKE Deferred Data docs',
},
'/documentation/canisters/deferred-minter': {
title: 'EKOKE DAO - Deferred Minter Docs',
title: 'EKOKE DAO | Deferred Minter Docs',
description: 'EKOKE Deferred Minter docs',
},
'/documentation/reward': {
title: 'EKOKE DAO - Reward Docs',
description: 'EKOKE Reward docs',
title: 'EKOKE DAO | Reward Docs',
description:
'EKOKE Reward are distributed to the users who buy installments with USDT from the property buyers. The rewards are distributed in EKOKE tokens and are based on the amount of USDT paid. The rewards will raise in value thanks to a deflationary mechanism',
},
'/giveaway': {
title: 'EKOKE DAO 100 $EKOKE Giveaway - 1$EKOKE = 1$',
description:
"Since we're going to launch EKOKE DAO on April 1st 2025 and we'll open the Presale on January 10th 2025, we've decided to start a Giveaway where 10 lucky users will be able to win 100$EKOKE which are worth 100$.",
"Since we're going to launch EKOKE DAO on April 1st 2025 and we'll open the Presale on January 10th 2025, we've decided to start a Giveaway where 50 lucky users will be able to win 100$EKOKE which are worth 100$.",
},
};

Expand Down
2 changes: 1 addition & 1 deletion src/js/web3/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export const EKOKE_ADDRESS = '0x92fBA9067844A419A1C394197aE406768555F71b';
export const EKOKE_PRESALE_ADDRESS =
'0x0AA24850527dAC93EFA962E9D8a8E08f8DC083DF';

export const DEFERRED_ADDRESS = '0xTBD';
export const DEFERRED_ADDRESS = '0xA0939B965AE2683DA136cFF37FC856Ca46c66Cd6';

0 comments on commit 58482e3

Please sign in to comment.