Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/components/Molecules/PageMeta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ import React from 'react';
type PageMetaProps = {
title: string;
description: string;
image?: string;
};

export default function PageMeta({ title, description }: PageMetaProps) {
export default function PageMeta({ title, description, image }: PageMetaProps) {
return (
<Helmet>
<meta charSet="utf-8" />
<title>{title}</title>
<meta name="description" content={description} />
<meta name="twitter:card" content="summary" />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={`https://tokel.io/${image}.png`} />
<meta property="og:url" content={`https://tokel.io/${image}`} />
</Helmet>
);
}
Binary file added src/images/previews/blog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
87 changes: 87 additions & 0 deletions src/pages/swap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
import PageRoot from './template';
import { PageHeader } from '../components/Atoms/Title';
import PropTypes from 'prop-types';
import React from 'react';
// import breakpoints from '../styles/breakpoints';
import links from '../data/links';
import styled from '@emotion/styled';
import PageMeta from 'components/Molecules/PageMeta';
import { FlexColCenter, FlexRowCenter, VSpacerBig } from 'styles/common';
import icons from 'data/icons';
import breakpoints from 'styles/breakpoints';
// import BannerSubscribe from 'components/Molecules/banners/BannerSubscribe';

const SwapPageRoot = styled(PageRoot)`
h3 {
color: var(--color-lightBlue);
}
`;

const Items = styled(FlexRowCenter)`
margin-top: 2rem;
gap: 4rem;
@media (max-width: ${breakpoints.mobile}) {
flex-direction: column;
}
`;

const Border = styled(FlexColCenter)`
border: 1px solid white;
background-color: var(--color-darkestBlue);
z-index: 3;
position: relative;
padding: 2rem;
border-image-slice: 1;
border-image-source: var(--gradient-purple-to-lighblue);
transition: transform 0.3s ease;
&:hover {
transform: scale(1.1);
}
`;

export default function Exchanges() {
return (
<div>
<PageMeta
title="Swap TKL | Tokel Platform"
description="Buy TKL through a simple swap portal. With the Tokel App you can sell art, browse NFTs, create and trade tokens for your projects. All on a unified and inexpensive platform."
/>
<SwapPageRoot starsTop="400px">
<PageHeader>BUY TKL</PageHeader>
<FlexColCenter>
<h3>Exchanges</h3>
<Items>
<Border>
<a href={links.atomicDex}>
<img alt="atomicDex" src={icons.atomicDex}></img>
</a>
<a href={links.aDEXStepByStep}>Step-by-step AtomicDEX</a>
<a href={links.aDexBuyTKLVideo}>How to Buy TKL on AtomicDEX</a>
</Border>

<Border>
<a href={links.dexTrade}>
<img alt="dexTrade" src={icons.dexTrade}></img>
</a>
<a href={links.dexTradeTutorials.signup}>Sign up on Dex Trade</a>
<a href={links.dexTradeTutorials.deposit}>How to make a deposit</a>
</Border>
</Items>
</FlexColCenter>
<VSpacerBig />
<FlexColCenter>
<h3>Direct swaps</h3>
<h4>Direct Swap Functionality coming soon...</h4>
<FlexRowCenter>
<img alt="swapBTCTKL" src={icons.swapBTC}></img>
</FlexRowCenter>
</FlexColCenter>
{/* <BannerSubscribe /> */}
</SwapPageRoot>
</div>
);
}

Exchanges.propTypes = {
data: PropTypes.any,
};
1 change: 1 addition & 0 deletions src/pages/tokeltalk.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ const TokelTalk = ({data}) => {
<PageMeta
title="Tokel Talk: NFT & Tokenization Podcast & Live Stream"
description="Podcast of open-source, dedicated, fungible & non-fungible token (NFT) platform, Tokel. Listen to the latest episodes."
url="blog"
/>
<Content>
<HeaderWrapper>
Expand Down