Skip to content

Commit

Permalink
Update page
Browse files Browse the repository at this point in the history
  • Loading branch information
xbgmsharp committed Feb 25, 2024
1 parent c240f60 commit 1d8401e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/App/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ export const Footer = memo(() => {
"label": t("link3label"),
"href": "https://github.com/xbgmsharp/postgsail/tree/main/docs",
},
{
"label": "Support",
"href": "https://discord.gg/cpGqA5sZ",
},
]}
/>
})
Expand Down
4 changes: 3 additions & 1 deletion src/App/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { routes } from "router";
import { declareComponentKeys, useTranslation, useLang } from "i18n";
import { createLanguageSelect } from "onyxia-ui/LanguageSelect";
import type { Language } from "i18n";
import PostgsailLogo from "assets/PostgsailLogo.svg"

const { LanguageSelect } = createLanguageSelect<Language>({
"languagesPrettyPrint": {
Expand All @@ -17,7 +18,7 @@ export const Header = memo(() => {
const { t } = useTranslation({ Header })
const { lang, setLang } = useLang();
return <GlHeader
title={<a {...routes.home().link}><h1><img src="./PostgsailLogo.svg" alt="Postgsail Logo" height={48}/></h1></a>}
title={<a {...routes.home().link}><h1><img src={PostgsailLogo} alt="Postgsail Logo" height={48}/></h1></a>}
links={[
{
"label": t("link2label"),
Expand All @@ -31,6 +32,7 @@ export const Header = memo(() => {
enableDarkModeSwitch={true}
githubRepoUrl="https://github.com/xbgmsharp/postgsail/"
githubButtonSize="large"
showGithubStarCount={true}
customItemEnd={{
"item": <LanguageSelect
language={lang}
Expand Down
2 changes: 1 addition & 1 deletion public/PostgsailLogo.svg → src/assets/PostgsailLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Binary file modified 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.
4 changes: 2 additions & 2 deletions src/i18n.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export const {
"card1Title": "Open Source",
"card2Title": "Join the community",
"card3Title": "Customize",
"card1Paragraph": `Source code is available on Github.`,
"card2Paragraph": `Get support and exchange on Discord.`,
"card1Paragraph": `All code is available as open-source on Github. Collaborative cloud development environments (CDEs).`,
"card2Paragraph": `Get support and exchange on Discord. Missing a feature? just ask!`,
"card3Paragraph": `Create and manage your own dashboards.`,
"articleTitle": "Timelapse",
"articleBody": `- See your real-time or historical track(s) via animated timelapse
Expand Down
4 changes: 3 additions & 1 deletion src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ import monitoringPng from "assets/img/monitoring.png";
import logsPng from "assets/img/logs.png";
//import mapPng from "assets/img/map.png";
import statsPng from "assets/img/stats.png";
import demoMp4 from "assets/demo.mp4"
import PostgsailLogo from "assets/PostgsailLogo.svg"

export const Home = memo(() => {
const { t } = useTranslation({ Home });
Expand All @@ -51,7 +53,7 @@ export const Home = memo(() => {
"type": "video",
"sources": [
{
"src": "demo.mp4",
"src": demoMp4,
"type": "video/mp4"
}
]
Expand Down

0 comments on commit 1d8401e

Please sign in to comment.