Skip to content

Commit

Permalink
Merge pull request #1662 from geyserfund/sajal/bug-fixes-oct-8
Browse files Browse the repository at this point in the history
Sajal/bug-fixes-oct-8
  • Loading branch information
sajald77 authored Oct 9, 2024
2 parents a0b65ae + 9f824e6 commit 4ff44c4
Show file tree
Hide file tree
Showing 8 changed files with 8,239 additions and 11,873 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const TrendingRewardCard = ({ reward, ...rest }: TrendingRewardCardProps)
<>
<Body as="span" size="sm" light>
$
</Body>{' '}
</Body>
{reward.cost < 100 ? (reward.cost / 100).toFixed(2) : commaFormatted(Math.round(reward.cost / 100))}
<Body as="span" size="sm" light>
{' '}
Expand Down
1 change: 1 addition & 0 deletions src/modules/project/graphql/fragments/projectFragment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const FRAGMENT_PROJECT_PAGE_BODY = gql`
status
rewardCurrency
createdAt
launchedAt
goalsCount
rewardsCount
entriesCount
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const Details = () => {

<DetailLine title={t('Launched')}>
<Body size="sm" medium dark>
{DateTime.fromMillis(Number(project.createdAt)).toFormat('dd LLL yyyy')}
{DateTime.fromMillis(Number(project.launchedAt)).toFormat('dd LLL yyyy')}
</Body>
</DetailLine>
</CardLayout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export const Story = () => {
return (
<BodySectionLayout title={t('Story')}>
<CardLayout w="full" direction="column" spacing={5} paddingX={{ base: 3, lg: 6 }} paddingY={{ base: 6, lg: 8 }}>
<Body bold>{project.shortDescription}</Body>
<Body bold size="2xl">
{project.shortDescription}
</Body>
<article>
<MarkdownField preview content={project?.description} />
</article>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Avatar, Button, HStack } from '@chakra-ui/react'
import { NavLink } from 'react-router-dom'

import { Body } from '@/shared/components/typography'
import { getExternalAccountsButtons } from '@/shared/utils/user/getExternalAccountsButtons'

import { getPath } from '../../../../../../../../../shared/constants'
Expand Down Expand Up @@ -29,7 +30,7 @@ export const CreatorSocial = () => {
colorScheme="neutral1"
leftIcon={<Avatar p={0} h="16px" w="16px" src={user.imageUrl || ''} />}
>
{user.username}
<Body size="sm">{user.username}</Body>
</Button>

{accountButtonProps.map(({ icon, props, key }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ export const ProjectRewardForm = ({
<VStack pl={2} spacing={2} borderLeft="2px solid" borderColor="primary.400" align={'flex-start'}>
<Body medium>
{t(
'To maintain their privacy, we ask reward buyers to email you their shipping details directly to your email. Make sure your email is up to date):',
'To maintain their privacy, we ask reward buyers to email you their shipping details directly to your email. Make sure your email is up to date:',
)}
</Body>

Expand Down
2 changes: 1 addition & 1 deletion src/translations/English.json
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@
"Cheers,": "Cheers,",
"Copy success image": "Copy success image",
"To receive the selected items, you need to send your shipping details to the creator's email.": "To receive the selected items, you need to send your shipping details to the creator's email.",
"To maintain their privacy, we ask reward buyers to email you their shipping details directly to your email. Make sure your email is up to date):":"To maintain their privacy, we ask reward buyers to email you their shipping details directly to your email. Make sure your email is up to date):",
"To maintain their privacy, we ask reward buyers to email you their shipping details directly to your email. Make sure your email is up to date:":"To maintain their privacy, we ask reward buyers to email you their shipping details directly to your email. Make sure your email is up to date:",
"Sort & filter": "Sort & filter",
"Filter": "Filter",
"Sort": "Sort",
Expand Down
Loading

0 comments on commit 4ff44c4

Please sign in to comment.