1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

Add pageTitles to recently created pages"

This commit is contained in:
Cooper Ransom 2024-03-23 14:27:44 -04:00
parent aabdd0abac
commit 7efcf366f2
3 changed files with 6 additions and 0 deletions

View file

@ -109,6 +109,8 @@
"pages": { "pages": {
"about": "About", "about": "About",
"dmca": "DMCA", "dmca": "DMCA",
"topSources": "Top Sources",
"topFlix": "Top Flix",
"support": "Support", "support": "Support",
"login": "Login", "login": "Login",
"onboarding": "Setup", "onboarding": "Setup",

View file

@ -7,6 +7,7 @@ import { Divider } from "@/components/utils/Divider";
import { Heading1, Paragraph } from "@/components/utils/Text"; import { Heading1, Paragraph } from "@/components/utils/Text";
import { SubPageLayout } from "./layouts/SubPageLayout"; import { SubPageLayout } from "./layouts/SubPageLayout";
import { PageTitle } from "./parts/util/PageTitle";
export function Button(props: { export function Button(props: {
className: string; className: string;
@ -240,6 +241,7 @@ export function TopFlix() {
return ( return (
<SubPageLayout> <SubPageLayout>
<ThiccContainer> <ThiccContainer>
<PageTitle subpage k="global.pages.topFlix" />
<div className="mt-8 w-full px-8 cursor-default"> <div className="mt-8 w-full px-8 cursor-default">
<Heading1>Top flix</Heading1> <Heading1>Top flix</Heading1>
<Paragraph className="mb-6"> <Paragraph className="mb-6">

View file

@ -6,6 +6,7 @@ import { Divider } from "@/components/utils/Divider";
import { Heading1, Paragraph } from "@/components/utils/Text"; import { Heading1, Paragraph } from "@/components/utils/Text";
import { SubPageLayout } from "./layouts/SubPageLayout"; import { SubPageLayout } from "./layouts/SubPageLayout";
import { PageTitle } from "./parts/util/PageTitle";
import { Button } from "./TopFlix"; import { Button } from "./TopFlix";
function ConfigValue(props: { name: string; children?: ReactNode }) { function ConfigValue(props: { name: string; children?: ReactNode }) {
@ -99,6 +100,7 @@ export function TopSources() {
return ( return (
<SubPageLayout> <SubPageLayout>
<ThiccContainer> <ThiccContainer>
<PageTitle subpage k="global.pages.topSources" />
<div className="mt-8 w-full px-8 cursor-default"> <div className="mt-8 w-full px-8 cursor-default">
<Heading1>Top sources</Heading1> <Heading1>Top sources</Heading1>
<Paragraph className="mb-6"> <Paragraph className="mb-6">