Skip to content

Commit

Permalink
fix: ui and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jadenliu12 committed Jul 14, 2023
1 parent bb7c1aa commit 7f33b5c
Show file tree
Hide file tree
Showing 5 changed files with 689 additions and 707 deletions.
2 changes: 1 addition & 1 deletion internationalization/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const availableLanguages = Object.keys(resources);

i18n.use(initReactI18next).init({
fallbackLng: 'us',
lng: 'us',
lng: 'tw',
resources,
});

Expand Down
1 change: 1 addition & 0 deletions internationalization/locales/en/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const en_US = {
},
internship: {
Year: 'Year',
'Quantitative Trading Internship': 'Quantitative Trading Internship',
'Recruitment Plan': {
title: 'Recruitment Plan',
content:
Expand Down
1 change: 1 addition & 0 deletions internationalization/locales/zh/zh_TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const zh_TW = {
},
internship: {
Year: '年',
'Quantitative Trading Internship': 'CA 2023 校園量化團隊',
'Recruitment Plan': {
title: '招募計畫',
content:
Expand Down
64 changes: 61 additions & 3 deletions pages/internship.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const InternshipPage = () => {
as='a'
href='https://twitter.com/_cryptoarsenal_'
>
@CryptoAsrsena1
@CryptoArsena1
</Text>
</Box>
<Text
Expand Down Expand Up @@ -209,8 +209,29 @@ const InternshipPage = () => {
fontWeight={'bold'}
color={useColorModeValue('gray.700', 'gray.50')}
>
Quantitative Trading Internship
{t('internship.Quantitative Trading Internship')}
</Heading>
<Button
as='a'
href='mailto:[email protected]'
target={'_blank'}
mt={1}
mb={5}
w={'full'}
maxW={'3xs'}
bg={'blue.400'}
color={'white'}
rounded={'lg'}
boxShadow={'0 5px 20px 0px rgb(63 115 255 / 43%)'}
_hover={{
bg: 'blue.500',
}}
_focus={{
bg: 'blue.500',
}}
>
Apply Now
</Button>
</Box>
<Accordion
defaultIndex={[0]}
Expand Down Expand Up @@ -503,6 +524,42 @@ const InternshipPage = () => {
</AccordionPanel>
</AccordionItem>
</Accordion>
<Center>
<Stack
spacing={'40px'}
align={'center'}
w={'full'}
justify='center'
>
<Box w={'full'} mt={5}>
<Box fontWeight='extrabold' fontSize={'xl'}>
<Text color='#3F73FF'>Register Now</Text>
</Box>
<Button
as='a'
href='mailto:[email protected]?subject=校園大使_姓名XXX&body=Tell Us About Yourself'
target={'_blank'}
mt={3}
w={'full'}
maxW={'2xl'}
bg={'blue.400'}
color={'white'}
rounded={'xl'}
boxShadow={'0 5px 20px 0px rgb(63 115 255 / 43%)'}
_hover={{
bg: 'blue.500',
}}
_focus={{
bg: 'blue.500',
}}
leftIcon={<EmailIcon />}
rightIcon={<ExternalLinkIcon />}
>
[email protected]
</Button>
</Box>
</Stack>
</Center>
</Flex>
<Box m={6}>
<Divider />
Expand Down Expand Up @@ -770,7 +827,7 @@ const InternshipPage = () => {
fontFamily={'body'}
fontWeight={500}
>
Taiwan Builder House
TBH
</Heading>
</Stack>
</Box>
Expand Down Expand Up @@ -928,6 +985,7 @@ const InternshipPage = () => {
target={'_blank'}
mt={5}
w={'full'}
maxW={'2xl'}
bg={'blue.400'}
color={'white'}
rounded={'xl'}
Expand Down
Loading

0 comments on commit 7f33b5c

Please sign in to comment.