generated from alundiak/my-default-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
27 changed files
with
3,704 additions
and
91 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import js from '@eslint/js' | ||
import globals from 'globals' | ||
import reactHooks from 'eslint-plugin-react-hooks' | ||
import reactRefresh from 'eslint-plugin-react-refresh' | ||
import tseslint from 'typescript-eslint' | ||
|
||
export default tseslint.config( | ||
{ ignores: ['dist'] }, | ||
{ | ||
extends: [js.configs.recommended, ...tseslint.configs.recommended], | ||
files: ['**/*.{ts,tsx}'], | ||
languageOptions: { | ||
ecmaVersion: 2020, | ||
globals: globals.browser, | ||
}, | ||
plugins: { | ||
'react-hooks': reactHooks, | ||
'react-refresh': reactRefresh, | ||
}, | ||
rules: { | ||
...reactHooks.configs.recommended.rules, | ||
'react-refresh/only-export-components': [ | ||
'warn', | ||
{ allowConstantExport: true }, | ||
], | ||
}, | ||
}, | ||
) |
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,79 +1 @@ | ||
body { | ||
/* display: flex; | ||
justify-content: center; | ||
align-items: center; */ | ||
height: 100vh; | ||
margin: 10px; | ||
} | ||
|
||
.flags-block-container { | ||
display: flex; | ||
justify-content: flex-start; | ||
flex-wrap: wrap; | ||
gap: 5px; | ||
} | ||
|
||
.flags-block { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
/* padding: 10px; */ | ||
border: 1px solid #ccc; | ||
border-radius: 8px; | ||
/* width: 100px; */ | ||
} | ||
|
||
.flag { | ||
font-size: 60px; | ||
|
||
/* margin-bottom: 10px; */ | ||
&:hover { | ||
cursor: pointer; | ||
} | ||
} | ||
|
||
.country { | ||
font-size: 5px; | ||
text-align: center; | ||
} | ||
|
||
.flags-block.notUnMember { | ||
border: 1px dashed red; | ||
} | ||
|
||
#old-flags-container { | ||
div.flag-block { | ||
display: inline-block; | ||
|
||
span.flag { | ||
font-size: 50px; | ||
|
||
&:hover { | ||
cursor: pointer; | ||
} | ||
} | ||
|
||
span.country { | ||
font-size: 5px; | ||
} | ||
} | ||
} | ||
|
||
|
||
|
||
.toast { | ||
position: fixed; | ||
bottom: 20px; | ||
left: 50%; | ||
transform: translateX(-50%); | ||
background-color: rgba(0, 0, 0, 0.7); | ||
color: white; | ||
padding: 10px 20px; | ||
border-radius: 5px; | ||
opacity: 1; | ||
transition: opacity 0.5s; | ||
} | ||
|
||
.fade-out { | ||
opacity: 0; | ||
} |
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.