enhanced print view

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

View File

@ -1,4 +1,7 @@
{ {
"env": {
"browser": true
},
"extends": [ "extends": [
"plugin:import/typescript", "plugin:import/typescript",

View File

@ -4,16 +4,11 @@ This is the repository for my personal blog/website [rickvanlieshout.com](https:
## Todo ## Todo
- print view
- hide mode toggler
- hide "all articles" link in posts
- hide menu
- hide social buttons
- change "header title"
- "time to read" (https://www.gatsbyjs.com/plugins/gatsby-remark-reading-time/) - "time to read" (https://www.gatsbyjs.com/plugins/gatsby-remark-reading-time/)
- quote needs a visual indicator (like a line or quote mark) in front to show it's a quote
<!-- migrations --> <!-- migrations -->
- migrate resume - migrate resume
- migrate projects - migrate projects
- migrate blogs - migrate blogs
@ -22,3 +17,4 @@ This is the repository for my personal blog/website [rickvanlieshout.com](https:
- release to sftp or gh-pages - release to sftp or gh-pages
- lighthouse doesn't like the blue... :) - lighthouse doesn't like the blue... :)
- url, id, title disqus

View File

@ -4,8 +4,8 @@
"subtitle": "The thoughts, discoveries and murmurings of a Software enthusiast", "subtitle": "The thoughts, discoveries and murmurings of a Software enthusiast",
"copyright": "© All rights reserved.", "copyright": "© All rights reserved.",
"googleAnalyticsId": "", "googleAnalyticsId": "",
"disqusShortname": "", "disqusShortname": "rickvanlieshoutcom",
"postsLimit": 7, "postsLimit": 5,
"pathPrefix": "/", "pathPrefix": "/",
"menu": [ "menu": [
{ {

View File

@ -9,7 +9,6 @@ tags:
- "Development" - "Development"
- "slsw" - "slsw"
description: "The last day of my journey with Scala is said to be a challenge" description: "The last day of my journey with Scala is said to be a challenge"
# socialImage: "/media/42-line-bible.jpg"
--- ---
The book doesn't offer a day 4, my school, however, does. Or rather, it wants us to "create" a day 4. The main objective of day 4 is to "create a [smart](https://en.wikipedia.org/wiki/SMART_criteria) goal which fits the language and challenges you". For this purpose I came up with the following goal: The book doesn't offer a day 4, my school, however, does. Or rather, it wants us to "create" a day 4. The main objective of day 4 is to "create a [smart](https://en.wikipedia.org/wiki/SMART_criteria) goal which fits the language and challenges you". For this purpose I came up with the following goal:

View File

@ -1,3 +1,17 @@
@charset "UTF-8"; @charset "UTF-8";
@import "base/generic"; @import "base/generic";
.showInPrintView {
display: none;
}
@media print {
.hideInPrintView {
display:none;
}
.showInPrintView {
display: initial;
}
}

View File

@ -1,11 +1,8 @@
import React from "react"; import { PAGINATION } from "@/constants";
import classNames from "classnames"; import classNames from "classnames";
import { Link } from "gatsby"; import { Link } from "gatsby";
import React from "react";
import * as styles from "./Pagination.module.scss"; import * as styles from "./Pagination.module.scss";
import { PAGINATION } from "@/constants";
type Props = { type Props = {
prevPagePath: string; prevPagePath: string;
@ -14,12 +11,7 @@ type Props = {
hasPrevPage: boolean; hasPrevPage: boolean;
}; };
const Pagination = ({ const Pagination = ({ prevPagePath, nextPagePath, hasNextPage, hasPrevPage }: Props) => {
prevPagePath,
nextPagePath,
hasNextPage,
hasPrevPage,
}: Props) => {
const prevClassName = classNames(styles.previousLink, { const prevClassName = classNames(styles.previousLink, {
[styles.disable]: !hasPrevPage, [styles.disable]: !hasPrevPage,
}); });
@ -29,12 +21,12 @@ const Pagination = ({
}); });
return ( return (
<div className={styles.pagination}> <div className={`${styles.pagination}`}>
<div className={styles.previous}> <div className={styles.previous}>
<Link <Link
rel="prev" rel="prev"
to={hasPrevPage ? prevPagePath : "/"} to={hasPrevPage ? prevPagePath : "/"}
className={prevClassName} className={`${prevClassName} hideInPrintView`}
> >
{PAGINATION.PREV_PAGE} {PAGINATION.PREV_PAGE}
</Link> </Link>
@ -43,7 +35,7 @@ const Pagination = ({
<Link <Link
rel="next" rel="next"
to={hasNextPage ? nextPagePath : "/"} to={hasNextPage ? nextPagePath : "/"}
className={nextClassName} className={`${nextClassName} hideInPrintView`}
> >
{PAGINATION.NEXT_PAGE} {PAGINATION.NEXT_PAGE}
</Link> </Link>

View File

@ -1,10 +1,12 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Pagination renders correctly 1`] = ` exports[`Pagination renders correctly 1`] = `
<div> <div
className="undefined"
>
<div> <div>
<a <a
className="" className=" hideInPrintView"
href="/typography/page/1" href="/typography/page/1"
rel="prev" rel="prev"
> >
@ -13,7 +15,7 @@ exports[`Pagination renders correctly 1`] = `
</div> </div>
<div> <div>
<a <a
className="" className=" hideInPrintView"
href="/typography/page/3" href="/typography/page/3"
rel="next" rel="next"
> >

View File

@ -1,8 +1,6 @@
import React from "react";
import * as styles from "./Author.module.scss";
import { useSiteMetadata } from "@/hooks"; import { useSiteMetadata } from "@/hooks";
import React from "react";
import * as styles from "./Author.module.scss";
const Author = () => { const Author = () => {
const { author } = useSiteMetadata(); const { author } = useSiteMetadata();
@ -10,9 +8,11 @@ const Author = () => {
return ( return (
<div className={styles.author}> <div className={styles.author}>
<p className={styles.bio}> <p className={styles.bio}>
Written by: <a href="/pages/about"> Written by:{" "}
<a href="/pages/about">
<strong>{author.name}</strong> <strong>{author.name}</strong>
</a> </a>
<span className="showInPrintView"> {`@ ${window.location}`}</span>
</p> </p>
</div> </div>
); );

View File

@ -4,6 +4,7 @@ exports[`Author renders correctly 1`] = `
<div> <div>
<p> <p>
Written by: Written by:
<a <a
href="/pages/about" href="/pages/about"
> >
@ -11,6 +12,12 @@ exports[`Author renders correctly 1`] = `
Rick van Lieshout Rick van Lieshout
</strong> </strong>
</a> </a>
<span
className="showInPrintView"
>
@ http://localhost/
</span>
</p> </p>
</div> </div>
`; `;

View File

@ -4,7 +4,9 @@ exports[`Content renders correctly 1`] = `
Array [ Array [
<div> <div>
<span> <span>
<span> <span
className="undefined hideInPrintView"
>
<a <a
href="/" href="/"
> >
@ -14,8 +16,19 @@ Array [
</span> </span>
</a> </a>
</span> </span>
<span
className="undefined showInPrintView"
>
<a
href="/"
>
rickvanLieshout.com
</a>
</span> </span>
<span> </span>
<span
className="hideInPrintView"
>
<a <a
href="/" href="/"
style={ style={
@ -27,6 +40,9 @@ Array [
> >
↩ All articles ↩ All articles
</a> </a>
<span
className="hideInPrintView"
>
<div <div
className="react-toggle" className="react-toggle"
onClick={[Function]} onClick={[Function]}
@ -116,6 +132,7 @@ Array [
/> />
</div> </div>
</span> </span>
</span>
</div>, </div>,
<div> <div>
<h1> <h1>

View File

@ -28,7 +28,7 @@ const Post: React.FC<Props> = ({ post }: Props) => {
<Author /> <Author />
</div> </div>
<div className={styles.comments}> <div className={`${styles.comments} hideInPrintView`}>
<Comments postSlug={slug} postTitle={post.frontmatter.title} /> <Comments postSlug={slug} postTitle={post.frontmatter.title} />
</div> </div>
</div> </div>

View File

@ -1,7 +1,5 @@
import React from "react";
import { Link } from "gatsby"; import { Link } from "gatsby";
import React from "react";
import * as styles from "./Tags.module.scss"; import * as styles from "./Tags.module.scss";
type Props = { type Props = {
@ -10,7 +8,7 @@ type Props = {
}; };
const Tags = ({ tags, tagSlugs }: Props) => ( const Tags = ({ tags, tagSlugs }: Props) => (
<div className={styles.tags}> <div className={`${styles.tags} hideInPrintView`}>
<ul className={styles.list}> <ul className={styles.list}>
{tagSlugs {tagSlugs
? tagSlugs.map((slug, i) => ( ? tagSlugs.map((slug, i) => (

View File

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

View File

@ -5,7 +5,9 @@ exports[`Post renders correctly 1`] = `
<div> <div>
<div> <div>
<span> <span>
<span> <span
className="undefined hideInPrintView"
>
<a <a
href="/" href="/"
> >
@ -15,8 +17,19 @@ exports[`Post renders correctly 1`] = `
</span> </span>
</a> </a>
</span> </span>
<span
className="undefined showInPrintView"
>
<a
href="/"
>
rickvanLieshout.com
</a>
</span> </span>
<span> </span>
<span
className="hideInPrintView"
>
<a <a
href="/" href="/"
style={ style={
@ -28,6 +41,9 @@ exports[`Post renders correctly 1`] = `
> >
↩ All articles ↩ All articles
</a> </a>
<span
className="hideInPrintView"
>
<div <div
className="react-toggle" className="react-toggle"
onClick={[Function]} onClick={[Function]}
@ -117,6 +133,7 @@ exports[`Post renders correctly 1`] = `
/> />
</div> </div>
</span> </span>
</span>
</div> </div>
<div> <div>
<h1> <h1>
@ -142,6 +159,7 @@ exports[`Post renders correctly 1`] = `
<div> <div>
<p> <p>
Written by: Written by:
<a <a
href="/pages/about" href="/pages/about"
> >
@ -149,9 +167,17 @@ exports[`Post renders correctly 1`] = `
Rick van Lieshout Rick van Lieshout
</strong> </strong>
</a> </a>
<span
className="showInPrintView"
>
@ http://localhost/
</span>
</p> </p>
</div> </div>
</div> </div>
<div /> <div
className="undefined hideInPrintView"
/>
</div> </div>
`; `;

View File

@ -11,14 +11,19 @@ export const PostHeader: FunctionComponent<Props> = ({ author }) => {
<div className={styles.header}> <div className={styles.header}>
<span> <span>
<Image alt={author.name} path={author.photo} className={styles.photo} /> <Image alt={author.name} path={author.photo} className={styles.photo} />
<span className={styles.title}> <span className={`${styles.title} hideInPrintView`}>
<Link className={styles.name} to="/"> <Link className={styles.name} to="/">
Rick <span className={styles.surname}>van Lieshout</span> Rick <span className={styles.surname}>van Lieshout</span>
</Link> </Link>
</span> </span>
<span className={`${styles.title} showInPrintView`}>
<Link className={styles.name} to="/">
rickvanLieshout.com
</Link>
</span>
</span> </span>
<span> <span className="hideInPrintView">
<Link to="/" style={{ lineHeight: "50px", marginRight: "10px" }}> <Link to="/" style={{ lineHeight: "50px", marginRight: "10px" }}>
All articles All articles
</Link> </Link>

View File

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

View File

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

View File

@ -1,7 +1,6 @@
import { useSiteMetadata } from "@/hooks"; import { useSiteMetadata } from "@/hooks";
import React from "react"; import React from "react";
import { ThemeSwitcher } from "../ThemeSwitcher/ThemeSwitcher"; import { ThemeSwitcher } from "../ThemeSwitcher/ThemeSwitcher";
import { Author } from "./Author"; import { Author } from "./Author";
import { Contacts } from "./Contacts"; import { Contacts } from "./Contacts";
import { Copyright } from "./Copyright"; import { Copyright } from "./Copyright";
@ -19,11 +18,13 @@ const Sidebar = ({ isIndex }: Props) => {
<div className={styles.sidebar}> <div className={styles.sidebar}>
<div className={styles.inner}> <div className={styles.inner}>
<Author author={author} isIndex={isIndex} /> <Author author={author} isIndex={isIndex} />
<span className="hideInPrintView">
<Menu menu={menu} /> <Menu menu={menu} />
<Contacts contacts={author.contacts} /> <Contacts contacts={author.contacts} />
<Copyright copyright={copyright} /> <Copyright copyright={copyright} />
<Menu menu={legalMenu} /> <Menu menu={legalMenu} />
<ThemeSwitcher showLabel /> <ThemeSwitcher showLabel />
</span>
</div> </div>
</div> </div>
); );

View File

@ -16,7 +16,12 @@ exports[`Sidebar renders correctly 1`] = `
</h1> </h1>
<p /> <p />
</div> </div>
<nav> <span
className="hideInPrintView"
>
<nav
className="undefined hideInPrintView"
>
<ul> <ul>
<li> <li>
<a <a
@ -138,9 +143,14 @@ exports[`Sidebar renders correctly 1`] = `
<div> <div>
All rights reserved. All rights reserved.
</div> </div>
<nav> <nav
className="undefined hideInPrintView"
>
<ul /> <ul />
</nav> </nav>
<span
className="hideInPrintView"
>
Switch color mode: Switch color mode:
<br /> <br />
<div <div
@ -231,6 +241,8 @@ exports[`Sidebar renders correctly 1`] = `
type="checkbox" type="checkbox"
/> />
</div> </div>
</span>
</span>
</div> </div>
</div> </div>
`; `;

View File

@ -23,7 +23,7 @@ export const ThemeSwitcher: FunctionComponent<Props> = ({ showLabel }) => {
} }
return ( return (
<> <span className="hideInPrintView">
{showLabel && "Switch color mode:"} {showLabel && "Switch color mode:"}
{showLabel && <br />} {showLabel && <br />}
<Toggle <Toggle
@ -34,6 +34,6 @@ export const ThemeSwitcher: FunctionComponent<Props> = ({ showLabel }) => {
}} }}
onChange={toggleTheme} onChange={toggleTheme}
/> />
</> </span>
); );
}; };

View File

@ -17,7 +17,12 @@ exports[`CategoriesTemplate renders correctly 1`] = `
</h2> </h2>
<p /> <p />
</div> </div>
<nav> <span
className="hideInPrintView"
>
<nav
className="undefined hideInPrintView"
>
<ul> <ul>
<li> <li>
<a <a
@ -139,9 +144,14 @@ exports[`CategoriesTemplate renders correctly 1`] = `
<div> <div>
All rights reserved. All rights reserved.
</div> </div>
<nav> <nav
className="undefined hideInPrintView"
>
<ul /> <ul />
</nav> </nav>
<span
className="hideInPrintView"
>
Switch color mode: Switch color mode:
<br /> <br />
<div <div
@ -232,6 +242,8 @@ exports[`CategoriesTemplate renders correctly 1`] = `
type="checkbox" type="checkbox"
/> />
</div> </div>
</span>
</span>
</div> </div>
</div> </div>
<div> <div>

View File

@ -17,7 +17,12 @@ exports[`CategoryTemplate renders correctly 1`] = `
</h2> </h2>
<p /> <p />
</div> </div>
<nav> <span
className="hideInPrintView"
>
<nav
className="undefined hideInPrintView"
>
<ul> <ul>
<li> <li>
<a <a
@ -139,9 +144,14 @@ exports[`CategoryTemplate renders correctly 1`] = `
<div> <div>
All rights reserved. All rights reserved.
</div> </div>
<nav> <nav
className="undefined hideInPrintView"
>
<ul /> <ul />
</nav> </nav>
<span
className="hideInPrintView"
>
Switch color mode: Switch color mode:
<br /> <br />
<div <div
@ -232,6 +242,8 @@ exports[`CategoryTemplate renders correctly 1`] = `
type="checkbox" type="checkbox"
/> />
</div> </div>
</span>
</span>
</div> </div>
</div> </div>
<div> <div>
@ -306,10 +318,12 @@ exports[`CategoryTemplate renders correctly 1`] = `
</a> </a>
</div> </div>
</div> </div>
<div> <div
className="undefined"
>
<div> <div>
<a <a
className="" className=" hideInPrintView"
href="/typography/page/1" href="/typography/page/1"
rel="prev" rel="prev"
> >
@ -318,7 +332,7 @@ exports[`CategoryTemplate renders correctly 1`] = `
</div> </div>
<div> <div>
<a <a
className="" className=" hideInPrintView"
href="/typography/page/3" href="/typography/page/3"
rel="next" rel="next"
> >

View File

@ -17,7 +17,12 @@ exports[`IndexTemplate renders correctly 1`] = `
</h1> </h1>
<p /> <p />
</div> </div>
<nav> <span
className="hideInPrintView"
>
<nav
className="undefined hideInPrintView"
>
<ul> <ul>
<li> <li>
<a <a
@ -139,9 +144,14 @@ exports[`IndexTemplate renders correctly 1`] = `
<div> <div>
All rights reserved. All rights reserved.
</div> </div>
<nav> <nav
className="undefined hideInPrintView"
>
<ul /> <ul />
</nav> </nav>
<span
className="hideInPrintView"
>
Switch color mode: Switch color mode:
<br /> <br />
<div <div
@ -232,6 +242,8 @@ exports[`IndexTemplate renders correctly 1`] = `
type="checkbox" type="checkbox"
/> />
</div> </div>
</span>
</span>
</div> </div>
</div> </div>
<div> <div>
@ -303,10 +315,12 @@ exports[`IndexTemplate renders correctly 1`] = `
</a> </a>
</div> </div>
</div> </div>
<div> <div
className="undefined"
>
<div> <div>
<a <a
className="" className=" hideInPrintView"
href="/typography/page/1" href="/typography/page/1"
rel="prev" rel="prev"
> >
@ -315,7 +329,7 @@ exports[`IndexTemplate renders correctly 1`] = `
</div> </div>
<div> <div>
<a <a
className="" className=" hideInPrintView"
href="/typography/page/3" href="/typography/page/3"
rel="next" rel="next"
> >

View File

@ -17,7 +17,12 @@ exports[`NotFoundTemplate renders correctly 1`] = `
</h2> </h2>
<p /> <p />
</div> </div>
<nav> <span
className="hideInPrintView"
>
<nav
className="undefined hideInPrintView"
>
<ul> <ul>
<li> <li>
<a <a
@ -139,9 +144,14 @@ exports[`NotFoundTemplate renders correctly 1`] = `
<div> <div>
All rights reserved. All rights reserved.
</div> </div>
<nav> <nav
className="undefined hideInPrintView"
>
<ul /> <ul />
</nav> </nav>
<span
className="hideInPrintView"
>
Switch color mode: Switch color mode:
<br /> <br />
<div <div
@ -232,6 +242,8 @@ exports[`NotFoundTemplate renders correctly 1`] = `
type="checkbox" type="checkbox"
/> />
</div> </div>
</span>
</span>
</div> </div>
</div> </div>
<div> <div>

View File

@ -17,7 +17,12 @@ exports[`PageTemplate renders correctly 1`] = `
</h2> </h2>
<p /> <p />
</div> </div>
<nav> <span
className="hideInPrintView"
>
<nav
className="undefined hideInPrintView"
>
<ul> <ul>
<li> <li>
<a <a
@ -139,9 +144,14 @@ exports[`PageTemplate renders correctly 1`] = `
<div> <div>
All rights reserved. All rights reserved.
</div> </div>
<nav> <nav
className="undefined hideInPrintView"
>
<ul /> <ul />
</nav> </nav>
<span
className="hideInPrintView"
>
Switch color mode: Switch color mode:
<br /> <br />
<div <div
@ -232,6 +242,8 @@ exports[`PageTemplate renders correctly 1`] = `
type="checkbox" type="checkbox"
/> />
</div> </div>
</span>
</span>
</div> </div>
</div> </div>
<div> <div>

View File

@ -6,7 +6,9 @@ exports[`PostTemplate renders correctly 1`] = `
<div> <div>
<div> <div>
<span> <span>
<span> <span
className="undefined hideInPrintView"
>
<a <a
href="/" href="/"
> >
@ -16,8 +18,19 @@ exports[`PostTemplate renders correctly 1`] = `
</span> </span>
</a> </a>
</span> </span>
<span
className="undefined showInPrintView"
>
<a
href="/"
>
rickvanLieshout.com
</a>
</span> </span>
<span> </span>
<span
className="hideInPrintView"
>
<a <a
href="/" href="/"
style={ style={
@ -29,6 +42,9 @@ exports[`PostTemplate renders correctly 1`] = `
> >
↩ All articles ↩ All articles
</a> </a>
<span
className="hideInPrintView"
>
<div <div
className="react-toggle" className="react-toggle"
onClick={[Function]} onClick={[Function]}
@ -118,6 +134,7 @@ exports[`PostTemplate renders correctly 1`] = `
/> />
</div> </div>
</span> </span>
</span>
</div> </div>
<div> <div>
<h1> <h1>
@ -143,6 +160,7 @@ exports[`PostTemplate renders correctly 1`] = `
<div> <div>
<p> <p>
Written by: Written by:
<a <a
href="/pages/about" href="/pages/about"
> >
@ -150,10 +168,18 @@ exports[`PostTemplate renders correctly 1`] = `
Rick van Lieshout Rick van Lieshout
</strong> </strong>
</a> </a>
<span
className="showInPrintView"
>
@ http://localhost/
</span>
</p> </p>
</div> </div>
</div> </div>
<div /> <div
className="undefined hideInPrintView"
/>
</div> </div>
<div <div
className="CookieConsent" className="CookieConsent"

View File

@ -17,7 +17,12 @@ exports[`TagTemplate renders correctly 1`] = `
</h2> </h2>
<p /> <p />
</div> </div>
<nav> <span
className="hideInPrintView"
>
<nav
className="undefined hideInPrintView"
>
<ul> <ul>
<li> <li>
<a <a
@ -139,9 +144,14 @@ exports[`TagTemplate renders correctly 1`] = `
<div> <div>
All rights reserved. All rights reserved.
</div> </div>
<nav> <nav
className="undefined hideInPrintView"
>
<ul /> <ul />
</nav> </nav>
<span
className="hideInPrintView"
>
Switch color mode: Switch color mode:
<br /> <br />
<div <div
@ -232,6 +242,8 @@ exports[`TagTemplate renders correctly 1`] = `
type="checkbox" type="checkbox"
/> />
</div> </div>
</span>
</span>
</div> </div>
</div> </div>
<div> <div>
@ -306,10 +318,12 @@ exports[`TagTemplate renders correctly 1`] = `
</a> </a>
</div> </div>
</div> </div>
<div> <div
className="undefined"
>
<div> <div>
<a <a
className="" className=" hideInPrintView"
href="/typography/page/1" href="/typography/page/1"
rel="prev" rel="prev"
> >
@ -318,7 +332,7 @@ exports[`TagTemplate renders correctly 1`] = `
</div> </div>
<div> <div>
<a <a
className="" className=" hideInPrintView"
href="/typography/page/3" href="/typography/page/3"
rel="next" rel="next"
> >

View File

@ -17,7 +17,12 @@ exports[`TagsTemplate renders correctly 1`] = `
</h2> </h2>
<p /> <p />
</div> </div>
<nav> <span
className="hideInPrintView"
>
<nav
className="undefined hideInPrintView"
>
<ul> <ul>
<li> <li>
<a <a
@ -139,9 +144,14 @@ exports[`TagsTemplate renders correctly 1`] = `
<div> <div>
All rights reserved. All rights reserved.
</div> </div>
<nav> <nav
className="undefined hideInPrintView"
>
<ul /> <ul />
</nav> </nav>
<span
className="hideInPrintView"
>
Switch color mode: Switch color mode:
<br /> <br />
<div <div
@ -232,6 +242,8 @@ exports[`TagsTemplate renders correctly 1`] = `
type="checkbox" type="checkbox"
/> />
</div> </div>
</span>
</span>
</div> </div>
</div> </div>
<div> <div>