Skip to content

Commit ffcd90a

Browse files
committed
Add DiscoverMore section
1 parent c5b3bb8 commit ffcd90a

15 files changed

Lines changed: 73 additions & 121 deletions

File tree

File renamed without changes.

src/app/components/Social/images/linkedin_black.svg renamed to src/app/components/DiscoverMore/images/linkedin_black.svg

File renamed without changes.
File renamed without changes.
File renamed without changes.

src/app/components/Social/images/telegram_black.svg renamed to src/app/components/DiscoverMore/images/telegram_black.svg

File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import { FC } from 'react'
2+
import { useTranslation } from 'react-i18next'
3+
import { Link } from '@oasisprotocol/ui-library/src/components/link'
4+
import { roflApp, roseApp } from '../../utils/externalLinks'
5+
import { Button } from '@oasisprotocol/ui-library/src/components/button'
6+
import { ArrowUpRight } from 'lucide-react'
7+
import { Typography } from '@oasisprotocol/ui-library/src/components/typography'
8+
9+
export const DiscoverMore: FC = () => {
10+
const { t } = useTranslation()
11+
12+
return (
13+
<div className="w-full relative rounded-md flex flex-col lg:flex-row gap-4 md:gap-6 justify-between items-center">
14+
<div className="w-full flex flex-row self-stretch p-8 border bg-card rounded-md">
15+
<div className="flex flex-col items-start gap-2 lg:max-w-[480px]">
16+
<Typography className="font-semibold">{t('social.roflApp')}</Typography>
17+
<div className="text-foreground text-xl md:text-2xl font-medium leading-6 md:leading-8">
18+
{t('social.offchainPerformanceonchainTrust')}
19+
</div>
20+
<div className="justify-start text-muted-foreground text-sm font-normal leading-5 mb-3">
21+
{t('social.description')}
22+
</div>
23+
<Button color="secondary" variant="outline" asChild>
24+
<Link textColor="primary" href={roflApp.homepage} target="_blank" rel="noopener noreferrer">
25+
{t('social.discoverRoflApp')}
26+
<ArrowUpRight />
27+
</Link>
28+
</Button>
29+
</div>
30+
</div>
31+
<div className="w-full flex flex-row self-stretch p-8 border bg-card rounded-md">
32+
<div className="flex flex-col items-start gap-2 lg:max-w-[480px]">
33+
<Typography className="font-semibold">{t('social.roseApp')}</Typography>
34+
<div className="text-foreground text-xl md:text-2xl font-medium leading-6 md:leading-8">
35+
{t('social.roseAppTitle')}
36+
</div>
37+
<div className="justify-start text-muted-foreground text-sm font-normal leading-5 mb-3">
38+
{t('social.roseAppDescription')}
39+
</div>
40+
<Button color="secondary" variant="outline" asChild>
41+
<Link textColor="primary" href={roseApp.homepage} target="_blank" rel="noopener noreferrer">
42+
{t('social.visitRoseApp')}
43+
<ArrowUpRight />
44+
</Link>
45+
</Button>
46+
</div>
47+
</div>
48+
</div>
49+
)
50+
}

src/app/components/PageLayout/Footer.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import { Typography } from '@oasisprotocol/ui-library/src/components/typography'
1010
import { Link } from '@oasisprotocol/ui-library/src/components/link'
1111
import { cn } from '@oasisprotocol/ui-library/src/lib/utils'
1212
import { socialMedia } from '../../utils/externalLinks'
13-
import telegram from '../Social/images/telegram_black.svg'
14-
import twitter from '../Social/images/twitter_black.svg'
15-
import discord from '../Social/images/discord_black.svg'
16-
import youtube from '../Social/images/youtube_black.svg'
17-
import reddit from '../Social/images/reddit_black.svg'
18-
import linkedin from '../Social/images/linkedin_black.svg'
13+
import telegram from '../DiscoverMore/images/telegram_black.svg'
14+
import twitter from '../DiscoverMore/images/twitter_black.svg'
15+
import discord from '../DiscoverMore/images/discord_black.svg'
16+
import youtube from '../DiscoverMore/images/youtube_black.svg'
17+
import reddit from '../DiscoverMore/images/reddit_black.svg'
18+
import linkedin from '../DiscoverMore/images/linkedin_black.svg'
1919
import { NotebookText, Home } from 'lucide-react'
2020

2121
interface FooterProps {

src/app/components/Social/index.tsx

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)