Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
project: "./tsconfig.json",
tsconfigRootDir: __dirname,
},
plugins: ["@typescript-eslint", "react-hooks"],
root: true,
Expand Down
10 changes: 9 additions & 1 deletion packages/web/custom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,12 @@ declare module "*.svg" {
export default src;
}

declare module "*.png";
declare module "*.png" {
const src: string;
export default src;
}

declare module "*.css" {
const classes: { [key: string]: string };
export default classes;
}
7 changes: 6 additions & 1 deletion packages/web/src/components/Footer/Footer.module.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
.footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: fit-content;
margin: 0 auto;
padding: var(--margin) 0;
border-top: 1px solid var(--border-color);
text-align: center;
background-color: var(--secondary-dark);
z-index: 100;
}

.footer-link {
Expand Down
10 changes: 5 additions & 5 deletions packages/web/src/components/Header/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ export default function Menu() {
Open-source datasets
</Link>
<Link
to="learn"
to="user-guide"
className={styles.routeLink}
target={isApp ? "_blank" : "_self"}
rel="noreferrer"
>
Learn
User guide
</Link>
<PrimaryFluent
ariaLabel="Help"
Expand Down Expand Up @@ -79,11 +79,11 @@ export default function Menu() {
href: "/datasets",
},
{
key: "learn",
text: "Learn",
key: "user-guide",
text: "User guide",
target: isApp ? "_blank" : "_self",
rel: "noreferrer",
href: "/learn",
href: "/user-guide",
},
{
key: "help",
Expand Down
90 changes: 0 additions & 90 deletions packages/web/src/components/Learn/Learn.module.css

This file was deleted.

169 changes: 0 additions & 169 deletions packages/web/src/components/Learn/index.tsx

This file was deleted.

Loading
Loading