-
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.
chore(v1): fix problem from eslint & fix some styles
- Loading branch information
1 parent
5e447ad
commit 88d81e5
Showing
13 changed files
with
40 additions
and
31 deletions.
There are no files selected for viewing
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,6 +1,8 @@ | ||
export const getAge = () => { | ||
const getAge = () => { | ||
const diff = Date.now() - new Date('2003, 09, 26').getTime(); | ||
const age = new Date(diff); | ||
|
||
return Math.abs(age.getUTCFullYear() - 1970); | ||
}; | ||
|
||
export default getAge; |
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,14 +1,20 @@ | ||
import { Box, Heading, Text } from '@chakra-ui/react'; | ||
import { Box, Flex, Heading, Text } from '@chakra-ui/react'; | ||
|
||
const NotFound = () => ( | ||
<Box py={40} textAlign="center"> | ||
<Heading as="h1" mb={4} size="3xl"> | ||
404 | ||
</Heading> | ||
<Text fontSize="2xl" fontWeight="600"> | ||
Halaman tidak ditemukan. | ||
</Text> | ||
</Box> | ||
<Flex align="center" justify="center" minH="100vh"> | ||
<Box | ||
textAlign="center" | ||
bgGradient="linear(to-t, brand.dark, brand.blue)" | ||
bgClip="text" | ||
> | ||
<Heading as="h1" mb={4} size="3xl"> | ||
404 | ||
</Heading> | ||
<Text fontSize="2xl" fontWeight="600"> | ||
Halaman tidak ditemukan. | ||
</Text> | ||
</Box> | ||
</Flex> | ||
); | ||
|
||
export default NotFound; |
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
88d81e5
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.
Successfully deployed to the following URLs: