-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improved styles, UIs, added component in the process list when the filter returns 0 processes, added dashboard to admin route, improved sidebar menu view, improved process filter group-buttons, changed signIn to signUp in the landing, added more spacing and margin in different pages and components, formatted pricing with better β¬ display and removed decimals, vertically align the loader... * Added more space in the switcher * Added margins and improved subscription page with centering elements and adding the "Upgrade" button for free plan * Lint fix * Lint fix * Changed link to plans page * F/UI fixes review (#975) * feat: add max duration validation to calendar component (#972) * feat: add max duration validation to calendar component - Add subscription max duration validation - Show warning alert when duration exceeds plan limit * feat: add form validation for max duration - Add validation rule to endDate field - Prevent form submission when duration exceeds plan limit - Improve UX with error styling and upgrade plan button - Only show info card when duration is valid * fix: create org state issues (#965) fix: create org state issues * review --------- Co-authored-by: Γscar Casajuana <[email protected]> * fix: minor recover lost badge color + remove unnecessary currency code * fix: currency should show decimals --------- Co-authored-by: gerouvi <[email protected]> Co-authored-by: Γscar Casajuana <[email protected]> Co-authored-by: Γscar Casajuana <[email protected]>
- Loading branch information
1 parent
6bc0977
commit 1602238
Showing
24 changed files
with
103 additions
and
53 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
---|---|---|
@@ -1,10 +1,18 @@ | ||
import { Box } from '@chakra-ui/react' | ||
import { Box, Card, CardBody, Flex, Img, Text } from '@chakra-ui/react' | ||
import { Trans } from 'react-i18next' | ||
import empty from '/assets/illustrations/2.png' | ||
|
||
export const NoResultsFiltering = () => { | ||
return ( | ||
<Box> | ||
<Trans i18nKey='no_results_filtering'>Your current search filter returns no results</Trans> | ||
</Box> | ||
) | ||
} | ||
export const NoResultsFiltering = () => ( | ||
<Card variant='no-elections' minH='100%' maxW='650' m='80px auto'> | ||
<CardBody> | ||
<Flex justifyContent={'center'}> | ||
<Img src={empty} /> | ||
</Flex> | ||
<Box mt='50px' textAlign='center'> | ||
<Text as='h3' fontSize='md' fontWeight='bold'> | ||
<Trans i18nKey='no_results_filtering'>Your current search filter returns no results</Trans> | ||
</Text> | ||
</Box> | ||
</CardBody> | ||
</Card> | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
import { Box, Flex, Link } from '@chakra-ui/react' | ||
import { useTranslation } from 'react-i18next' | ||
import { Link as ReactRouterLink } from 'react-router-dom' | ||
import { useSubscription } from '~components/Auth/Subscription' | ||
import { VocdoniLogo } from '~components/Layout/Logo' | ||
import { PlanId } from '~constants' | ||
|
||
const SaasFooter = () => { | ||
const { t } = useTranslation() | ||
const { subscription } = useSubscription() | ||
const isCustom = subscription?.plan.id === PlanId.Custom | ||
const isFree = subscription?.plan.id === PlanId.Free | ||
|
||
return ( | ||
<Box bgColor={'process_create.bg_light'} _dark={{ bgColor: 'process_create.bg_dark' }}> | ||
|
@@ -29,13 +24,15 @@ const SaasFooter = () => { | |
<Box minW='100px'> | ||
<VocdoniLogo /> | ||
</Box> | ||
<Link as={ReactRouterLink} to=''> | ||
<Link variant='footer' as={ReactRouterLink} to='' mt='5px' fontSize={'sm'}> | ||
{t('terms_and_conditions', { defaultValue: 'Terms and Conditions' })} | ||
</Link> | ||
<Link as={ReactRouterLink} to=''> | ||
<Link variant='footer' as={ReactRouterLink} to='' mt='5px' fontSize={'sm'}> | ||
{t('privacy_policy', { defaultValue: 'Privacy Policy' })} | ||
</Link> | ||
<Link href='mailto:[email protected]'>[email protected]</Link> | ||
<Link variant='footer' mt='5px' href='mailto:[email protected]' fontSize={'sm'}> | ||
[email protected] | ||
</Link> | ||
</Flex> | ||
</Flex> | ||
</Box> | ||
|
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
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
1602238
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Published on https://vocdoni-app-stg.netlify.app as production
π Deployed on https://67a1f0a326e78cf70ecfd727--vocdoni-app-stg.netlify.app
1602238
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Published on https://vocdoni-app-dev.netlify.app as production
π Deployed on https://67a1f0a2198bf136419b6230--vocdoni-app-dev.netlify.app