-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start working on the search * wip name search * wip * wip * add box api * add invalid status * use ens app * status borders * support emojis * fix indicator colors * properly validate names * fix mobile invalid label * fix text * add arrows * refactor * set fmt to match ens-app-v3 * unused dep * fix * bump all deps * fix * allow single character names * fix * fix url * use external link for .eth names * Revert "use external link for .eth names" This reverts commit 309bedf. * fmt * use external link for .eth names --------- Co-authored-by: sugh01 <[email protected]>
- Loading branch information
1 parent
e615538
commit 55aeccc
Showing
54 changed files
with
4,647 additions
and
3,954 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
import eslint from '@eslint/js'; | ||
import tseslint from 'typescript-eslint'; | ||
import nextPlugin from '@next/eslint-plugin-next'; | ||
import stylistic from '@stylistic/eslint-plugin'; | ||
import react from '@eslint-react/eslint-plugin'; | ||
import { fixupPluginRules } from '@eslint/compat'; | ||
import globals from 'globals'; | ||
import eslint from '@eslint/js' | ||
import tseslint from 'typescript-eslint' | ||
import nextPlugin from '@next/eslint-plugin-next' | ||
import stylistic from '@stylistic/eslint-plugin' | ||
import react from '@eslint-react/eslint-plugin' | ||
import { fixupPluginRules } from '@eslint/compat' | ||
import globals from 'globals' | ||
|
||
const config = tseslint.config( | ||
{ | ||
files: ['src/**/*.ts', 'src/*.tsx'], | ||
ignores: ['node_modules', 'dist', '.next'], | ||
languageOptions: { | ||
globals: { | ||
...globals.node, | ||
...globals.browser, | ||
}, | ||
}, | ||
{ | ||
files: ['src/**/*.ts', 'src/*.tsx'], | ||
ignores: ['node_modules', 'dist', '.next'], | ||
languageOptions: { | ||
globals: { | ||
...globals.node, | ||
...globals.browser, | ||
}, | ||
}, | ||
eslint.configs.recommended, | ||
...tseslint.configs.recommended, | ||
react.configs.recommended, | ||
stylistic.configs.customize({ | ||
indent: 4, | ||
quotes: 'single', | ||
jsx: true, | ||
semi: true, | ||
}), | ||
{ | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
plugins: { | ||
'@next/next': fixupPluginRules(nextPlugin), | ||
stylistic, | ||
react, | ||
}, | ||
rules: { | ||
// Next.js | ||
...nextPlugin.configs.recommended.rules, | ||
'@next/next/no-img-element': 'off', | ||
'stylistic/no-multiple-empty-lines': ['error', { max: 1 }], | ||
}, | ||
}, | ||
eslint.configs.recommended, | ||
...tseslint.configs.recommended, | ||
react.configs.recommended, | ||
stylistic.configs.customize({ | ||
indent: 2, | ||
quotes: 'single', | ||
jsx: true, | ||
semi: false, | ||
}), | ||
{ | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
); | ||
plugins: { | ||
'@next/next': fixupPluginRules(nextPlugin), | ||
stylistic, | ||
react, | ||
}, | ||
rules: { | ||
// Next.js | ||
...nextPlugin.configs.recommended.rules, | ||
'@next/next/no-img-element': 'off', | ||
'stylistic/no-multiple-empty-lines': ['error', { max: 1 }], | ||
}, | ||
}, | ||
) | ||
|
||
export default config; | ||
export default config |
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,92 +1,92 @@ | ||
import { Inter, EB_Garamond } from 'next/font/google'; | ||
import localFont from 'next/font/local'; | ||
import { Inter, EB_Garamond } from 'next/font/google' | ||
import localFont from 'next/font/local' | ||
|
||
const inter = Inter({ | ||
weight: 'variable', | ||
variable: '--ens-sans-fb', | ||
subsets: ['cyrillic'], | ||
}); | ||
weight: 'variable', | ||
variable: '--ens-sans-fb', | ||
subsets: ['cyrillic'], | ||
}) | ||
|
||
const ebGaramond = EB_Garamond({ | ||
weight: 'variable', | ||
variable: '--ens-serif-fb', | ||
subsets: ['cyrillic'], | ||
}); | ||
weight: 'variable', | ||
variable: '--ens-serif-fb', | ||
subsets: ['cyrillic'], | ||
}) | ||
|
||
const ABCMonumentGrotesk = localFont({ | ||
src: './fonts/variable.woff2', | ||
variable: '--ens-sans', | ||
fallback: ['var(--ens-sans-fb)', 'sans-serif'], | ||
}); | ||
src: './fonts/variable.woff2', | ||
variable: '--ens-sans', | ||
fallback: ['var(--ens-sans-fb)', 'sans-serif'], | ||
}) | ||
|
||
const ABCMonumentGroteskMono = localFont({ | ||
src: [ | ||
{ | ||
weight: '400', | ||
path: './fonts/mono/regular.woff2', | ||
style: 'normal', | ||
}, | ||
{ | ||
weight: '400', | ||
path: './fonts/mono/italic.woff2', | ||
style: 'italic', | ||
}, | ||
{ | ||
weight: '500', | ||
path: './fonts/mono/medium.woff2', | ||
style: 'normal', | ||
}, | ||
{ | ||
weight: '500', | ||
path: './fonts/mono/medium-italic.woff2', | ||
style: 'italic', | ||
}, | ||
], | ||
variable: '--ens-mono', | ||
}); | ||
src: [ | ||
{ | ||
weight: '400', | ||
path: './fonts/mono/regular.woff2', | ||
style: 'normal', | ||
}, | ||
{ | ||
weight: '400', | ||
path: './fonts/mono/italic.woff2', | ||
style: 'italic', | ||
}, | ||
{ | ||
weight: '500', | ||
path: './fonts/mono/medium.woff2', | ||
style: 'normal', | ||
}, | ||
{ | ||
weight: '500', | ||
path: './fonts/mono/medium-italic.woff2', | ||
style: 'italic', | ||
}, | ||
], | ||
variable: '--ens-mono', | ||
}) | ||
|
||
const ABCMonumentGroteskSemiMono = localFont({ | ||
src: [ | ||
{ | ||
weight: '400', | ||
path: './fonts/semi-mono/regular.woff2', | ||
style: 'normal', | ||
}, | ||
{ | ||
weight: '400', | ||
path: './fonts/semi-mono/italic.woff2', | ||
style: 'italic', | ||
}, | ||
{ | ||
weight: '500', | ||
path: './fonts/semi-mono/medium.woff2', | ||
style: 'normal', | ||
}, | ||
{ | ||
weight: '500', | ||
path: './fonts/semi-mono/medium-italic.woff2', | ||
style: 'italic', | ||
}, | ||
], | ||
variable: '--ens-semi-mono', | ||
fallback: ['monospace'], | ||
}); | ||
src: [ | ||
{ | ||
weight: '400', | ||
path: './fonts/semi-mono/regular.woff2', | ||
style: 'normal', | ||
}, | ||
{ | ||
weight: '400', | ||
path: './fonts/semi-mono/italic.woff2', | ||
style: 'italic', | ||
}, | ||
{ | ||
weight: '500', | ||
path: './fonts/semi-mono/medium.woff2', | ||
style: 'normal', | ||
}, | ||
{ | ||
weight: '500', | ||
path: './fonts/semi-mono/medium-italic.woff2', | ||
style: 'italic', | ||
}, | ||
], | ||
variable: '--ens-semi-mono', | ||
fallback: ['monospace'], | ||
}) | ||
|
||
const ABCMarist = localFont({ | ||
src: [ | ||
{ | ||
weight: '400', | ||
path: './fonts/serif/regular.woff2', | ||
style: 'normal', | ||
}, | ||
{ | ||
weight: '400', | ||
path: './fonts/serif/italic.woff2', | ||
style: 'italic', | ||
}, | ||
], | ||
variable: '--ens-serif', | ||
fallback: ['var(--ens-serif-fb)', 'serif'], | ||
}); | ||
src: [ | ||
{ | ||
weight: '400', | ||
path: './fonts/serif/regular.woff2', | ||
style: 'normal', | ||
}, | ||
{ | ||
weight: '400', | ||
path: './fonts/serif/italic.woff2', | ||
style: 'italic', | ||
}, | ||
], | ||
variable: '--ens-serif', | ||
fallback: ['var(--ens-serif-fb)', 'serif'], | ||
}) | ||
|
||
export { inter, ebGaramond, ABCMarist, ABCMonumentGrotesk, ABCMonumentGroteskSemiMono, ABCMonumentGroteskMono }; | ||
export { inter, ebGaramond, ABCMarist, ABCMonumentGrotesk, ABCMonumentGroteskSemiMono, ABCMonumentGroteskMono } |
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
Oops, something went wrong.