-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 (doc) [NO-ISSUE]: Update config to match monorepo setup (#482)
- Loading branch information
Showing
23 changed files
with
184 additions
and
194 deletions.
There are no files selected for viewing
Empty file.
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,3 @@ | ||
module.exports = { | ||
...require("@ledgerhq/prettier-config-dsdk"), | ||
}; |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import baseConfig from "@ledgerhq/eslint-config-dsdk"; | ||
import globals from "globals"; | ||
|
||
export default [ | ||
...baseConfig, | ||
{ | ||
ignores: [".next"], | ||
}, | ||
{ | ||
languageOptions: { | ||
parserOptions: { | ||
project: "./tsconfig.eslint.json", | ||
}, | ||
}, | ||
}, | ||
{ | ||
files: [ | ||
"next.config.js", | ||
"postcss.config.js", | ||
"tailwind.config.js", | ||
"theme.config.tsx", | ||
], | ||
languageOptions: { | ||
globals: { | ||
...globals.node, | ||
}, | ||
}, | ||
rules: { | ||
"@typescript-eslint/no-var-requires": "off", | ||
}, | ||
}, | ||
]; |
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,5 +1,5 @@ | ||
import "../style.css"; | ||
|
||
export default function App({ Component, pageProps }) { | ||
return <Component {...pageProps} /> | ||
return <Component {...pageProps} />; | ||
} |
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
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,106 +1,106 @@ | ||
/* Hero Section */ | ||
|
||
.title { | ||
font-size: 2em | ||
font-size: 2em; | ||
} | ||
|
||
.hero { | ||
padding: 60px 20px; | ||
text-align: center; | ||
height: 60vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
padding: 60px 20px; | ||
text-align: center; | ||
height: 60vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
} | ||
|
||
.hero h1 { | ||
font-size: 2.5em; | ||
margin-bottom: 20px; | ||
font-size: 2.5em; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.hero p { | ||
font-size: 1.2em; | ||
font-size: 1.2em; | ||
} | ||
|
||
em { | ||
color: #FF5300; | ||
color: #ff5300; | ||
} | ||
|
||
/* Cards */ | ||
.card-container { | ||
display: flex; | ||
justify-content: center; | ||
margin: 40px 0; | ||
display: flex; | ||
justify-content: center; | ||
margin: 40px 0; | ||
} | ||
|
||
.card { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
border-radius: 8px; | ||
padding: 20px; | ||
width: 250px; | ||
text-align: center; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
margin: 0 20px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
border-radius: 8px; | ||
padding: 20px; | ||
width: 250px; | ||
text-align: center; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
margin: 0 20px; | ||
} | ||
|
||
.card .icon { | ||
font-size: 3em; | ||
font-size: 3em; | ||
} | ||
|
||
.card h3 { | ||
margin-top: 20px; | ||
margin-bottom: 10px; | ||
font-size: 1.5em; | ||
margin-top: 20px; | ||
margin-bottom: 10px; | ||
font-size: 1.5em; | ||
} | ||
|
||
.card p { | ||
font-size: 1em; | ||
margin-bottom: 20px; | ||
font-size: 1em; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.btn { | ||
display: inline-block; | ||
background-color: #FF5300; | ||
color: white; | ||
padding: 10px 20px; | ||
text-align: center; | ||
border-radius: 4px; | ||
text-decoration: none; | ||
display: inline-block; | ||
background-color: #ff5300; | ||
color: white; | ||
padding: 10px 20px; | ||
text-align: center; | ||
border-radius: 4px; | ||
text-decoration: none; | ||
} | ||
|
||
.btn:hover { | ||
background-color: #FF5300; | ||
background-color: #ff5300; | ||
} | ||
|
||
/* Additional Resources */ | ||
.resources-container { | ||
text-align: center; | ||
padding: 40px 20px; | ||
text-align: center; | ||
padding: 40px 20px; | ||
} | ||
|
||
.resources-container h2 { | ||
font-size: 1.8em; | ||
margin-bottom: 20px; | ||
font-size: 1.8em; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.resources-container ul { | ||
list-style: none; | ||
padding: 0; | ||
list-style: none; | ||
padding: 0; | ||
} | ||
|
||
.resources-container ul li { | ||
margin: 10px 0; | ||
margin: 10px 0; | ||
} | ||
|
||
.resources-container ul li a { | ||
font-size: 1.1em; | ||
text-decoration: none; | ||
color: #333; | ||
font-size: 1.1em; | ||
text-decoration: none; | ||
color: #333; | ||
} | ||
|
||
.resources-container ul li a:hover { | ||
text-decoration: underline; | ||
text-decoration: underline; | ||
} |
Oops, something went wrong.