🔒 (security) security improvement
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import OauthCallbackHandler from "@/features/oauth-callback/pages/callbackHandler";
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <OauthCallbackHandler />;
|
||||
};
|
||||
|
||||
export default page;
|
||||
import OauthCallbackHandler from "@/features/oauth-callback/pages/callbackHandler";
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <OauthCallbackHandler />;
|
||||
};
|
||||
|
||||
export default page;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Login | Nounoz TV",
|
||||
};
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Login | Nounoz TV",
|
||||
};
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
import LoginPage from "@/features/auth/pages/LoginPage";
|
||||
import { metadata } from "./metadata";
|
||||
export { metadata };
|
||||
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <LoginPage />;
|
||||
};
|
||||
|
||||
export default page;
|
||||
import LoginPage from "@/features/auth/pages/LoginPage";
|
||||
import { metadata } from "./metadata";
|
||||
export { metadata };
|
||||
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <LoginPage />;
|
||||
};
|
||||
|
||||
export default page;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Sign Up | Nounoz TV",
|
||||
};
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Sign Up | Nounoz TV",
|
||||
};
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
import SignupPage from "@/features/auth/pages/SignupPage";
|
||||
import { metadata } from "./metadata";
|
||||
export { metadata };
|
||||
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <SignupPage />;
|
||||
};
|
||||
|
||||
export default page;
|
||||
import SignupPage from "@/features/auth/pages/SignupPage";
|
||||
import { metadata } from "./metadata";
|
||||
export { metadata };
|
||||
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <SignupPage />;
|
||||
};
|
||||
|
||||
export default page;
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
"use client";
|
||||
|
||||
import { Button } from "@heroui/react";
|
||||
import React from "react";
|
||||
|
||||
const button = () => {
|
||||
return <Button color="primary">Button</Button>;
|
||||
};
|
||||
|
||||
export default button;
|
||||
"use client";
|
||||
|
||||
import { Button } from "@heroui/react";
|
||||
import React from "react";
|
||||
|
||||
const button = () => {
|
||||
return <Button color="primary">Button</Button>;
|
||||
};
|
||||
|
||||
export default button;
|
||||
|
||||
@ -1,39 +1,39 @@
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Nounoz TV - Anime Streaming Station Center",
|
||||
description:
|
||||
"Nounoz TV adalah tempat santai buat nonton anime kualitas tinggi tanpa ribet. Didukung komunitas yang aktif dan ramah, kamu nggak cuma nonton—tapi juga bisa ngobrol, sharing, dan seru-seruan bareng.",
|
||||
keywords: [
|
||||
"nonton anime",
|
||||
"streaming anime",
|
||||
"anime sub indo",
|
||||
"anime HD",
|
||||
"komunitas anime",
|
||||
"Nounoz TV",
|
||||
],
|
||||
openGraph: {
|
||||
title: "Nounoz TV - Streaming Anime HD + Komunitas Asik",
|
||||
description:
|
||||
"Nonton anime jadi lebih seru bareng teman-teman. Kualitas jernih, tanpa iklan ganggu, dan selalu update!",
|
||||
url: "https://nounoz.tv",
|
||||
siteName: "Nounoz TV",
|
||||
images: [
|
||||
{
|
||||
url: "https://nounoz.tv/og-image.jpg",
|
||||
width: 1200,
|
||||
height: 630,
|
||||
alt: "Nounoz TV - Nonton Anime HD Bareng Komunitas",
|
||||
},
|
||||
],
|
||||
locale: "id_ID",
|
||||
type: "website",
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Nounoz TV - Nonton Anime HD Bareng Komunitas",
|
||||
description:
|
||||
"Streaming anime kualitas tinggi sambil ngobrol santai bareng komunitas yang aktif dan suportif.",
|
||||
images: ["https://nounoz.tv/og-image.jpg"],
|
||||
},
|
||||
};
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Nounoz TV - Anime Streaming Station Center",
|
||||
description:
|
||||
"Nounoz TV adalah tempat santai buat nonton anime kualitas tinggi tanpa ribet. Didukung komunitas yang aktif dan ramah, kamu nggak cuma nonton—tapi juga bisa ngobrol, sharing, dan seru-seruan bareng.",
|
||||
keywords: [
|
||||
"nonton anime",
|
||||
"streaming anime",
|
||||
"anime sub indo",
|
||||
"anime HD",
|
||||
"komunitas anime",
|
||||
"Nounoz TV",
|
||||
],
|
||||
openGraph: {
|
||||
title: "Nounoz TV - Streaming Anime HD + Komunitas Asik",
|
||||
description:
|
||||
"Nonton anime jadi lebih seru bareng teman-teman. Kualitas jernih, tanpa iklan ganggu, dan selalu update!",
|
||||
url: "https://nounoz.tv",
|
||||
siteName: "Nounoz TV",
|
||||
images: [
|
||||
{
|
||||
url: "https://nounoz.tv/og-image.jpg",
|
||||
width: 1200,
|
||||
height: 630,
|
||||
alt: "Nounoz TV - Nonton Anime HD Bareng Komunitas",
|
||||
},
|
||||
],
|
||||
locale: "id_ID",
|
||||
type: "website",
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Nounoz TV - Nonton Anime HD Bareng Komunitas",
|
||||
description:
|
||||
"Streaming anime kualitas tinggi sambil ngobrol santai bareng komunitas yang aktif dan suportif.",
|
||||
images: ["https://nounoz.tv/og-image.jpg"],
|
||||
},
|
||||
};
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <div>Explore Page</div>;
|
||||
};
|
||||
|
||||
export default page;
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <div>Explore Page</div>;
|
||||
};
|
||||
|
||||
export default page;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <div>Genre Page</div>;
|
||||
};
|
||||
|
||||
export default page;
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <div>Genre Page</div>;
|
||||
};
|
||||
|
||||
export default page;
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
import NavbarUI from "@/widgets/navbar/ui/Navbar";
|
||||
import React from "react";
|
||||
|
||||
const mainLayout = ({ children }: Readonly<{ children: React.ReactNode }>) => {
|
||||
return (
|
||||
<div>
|
||||
<NavbarUI />
|
||||
<main>{children}</main>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default mainLayout;
|
||||
import NavbarUI from "@/widgets/navbar/ui/Navbar";
|
||||
import React from "react";
|
||||
|
||||
const mainLayout = ({ children }: Readonly<{ children: React.ReactNode }>) => {
|
||||
return (
|
||||
<div>
|
||||
<NavbarUI />
|
||||
<main>{children}</main>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default mainLayout;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <div>Schedule Page</div>;
|
||||
};
|
||||
|
||||
export default page;
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <div>Schedule Page</div>;
|
||||
};
|
||||
|
||||
export default page;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <div>Trending Page</div>;
|
||||
};
|
||||
|
||||
export default page;
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return <div>Trending Page</div>;
|
||||
};
|
||||
|
||||
export default page;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
@import "tailwindcss";
|
||||
@plugin './hero.ts';
|
||||
/* Note: You may need to change the path to fit your project structure */
|
||||
@source '../node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}';
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
@import "tailwindcss";
|
||||
@plugin './hero.ts';
|
||||
/* Note: You may need to change the path to fit your project structure */
|
||||
@source '../node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}';
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
10
app/hero.ts
10
app/hero.ts
@ -1,5 +1,5 @@
|
||||
// hero.ts
|
||||
import { heroui } from "@heroui/react";
|
||||
// or import from theme package if you are using individual packages.
|
||||
// import { heroui } from "@heroui/theme";
|
||||
export default heroui();
|
||||
// hero.ts
|
||||
import { heroui } from "@heroui/react";
|
||||
// or import from theme package if you are using individual packages.
|
||||
// import { heroui } from "@heroui/theme";
|
||||
export default heroui();
|
||||
|
||||
Reference in New Issue
Block a user