From 1434aecd2c178cd1d7e3014f4b4d7a2296f6b138 Mon Sep 17 00:00:00 2001 From: Bart Date: Sat, 1 Apr 2023 16:54:07 +0200 Subject: [PATCH] feat: add document title per blueprint --- apps/blueprints/src/components/blueprint/Blueprint.tsx | 6 ++++++ apps/blueprints/src/components/blueprint/BlueprintBook.tsx | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/apps/blueprints/src/components/blueprint/Blueprint.tsx b/apps/blueprints/src/components/blueprint/Blueprint.tsx index 9e3859c..242a020 100644 --- a/apps/blueprints/src/components/blueprint/Blueprint.tsx +++ b/apps/blueprints/src/components/blueprint/Blueprint.tsx @@ -1,5 +1,6 @@ import React, { useEffect, useState } from "react"; import Link from "next/link"; +import Head from "next/head"; import { Grid, Box } from "@chakra-ui/react"; import styled from "@emotion/styled"; import { css } from "@emotion/react"; @@ -91,6 +92,11 @@ export const BlueprintSubPage: React.FC = ({ + + + {(blueprint_page.title ? `${blueprint_page.title} - ` : "") + "Factorio blueprints"} + + = ({ className="bp-book" templateColumns={chakraResponsive({ mobile: "1fr", desktop: "1fr 1fr 1fr 1fr" })} > + + + {(blueprint_page.title ? `${blueprint_page.title} - ` : "") + "Factorio blueprints"} + +