From 2876d31b65ae83bb12fc5f37d4c9821d23dd76f9 Mon Sep 17 00:00:00 2001 From: Igor Date: Wed, 7 Apr 2021 16:50:59 +0300 Subject: [PATCH 01/10] Titles for pages (#375) * Start with pages titles * user and team title * titles + prettier * remove unused import --- app/calendar/components/CalendarPage.tsx | 4 +++- app/xrank/components/XSearchPage.tsx | 2 ++ app/xrank/components/XTrendsPage.tsx | 2 ++ pages/analyzer.tsx | 2 ++ pages/builds/[[...slug]].tsx | 4 +++- pages/freeagents.tsx | 2 ++ pages/itz.tsx | 2 ++ pages/maps.tsx | 4 +++- pages/plans.tsx | 4 +++- pages/player/[id].tsx | 4 +++- pages/sr/guide/[level].tsx | 2 ++ pages/sr/leaderboards/index.tsx | 4 +++- pages/sr/leaderboards/new.tsx | 2 ++ pages/t/[team].tsx | 2 ++ pages/t/index.tsx | 2 ++ pages/u/[identifier].tsx | 2 ++ pages/u/index.tsx | 3 +++ 17 files changed, 41 insertions(+), 6 deletions(-) diff --git a/app/calendar/components/CalendarPage.tsx b/app/calendar/components/CalendarPage.tsx index 45f928ae6..cc9100d5a 100644 --- a/app/calendar/components/CalendarPage.tsx +++ b/app/calendar/components/CalendarPage.tsx @@ -1,7 +1,7 @@ import { Button } from "@chakra-ui/button"; import { Input, InputGroup, InputLeftElement } from "@chakra-ui/input"; import { Box } from "@chakra-ui/layout"; -import { Trans } from "@lingui/macro"; +import { t, Trans } from "@lingui/macro"; import SubText from "components/common/SubText"; import { useMyTheme } from "hooks/common"; import { Fragment, useState } from "react"; @@ -9,6 +9,7 @@ import { FiSearch } from "react-icons/fi"; import { trpc } from "utils/trpc"; import EventInfo from "./EventInfo"; import { EventModal, FormData } from "./EventModal"; +import MyHead from "../../../components/common/MyHead"; export default function CalendarPage() { const { gray } = useMyTheme(); @@ -22,6 +23,7 @@ export default function CalendarPage() { return ( <> +