Change Play now button label to Try now

This commit is contained in:
vic 2024-08-22 18:14:54 +02:00
parent a1075ecfe2
commit 99f246c0d0
2 changed files with 8 additions and 5 deletions

View file

@ -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"

View file

@ -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>
)}