diff --git a/next-sitemap.config.js b/next-sitemap.config.js index ac4672d..3f572fb 100644 --- a/next-sitemap.config.js +++ b/next-sitemap.config.js @@ -24,5 +24,14 @@ module.exports = { hreflang: "ja", }, ], - exclude: ["/en/*", "/fr/*", "/ja/*", "/es/*", "/pt-br/*", "/404", "/500", "/dev/*"], + exclude: [ + "/en/*", + "/fr/*", + "/ja/*", + "/es/*", + "/pt-br/*", + "/404", + "/500", + "/dev/*", + ], }; diff --git a/public/html_code.html b/public/html_code.html deleted file mode 100644 index cfcf03b..0000000 --- a/public/html_code.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/components/Chronicles/ChroniclePreview.tsx b/src/components/Chronicles/ChroniclePreview.tsx index bc65264..a6bfdcd 100644 --- a/src/components/Chronicles/ChroniclePreview.tsx +++ b/src/components/Chronicles/ChroniclePreview.tsx @@ -1,4 +1,4 @@ -import Link from "next/link"; +import { Link } from "components/Inputs/Link"; import { DatePickerFragment } from "graphql/generated"; import { cIf, cJoin } from "helpers/className"; @@ -20,27 +20,23 @@ export const ChroniclePreview = ({ title, isActive, }: Props): JSX.Element => ( - -
{date.year}
-- {prettyMonthDay(date.month, date.day)} -
-{title}
+ +{date.year}
++ {prettyMonthDay(date.month, date.day)} +
{title}
); diff --git a/src/components/Inputs/Button.tsx b/src/components/Inputs/Button.tsx index 28586c9..bb1db7c 100644 --- a/src/components/Inputs/Button.tsx +++ b/src/components/Inputs/Button.tsx @@ -1,5 +1,5 @@ -import { useRouter } from "next/router"; import React, { MouseEventHandler } from "react"; +import { Link } from "./Link"; import { Ico, Icon } from "components/Ico"; import { cIf, cJoin } from "helpers/className"; import { ConditionalWrapper, Wrapper } from "helpers/component"; @@ -17,8 +17,7 @@ interface Props { active?: boolean; icon?: Icon; text?: string | null | undefined; - locale?: string; - target?: "_blank"; + alwaysNewTab?: boolean; onClick?: MouseEventHandler{badgeNumber}
-{text}
- )} -{badgeNumber}
+{text}
+ )}{pre_title}
- )} - {title && ( -- {title} -
- )} - {subtitle &&{subtitle}
} -{description}
} - {bottomChips && bottomChips.length > 0 && ( + {stackNumber > 0 && ({pre_title}
+ )} + {title && ( ++ {title} +
+ )} + {subtitle &&{subtitle}
} +{description}
} + {bottomChips && bottomChips.length > 0 && ( +{pre_title}
} - {title && ( -- {title} -
- )} - {subtitle &&{subtitle}
} -{pre_title}
} + {title && ( +{title}
+ )} + {subtitle &&{subtitle}
} +{selectedTranslation?.definition}
{source?.url && source.name && ( - -{langui.source}:
- -{langui.source}:
+ +{line.subitems.join(" -> ")}
{line.name}
diff --git a/src/pages/dev/checkup/libraryitems.tsx b/src/pages/dev/checkup/libraryitems.tsx index fb588e4..a2fa298 100644 --- a/src/pages/dev/checkup/libraryitems.tsx +++ b/src/pages/dev/checkup/libraryitems.tsx @@ -58,15 +58,15 @@ const CheckupLibraryItems = ({ >{line.subitems.join(" -> ")}
{line.name}
diff --git a/src/pages/library/[slug]/index.tsx b/src/pages/library/[slug]/index.tsx index bbf3da8..58e6fd7 100644 --- a/src/pages/library/[slug]/index.tsx +++ b/src/pages/library/[slug]/index.tsx @@ -230,8 +230,8 @@ const LibrarySlug = ({