-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dcellar-web-ui): add dcellar open-source card to the toolbox
- Loading branch information
Showing
4 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...lar-web-ui/public/js/iconfont_v0.7.min.js → ...lar-web-ui/public/js/iconfont_v0.8.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
apps/dcellar-web-ui/src/modules/toolbox/components/OpenSourceCard.tsx
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,29 @@ | ||
import { Badge, Flex, Text } from '@node-real/uikit'; | ||
|
||
import { Card, CircleLink } from './Common'; | ||
|
||
import { IconFont } from '@/components/IconFont'; | ||
|
||
export const OpenSourceCard = () => { | ||
return ( | ||
<Card> | ||
<IconFont type="source-code" w={48} /> | ||
<Flex justifyContent={'space-between'} gap={8}> | ||
<Text fontSize={16} fontWeight={600} flex={1}> | ||
DCellar Open Source | ||
</Text> | ||
<CircleLink title="github" href="https://github.com/node-real/dcellar/"> | ||
<IconFont type="line-github" w={16} /> | ||
</CircleLink> | ||
</Flex> | ||
|
||
<Badge colorScheme="primary" width={'fit-content'} borderRadius={4}> | ||
Developer Tool | ||
</Badge> | ||
<Text color={'readable.secondary'}> | ||
Utilize DCellar open-source codebase and encourage collaboration to improve and extend its | ||
functionality. | ||
</Text> | ||
</Card> | ||
); | ||
}; |
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
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