PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
FEATURE (github): Add GitHub star component and community link
Rostislav Dugina3c74df48a83
diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 396ceec9..8fb425bc 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -13,6 +13,7 @@"dayjs": "^1.11.13","react": "^19.1.0","react-dom": "^19.1.0",+ "react-github-btn": "^1.4.0","react-router": "^7.6.0","tailwindcss": "^4.1.7"},@@ -3633,6 +3634,12 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/github-buttons": {+ "version": "2.29.1",+ "resolved": "https://registry.npmjs.org/github-buttons/-/github-buttons-2.29.1.tgz",+ "integrity": "sha512-TV3YgAKda5hPz75n7QXmGCsSzgVya1vvmBieebg3EB5ScmashTZ0FldViG1aU2d4V5rcAGrtQ7k5uAaCo0A4PA==",+ "license": "BSD-2-Clause"+ },"node_modules/glob-parent": {"version": "6.0.2","resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",@@ -5856,6 +5863,18 @@"react": "^19.1.0"}},+ "node_modules/react-github-btn": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/react-github-btn/-/react-github-btn-1.4.0.tgz",+ "integrity": "sha512-lV4FYClAfjWnBfv0iNlJUGhamDgIq6TayD0kPZED6VzHWdpcHmPfsYOZ/CFwLfPv4Zp+F4m8QKTj0oy2HjiGXg==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "github-buttons": "^2.22.0"+ },+ "peerDependencies": {+ "react": ">=16.3.0"+ }+ },"node_modules/react-is": {"version": "16.13.1","resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",diff --git a/frontend/package.json b/frontend/package.jsonindex 0456b2a6..88d0d432 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -16,6 +16,7 @@"dayjs": "^1.11.13","react": "^19.1.0","react-dom": "^19.1.0",+ "react-github-btn": "^1.4.0","react-router": "^7.6.0","tailwindcss": "^4.1.7"},diff --git a/frontend/src/features/users/ui/AuthNavbarComponent.tsx b/frontend/src/features/users/ui/AuthNavbarComponent.tsxindex b8dc6640..a75a2d8d 100644--- a/frontend/src/features/users/ui/AuthNavbarComponent.tsx+++ b/frontend/src/features/users/ui/AuthNavbarComponent.tsx@@ -1,3 +1,5 @@+import GitHubButton from 'react-github-btn';+export function AuthNavbarComponent() {return (<div className="m-3 flex h-[65px] items-center p-3">@@ -13,7 +15,7 @@ export function AuthNavbarComponent() {</div></div>- <div className="mr-3 ml-auto flex gap-5">+ <div className="mr-3 ml-auto flex items-center gap-5"><aclassName="hover:opacity-80"href="https://postgresus.com/community"@@ -23,14 +25,17 @@ export function AuthNavbarComponent() {Community</a>- <a- className="hover:opacity-80"- href="https://github.com/postgresus/postgresus"- target="_blank"- rel="noreferrer"- >- GitHub- </a>+ <div className='mt-1'>+ <GitHubButton+ href="https://github.com/RostislavDugin/postgresus"+ data-icon="octicon-star"+ data-size="large"+ data-show-count="true"+ aria-label="Star RostislavDugin/postgresus on GitHub"+ >+ Star on GitHub+ </GitHubButton>+ </div></div></div>);diff --git a/frontend/src/widgets/main/MainScreenComponent.tsx b/frontend/src/widgets/main/MainScreenComponent.tsxindex 10cc3e96..7400c03e 100644--- a/frontend/src/widgets/main/MainScreenComponent.tsx+++ b/frontend/src/widgets/main/MainScreenComponent.tsx@@ -4,6 +4,7 @@ import { DatabasesComponent } from '../../features/databases/ui/DatabasesComponeimport { NotifiersComponent } from '../../features/notifiers/ui/NotifiersComponent';import { StoragesComponent } from '../../features/storages/StoragesComponent';import { useScreenHeight } from '../../shared/hooks';+import GitHubButton from 'react-github-btn';export const MainScreenComponent = () => {const screenHeight = useScreenHeight();@@ -35,24 +36,27 @@ export const MainScreenComponent = () => {</div></div>- <div className="mr-3 ml-auto flex gap-5">+ <div className="mr-3 ml-auto flex items-center gap-5"><aclassName="hover:opacity-80"- href="https://postgresus.com/community"+ href="https://t.me/postgresus_community"target="_blank"rel="noreferrer">Community</a>- <a- className="hover:opacity-80"- href="https://github.com/postgresus/postgresus"- target="_blank"- rel="noreferrer"- >- GitHub- </a>+ <div className="mt-1">+ <GitHubButton+ href="https://github.com/RostislavDugin/postgresus"+ data-icon="octicon-star"+ data-size="large"+ data-show-count="true"+ aria-label="Star RostislavDugin/postgresus on GitHub"+ >+ Star on GitHub+ </GitHubButton>+ </div></div></div>{/* ===================== END NAVBAR ===================== */}