-
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.
* Add about tab in settings modal * Include version into vitest * Include the env file in ts
- Loading branch information
Showing
9 changed files
with
84 additions
and
6 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
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
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,58 @@ | ||
/* | ||
* codeslide.net | ||
* | ||
* @license | ||
* Forked from mydraft.cc by Sebastian Stehle | ||
* Copyright (c) Do Duc Quan. All rights reserved. | ||
*/ | ||
|
||
import * as React from 'react'; | ||
|
||
import 'prismjs/themes/prism.css'; | ||
import { Col, Row } from 'antd'; | ||
import { texts } from '@app/const'; | ||
|
||
export const AboutSetting = React.memo(() => { | ||
|
||
return ( | ||
<> | ||
<Row className='property'> | ||
<h1>CodeSlide</h1> | ||
</Row> | ||
|
||
<Row className='property'> | ||
<p>Copyright © 2024. <a href='https://www.codeslide.net'>CodeSlide</a>. MIT License</p> | ||
</Row> | ||
|
||
<Row className='property'> | ||
<Col span={1} /> | ||
<Col span={3} className='property-label'>{texts.common.version}</Col> | ||
<Col span={7} className='property-label'>{texts.vars.version}</Col> | ||
</Row> | ||
|
||
<Row className='property'> | ||
<Col span={1} /> | ||
<Col span={3} className='property-label'>{texts.common.contactAuthor}</Col> | ||
<Col span={7} className='property-label'> | ||
<a href='https://www.dodquan.com'>Do Duc Quan</a> | ||
</Col> | ||
</Row> | ||
|
||
<Row className='property'> | ||
<Col span={1} /> | ||
<Col span={3} className='property-label'>{texts.common.contactEmail}</Col> | ||
<Col span={7} className='property-label'> | ||
<a href='mailto:dodquan@gmail.com'>dodquan@gmail.com</a> | ||
</Col> | ||
</Row> | ||
|
||
<Row className='property'> | ||
<Col span={1} /> | ||
<Col span={3} className='property-label'>{texts.common.reportIssue}</Col> | ||
<Col span={7} className='property-label'> | ||
<a href='https://github.com/code-slide/ui/issues'>GitHub Issues</a> | ||
</Col> | ||
</Row> | ||
</> | ||
); | ||
}) |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './AboutSetting'; | ||
export * from './ColorSetting'; | ||
export * from './DiagramSetting'; | ||
export * from './PresentSetting'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
declare const __APP_VERSION__: string; |
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