This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from sef-global/development
ScholarX Release 1.4
- Loading branch information
Showing
11 changed files
with
159 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import React from 'react'; | ||
|
||
import { QuestionCircleOutlined } from '@ant-design/icons'; | ||
import { Button, Popover, Typography } from 'antd'; | ||
|
||
import styles from './styles.css'; | ||
|
||
const { Paragraph, Title } = Typography; | ||
const content = ( | ||
<div> | ||
<Title level={4}>Mentor</Title> | ||
<Paragraph> | ||
<ul> | ||
<li> | ||
<a | ||
href="https://docs.google.com/document/d/1ZJeKxdAvHcPanXRoGP5rT-vkOTEfsYhrnqr1QVglS58/edit?usp=sharing" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
Mentor Guide | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
href="https://drive.google.com/file/d/13b0xg3HdZeQohefYMY9gP8_r_G11pGFA/view?usp=sharing" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
Mentor Video Guide | ||
</a> | ||
</li> | ||
</ul> | ||
</Paragraph> | ||
<Title level={4}>Mentee</Title> | ||
<Paragraph> | ||
<ul> | ||
<li> | ||
<a | ||
href="https://drive.google.com/file/d/1vnW1bhNzETtPtiGTsphzBT2GQ6K0LuX9/view" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
Mentee Video Guide | ||
</a> | ||
</li> | ||
</ul> | ||
</Paragraph> | ||
</div> | ||
); | ||
|
||
function HelpButton() { | ||
return ( | ||
<div className={styles.helpPosition}> | ||
<Popover placement="leftBottom" content={content} trigger="click"> | ||
<Button | ||
type="primary" | ||
shape="round" | ||
size="large" | ||
icon={<QuestionCircleOutlined />} | ||
> | ||
Watch Tutorial | ||
</Button> | ||
</Popover> | ||
</div> | ||
); | ||
} | ||
|
||
export default HelpButton; |
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,9 @@ | ||
.helpPosition { | ||
position: fixed; | ||
right: 30px; | ||
bottom: 100px; | ||
z-index: 10; | ||
display: flex; | ||
flex-direction: column; | ||
cursor: pointer; | ||
} |
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
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