enhanced print view

This commit is contained in:
2022-09-17 20:02:58 +02:00
parent 3c010efb59
commit 63d010d04a
28 changed files with 2169 additions and 1979 deletions

View File

@@ -1,7 +1,5 @@
import React from "react";
import { Link } from "gatsby";
import React from "react";
import * as styles from "./Menu.module.scss";
type Props = {
@@ -12,7 +10,7 @@ type Props = {
};
const Menu: React.FC<Props> = ({ menu }: Props) => (
<nav className={styles.menu}>
<nav className={`${styles.menu} hideInPrintView`}>
<ul className={styles.list}>
{menu?.map((item) => (
<li className={styles.item} key={item.path}>

View File

@@ -1,7 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Menu renders correctly 1`] = `
<nav>
<nav
className="undefined hideInPrintView"
>
<ul>
<li>
<a