mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
Change Play now button label to Try now
This commit is contained in:
parent
a1075ecfe2
commit
99f246c0d0
2 changed files with 8 additions and 5 deletions
|
|
@ -118,7 +118,10 @@ const ProjectEditForm = ({ project }) => {
|
|||
/>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>Play Link</Text>
|
||||
<Text>Project link</Text>
|
||||
<Text variant="caption">
|
||||
Direct link to your project. Binaries download page, Website link, etc.
|
||||
</Text>
|
||||
<Input
|
||||
{...useField('playLink')}
|
||||
placeholder="https://hackclub.com/arcade"
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ const ProjectView = ({
|
|||
description = 'Description Not Found',
|
||||
slack = 'Slack Not Found',
|
||||
scrapbook = '',
|
||||
playLink,
|
||||
playLink: TryNowLink,
|
||||
images = [],
|
||||
githubProf,
|
||||
user = 'User Not Found',
|
||||
|
|
@ -134,7 +134,7 @@ const ProjectView = ({
|
|||
className={styles.buttonGroup}
|
||||
sx={{ width: '90%', margin: 'auto', pt: 2, pb: 2 }}
|
||||
>
|
||||
{playLink && (
|
||||
{TryNowLink && (
|
||||
<Button
|
||||
as="a"
|
||||
sx={{
|
||||
|
|
@ -143,11 +143,11 @@ const ProjectView = ({
|
|||
textSizeAdjust: '16px',
|
||||
borderRadius: '10px'
|
||||
}}
|
||||
href={playLink}
|
||||
href={TryNowLink}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
Play Now
|
||||
Try Now!
|
||||
</Button>
|
||||
)}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue