mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 03:07:47 +00:00
Update relative path. Update i18n
This commit is contained in:
@@ -49,5 +49,5 @@
|
||||
"@types/react-dom": "^18.0.0",
|
||||
"typescript": "^4.7.4"
|
||||
},
|
||||
"homepage": "."
|
||||
"homepage": "https://xbgmsharp.github.io/postgsail"
|
||||
}
|
||||
|
@@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<base href="%PUBLIC_URL%">
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
@@ -3,7 +3,7 @@ import { Header } from "./Header";
|
||||
import { Footer } from "./Footer";
|
||||
import { useRoute } from "../router";
|
||||
import { Home } from "../pages/Home";
|
||||
import { PageExample } from "../pages/PageExample";
|
||||
//import { PageExample } from "../pages/PageExample";
|
||||
import { FourOhFour } from "../pages/FourOFour";
|
||||
import { ThemeProvider } from "../theme";
|
||||
|
||||
@@ -22,9 +22,9 @@ export function App() {
|
||||
(()=>{
|
||||
switch(route.name){
|
||||
case "home": return <Home />;
|
||||
case "pageExample": return <PageExample />;
|
||||
case "postgsail": return <Home />;
|
||||
default : return <FourOhFour />;
|
||||
//case "pageExample": return <PageExample />;
|
||||
//default : return <FourOhFour />;
|
||||
default : return <Home />;
|
||||
}
|
||||
})()
|
||||
}
|
||||
|
26
src/i18n.tsx
26
src/i18n.tsx
@@ -173,15 +173,15 @@ export const {
|
||||
},
|
||||
"Header": {
|
||||
"headerTitle": "PostgSail",
|
||||
"link1label": "Exemple de page",
|
||||
"link2label": "Lien 2",
|
||||
"link3label": "Lien 3"
|
||||
"link1label": "Example page",
|
||||
"link2label": "GitHub",
|
||||
"link3label": "Documentation"
|
||||
},
|
||||
"Footer": {
|
||||
"license": "License Apache",
|
||||
"link1label": "Exemple de page",
|
||||
"link2label": "Lien 2",
|
||||
"link3label": "Lien 3"
|
||||
"link1label": "Example page",
|
||||
"link2label": "GitHub",
|
||||
"link3label": "Documentation"
|
||||
},
|
||||
"Home": {
|
||||
"heroTitle": "Cloud, hosted and fully–managed, designed for all your needs.",
|
||||
@@ -306,19 +306,19 @@ export const {
|
||||
/* spell-checker: disable */
|
||||
"es": {
|
||||
"FourOhFour": {
|
||||
"not found": "Page non trouvée"
|
||||
"not found": "Página no encontrada"
|
||||
},
|
||||
"Header": {
|
||||
"headerTitle": "PostgSail",
|
||||
"link1label": "Exemple de page",
|
||||
"link2label": "Lien 2",
|
||||
"link3label": "Lien 3"
|
||||
"link1label": "Example page",
|
||||
"link2label": "GitHub",
|
||||
"link3label": "Documentation"
|
||||
},
|
||||
"Footer": {
|
||||
"license": "License Apache",
|
||||
"link1label": "Exemple de page",
|
||||
"link2label": "Lien 2",
|
||||
"link3label": "Lien 3"
|
||||
"link1label": "Example page",
|
||||
"link2label": "GitHub",
|
||||
"link3label": "Documentation"
|
||||
},
|
||||
"Home": {
|
||||
"heroTitle": "Cloud, hosted and fully–managed, designed for all your needs.",
|
||||
|
@@ -5,8 +5,7 @@ import {makeThisModuleAnExecutableRouteLister} from "github-pages-plugin-for-typ
|
||||
|
||||
export const routeDefs = {
|
||||
"home": defineRoute("/"),
|
||||
"pageExample": defineRoute("/page-example"),
|
||||
"postgsail": defineRoute("/"),
|
||||
//"pageExample": defineRoute("/page-example"),
|
||||
};
|
||||
|
||||
makeThisModuleAnExecutableRouteLister(routeDefs);
|
||||
|
Reference in New Issue
Block a user