updated app page and site urls
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import React from "react";
|
||||
import { PageProps } from "./interFaces";
|
||||
|
||||
function App000001({ lang, queryParams }: PageProps) {
|
||||
return (
|
||||
<>
|
||||
<div className="flex flex-col w-3/4">
|
||||
{/* Sticky Header */}
|
||||
<header className="sticky top-0 bg-white shadow-md z-10 p-4 flex justify-between items-center">
|
||||
<h1 className="text-2xl font-semibold">Dashboard</h1>
|
||||
<div className="flex items-center space-x-4">
|
||||
{JSON.stringify({
|
||||
lang,
|
||||
queryParams,
|
||||
})}
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Search..."
|
||||
className="border px-3 py-2 rounded-lg"
|
||||
/>
|
||||
<div className="w-10 h-10 bg-gray-300 rounded-full"></div>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default App000001;
|
||||
@@ -1,8 +1,11 @@
|
||||
import { PageProps } from "./interFaces";
|
||||
import React from "react";
|
||||
import App000001 from "./app000001";
|
||||
import Page0001 from "./page0001";
|
||||
import { PageProps } from "./interFaces";
|
||||
|
||||
const PageIndexs = {
|
||||
export const PageIndexs = {
|
||||
"6015129b-f665-479c-a440-04fb82ea6114": Page0001,
|
||||
app000001: App000001,
|
||||
};
|
||||
|
||||
function UnAuthorizedPage({ lang }: PageProps) {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
import { LanguageTranslation } from "@/components/menu/runner";
|
||||
|
||||
export interface PageProps {
|
||||
lang: string;
|
||||
lang: keyof LanguageTranslation;
|
||||
queryParams: { [key: string]: string | undefined };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user