Skip to content

Commit

Permalink
Add postgsail content
Browse files Browse the repository at this point in the history
  • Loading branch information
xbgmsharp committed Feb 24, 2024
1 parent d8e50bc commit 462b0ae
Show file tree
Hide file tree
Showing 17 changed files with 663 additions and 191 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@
"@types/react-dom": "^18.0.0",
"typescript": "^4.7.4"
},
"homepage": "https://xbgmsharp.github.io/postgsail/"
"homepage": "https://xbgmsharp.github.io/"
}
20 changes: 20 additions & 0 deletions public/PostgsailLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/demo.mp4
Binary file not shown.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap" rel="stylesheet">

<title>Gitlanding App</title>
<title>PostgSail</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
12 changes: 4 additions & 8 deletions src/App/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,16 @@ export const Footer = memo(() => {
const { t } = useTranslation({ Footer })
return <GlFooter
bottomDivContent={t("license")}
email="[email protected]"
phoneNumber="+33545345676"
email="[email protected]"
phoneNumber="+33652584319"
links={[
{
"label": t("link1label"),
...routes.pageExample().link
},
{
"label": t("link2label"),
"href": "https://example.com",
"href": "https://github.com/xbgmsharp/postgsail/",
},
{
"label": t("link3label"),
"href": "https://example.com",
"href": "https://github.com/xbgmsharp/postgsail/tree/main/docs",
},
]}
/>
Expand Down
15 changes: 6 additions & 9 deletions src/App/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,28 @@ import type { Language } from "i18n";
const { LanguageSelect } = createLanguageSelect<Language>({
"languagesPrettyPrint": {
"en": "English",
"fr": "Francais"
"fr": "Francais",
"es": "Spanish"
}
})

export const Header = memo(() => {
const { t } = useTranslation({ Header })
const { lang, setLang } = useLang();
return <GlHeader
title={<a {...routes.home().link}><h1>{t("headerTitle")}</h1></a>}
title={<a {...routes.home().link}><h1><img src="./PostgsailLogo.svg" alt="SVG as an image" height={48}/></h1></a>}
links={[
{
"label": t("link1label"),
...routes.pageExample().link
},
{
"label": t("link2label"),
"href": "https://example.com",
"href": "https://github.com/xbgmsharp/postgsail/",
},
{
"label": t("link3label"),
"href": "https://example.com",
"href": "https://github.com/xbgmsharp/postgsail/tree/main/docs",
},
]}
enableDarkModeSwitch={true}
githubRepoUrl="https://github.com/torvalds/linux"
githubRepoUrl="https://github.com/xbgmsharp/postgsail/"
githubButtonSize="large"
customItemEnd={{
"item": <LanguageSelect
Expand Down
Binary file added src/assets/icons/Grafana_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/discord-mark-blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/logs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/monitoring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/stats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/timelapse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 462b0ae

Please sign in to comment.