-
Notifications
You must be signed in to change notification settings - Fork 0
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
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
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 { Button, Typography } from '@acid-info/lsd-react' | ||
import styled from '@emotion/styled' | ||
import Link from 'next/link' | ||
import { DiscordIcon } from '../Icons/DiscordIcon' | ||
|
||
type JoinDiscordCardProps = React.HTMLAttributes<HTMLDivElement> | ||
|
||
export const JoinDiscordCard = (props: JoinDiscordCardProps) => { | ||
return ( | ||
<JoinDiscordCardContainer {...props}> | ||
<Typography variant="body1">Join the discussion</Typography> | ||
<Link | ||
href="https://discord.gg/logos-state" | ||
style={{ | ||
textDecoration: 'none', | ||
}} | ||
> | ||
<Button icon={<DiscordIcon color="primary" />}> | ||
<Typography variant="body2">Go to Discord</Typography> | ||
</Button> | ||
</Link> | ||
</JoinDiscordCardContainer> | ||
) | ||
} | ||
|
||
const JoinDiscordCardContainer = styled.div` | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
border-bottom: 1px solid rgb(var(--lsd-border-primary)); | ||
padding: 24px 0px; | ||
margin-bottom: 24px; | ||
` |
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 @@ | ||
export * from './JoinDiscordCard' |