mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-09-10 18:26:15 +02:00
enhanced print view
This commit is contained in:
@@ -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}>
|
||||
|
@@ -1,7 +1,9 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Menu renders correctly 1`] = `
|
||||
<nav>
|
||||
<nav
|
||||
className="undefined hideInPrintView"
|
||||
>
|
||||
<ul>
|
||||
<li>
|
||||
<a
|
||||
|
Reference in New Issue
Block a user