This commit is contained in:
Kalle (Sendou) 2021-11-27 03:12:35 +02:00
parent 7d18d66c7a
commit 7fbcdd196c
5 changed files with 20 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import classNames from "classnames";
import { Fragment } from "react";
import { Link } from "remix";
import { navItems } from "../../utils";
import { navItems } from "~/constants";
import { SearchInput } from "./SearchInput";
export function MobileNav({

View File

@ -6,7 +6,7 @@ import { UserItem } from "./UserItem";
import { Link } from "remix";
import { navItems } from "~/constants";
export function Layout({ children }: { children: React.ReactElement }) {
export function Layout({ children }: { children: React.ReactNode }) {
const [menuExpanded, setMenuExpanded] = useState(false);
return (

View File

@ -147,6 +147,10 @@
text-decoration: none;
}
.info-banner__action-button:active {
transform: translateY(1px);
}
@media screen and (min-width: 480px) {
.tournament__links-container {
grid-template-columns: repeat(3, 100px);

13
package-lock.json generated
View File

@ -22,6 +22,7 @@
},
"devDependencies": {
"@remix-run/dev": "^1.0.6",
"@types/faker": "^5.5.9",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"concurrently": "^6.4.0",
@ -395,6 +396,12 @@
"@types/estree": "*"
}
},
"node_modules/@types/faker": {
"version": "5.5.9",
"resolved": "https://registry.npmjs.org/@types/faker/-/faker-5.5.9.tgz",
"integrity": "sha512-uCx6mP3UY5SIO14XlspxsGjgaemrxpssJI0Ol+GfhxtcKpv9pgRZYsS4eeKeHVLje6Qtc8lGszuBI461+gVZBA==",
"dev": true
},
"node_modules/@types/hast": {
"version": "2.3.4",
"resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.4.tgz",
@ -6666,6 +6673,12 @@
"@types/estree": "*"
}
},
"@types/faker": {
"version": "5.5.9",
"resolved": "https://registry.npmjs.org/@types/faker/-/faker-5.5.9.tgz",
"integrity": "sha512-uCx6mP3UY5SIO14XlspxsGjgaemrxpssJI0Ol+GfhxtcKpv9pgRZYsS4eeKeHVLje6Qtc8lGszuBI461+gVZBA==",
"dev": true
},
"@types/hast": {
"version": "2.3.4",
"resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.4.tgz",

View File

@ -35,6 +35,7 @@
},
"devDependencies": {
"@remix-run/dev": "^1.0.6",
"@types/faker": "^5.5.9",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"concurrently": "^6.4.0",