Skip to content

Commit

Permalink
refactor: add blog site and open discord to workbench banner
Browse files Browse the repository at this point in the history
  • Loading branch information
d3george committed Mar 27, 2024
1 parent a52d189 commit 70b5b15
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions src/pages/dashboard/workbench/banner-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Col, Row } from 'antd';
import Color from 'color';

import Character3 from '@/assets/images/characters/character_3.png';
import { Iconify } from '@/components/icon';
import { useUserInfo } from '@/store/userStore';
import { useThemeToken } from '@/theme/hooks';

Expand Down Expand Up @@ -32,14 +33,27 @@ export default function BannerCard() {
style={{ color: themeToken.colorPrimaryTextActive }}
className="mx-auto mb-6 mt-4 max-w-sm text-sm opacity-80 md:mx-0"
>
If you are going to use a passage of Lorem Ipsum, you need to be sure there is not
anything.
Welcome to join the Discord channel to discuss everything about Slash Admin, or you can
visite my blog:
<div>
<a
href="https://blog.slashspaces.com"
target="_blank"
className="text-base font-bold"
style={{ color: themeToken.colorPrimaryTextActive }}
rel="noreferrer"
>
👉 https://blog.slashspaces.com
</a>
</div>
</p>
<button
className="font-mediumtext-black m-auto flex items-center justify-center rounded-md px-2 py-1 shadow-none md:m-0"
style={{ backgroundColor: themeToken.colorPrimary }}
style={{ backgroundColor: themeToken.colorPrimary, color: '#fff' }}
onClick={() => window.open('https://discord.gg/fXemAXVNDa')}
>
Go Now
<Iconify icon="carbon:logo-discord" size={24} />
<span className="ml-2">Open Discord</span>
</button>
</Col>

Expand Down

0 comments on commit 70b5b15

Please sign in to comment.