-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2c92e9
commit ac7c40d
Showing
83 changed files
with
1,424 additions
and
1,029 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = { | ||
extends: [ | ||
'next/core-web-vitals', | ||
'plugin:react/recommended', | ||
'plugin:prettier/recommended', | ||
], | ||
plugins: ['react'], | ||
rules: { | ||
'react/react-in-jsx-scope': 'off', | ||
'prettier/prettier': [ | ||
'error', | ||
{ | ||
bracketSpacing: true, | ||
singleQuote: true, | ||
trailingComma: 'es5', | ||
jsxBracketSameLine: false, | ||
}, | ||
], | ||
}, | ||
}; |
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,3 +1,5 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"editor.tabSize": 2, | ||
"editor.insertSpaces": true | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,3 +1,3 @@ | ||
import DomainPage from "@/containers/domains-page/domains-page"; | ||
import DomainPage from '@/containers/domains-page/domains-page'; | ||
|
||
export default DomainPage; | ||
export default DomainPage; |
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,3 +1,3 @@ | ||
import DomainPage from "@/containers/domains-page/domains-page"; | ||
import DomainPage from '@/containers/domains-page/domains-page'; | ||
|
||
export default DomainPage; | ||
export default DomainPage; |
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,29 +1,29 @@ | ||
"use client" | ||
import { HeadingXSmall } from "baseui/typography"; | ||
import { ThemeConsumer, styled } from "baseui"; | ||
import AlertIcon from "baseui/icon/alert"; | ||
'use client'; | ||
import { HeadingXSmall } from 'baseui/typography'; | ||
import { ThemeConsumer, styled } from 'baseui'; | ||
import AlertIcon from 'baseui/icon/alert'; | ||
|
||
const StyledContainer = styled('div', ({ $theme }) => { | ||
return { | ||
flex: 1, | ||
display: "flex", | ||
flexDirection: "column", | ||
alignItems: "center", | ||
justifyContent: "center", | ||
gap: $theme.sizing.scale800, | ||
padding: `${$theme.sizing.scale900} ${$theme.sizing.scale600}`, | ||
}; | ||
return { | ||
flex: 1, | ||
display: 'flex', | ||
flexDirection: 'column', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
gap: $theme.sizing.scale800, | ||
padding: `${$theme.sizing.scale900} ${$theme.sizing.scale600}`, | ||
}; | ||
}); | ||
|
||
export default function HomePageError({ | ||
error | ||
error, | ||
}: Readonly<{ | ||
error: Error; | ||
error: Error; | ||
}>) { | ||
return ( | ||
<StyledContainer> | ||
<AlertIcon size={64} /> | ||
<HeadingXSmall>Something went wrong</HeadingXSmall> | ||
</StyledContainer> | ||
); | ||
return ( | ||
<StyledContainer> | ||
<AlertIcon size={64} /> | ||
<HeadingXSmall>Something went wrong</HeadingXSmall> | ||
</StyledContainer> | ||
); | ||
} |
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,12 @@ | ||
"use client" | ||
import { ProgressBar, ProgressBarOverrides } from "baseui/progress-bar"; | ||
'use client'; | ||
import { ProgressBar, ProgressBarOverrides } from 'baseui/progress-bar'; | ||
|
||
const progressOverrides = { | ||
BarContainer: { | ||
style: { margin: 0 } | ||
} | ||
BarContainer: { | ||
style: { margin: 0 }, | ||
}, | ||
} satisfies ProgressBarOverrides; | ||
|
||
export default function HomePageLoading() { | ||
return ( | ||
<ProgressBar overrides={progressOverrides} infinite /> | ||
); | ||
return <ProgressBar overrides={progressOverrides} infinite />; | ||
} |
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,6 @@ | ||
import { redirect } from 'next/navigation' | ||
import { redirect } from 'next/navigation'; | ||
|
||
export default function Home() { | ||
redirect('/domains') | ||
return null | ||
redirect('/domains'); | ||
return null; | ||
} |
Oops, something went wrong.