mirror of
https://github.com/TautvydasDerzinskas/Thingport.git
synced 2026-10-18 20:59:55 -05:00
fix: add website links in few places
This commit is contained in:
1 parent
4ceca6d6dc
commit
420bb28764
5 files changed
+38
No files matched your search
@@ -10,6 +10,15 @@ from the places where you discover them.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="https://tautvydasderzinskas.github.io/Thingport/"><b>Website</b></a> ·
|
||||
<a href="https://tautvydasderzinskas.github.io/Thingport/docs/">Docs</a> ·
|
||||
<a href="https://tautvydasderzinskas.github.io/Thingport/features/">Features</a> ·
|
||||
<a href="https://tautvydasderzinskas.github.io/Thingport/blog/">Blog</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="https://tautvydasderzinskas.github.io/Thingport/"><img src="https://img.shields.io/badge/website-thingport-00b800?logo=googlechrome&logoColor=white" alt="Website"></a>
|
||||
<img src="https://github.com/TautvydasDerzinskas/Thingport/actions/workflows/web-pages.yml/badge.svg" alt="Website build">
|
||||
<img src="https://github.com/TautvydasDerzinskas/Thingport/actions/workflows/frontend-image.yml/badge.svg" alt="Frontend">
|
||||
<img src="https://github.com/TautvydasDerzinskas/Thingport/actions/workflows/backend-image.yml/badge.svg" alt="Backend">
|
||||
<img src="https://github.com/TautvydasDerzinskas/Thingport/actions/workflows/bridge-release.yml/badge.svg" alt="Slicer Bridge">
|
||||
@@ -81,6 +90,9 @@ Printables imports work with no setup. MakerWorld and Thingiverse each need a cr
|
||||
|
||||
## Installation
|
||||
|
||||
> Step-by-step guides for Docker Compose, Unraid, TrueNAS SCALE and CasaOS are also on the
|
||||
> **[Thingport website](https://tautvydasderzinskas.github.io/Thingport/docs/)**.
|
||||
|
||||
### Docker Compose
|
||||
|
||||
Runs entirely from the pre-built images on GHCR -- no local build, no git clone needed. Works on any Docker host, including a NAS (Synology, QNAP, Unraid, etc).
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
/** The Thingport product site, docs and blog (web/ in this repo, deployed to GitHub Pages). */
|
||||
export const THINGPORT_WEBSITE_URL = "https://tautvydasderzinskas.github.io/Thingport/";
|
||||
@@ -260,6 +260,10 @@
|
||||
"summary_other": "{{size}} used by {{count}} models",
|
||||
"hint": "Disk space used by every user's model files (plates, supporting and prepared files). Thumbnails and gallery images aren't included."
|
||||
},
|
||||
"website": {
|
||||
"link": "Thingport website & docs",
|
||||
"hint": "Install guides, provider setup and news about Thingport"
|
||||
},
|
||||
"pageTitle": "Admin Settings",
|
||||
"updateCheck": {
|
||||
"heading": "Update Checker",
|
||||
|
||||
@@ -261,6 +261,10 @@
|
||||
"summary_other": "{{size}} užima {{count}} modelių",
|
||||
"hint": "Visų naudotojų modelių failų (plokščių, papildomų ir paruoštų failų) užimama vieta diske. Miniatiūros ir galerijos paveikslėliai neįskaičiuoti."
|
||||
},
|
||||
"website": {
|
||||
"link": "Thingport svetainė ir dokumentacija",
|
||||
"hint": "Diegimo gidai, šaltinių nustatymas ir Thingport naujienos"
|
||||
},
|
||||
"pageTitle": "Administravimo nustatymai",
|
||||
"updateCheck": {
|
||||
"heading": "Atnaujinimų tikrinimas",
|
||||
|
||||
@@ -9,6 +9,7 @@ import ListItemIcon from "@mui/material/ListItemIcon";
|
||||
import ListItemText from "@mui/material/ListItemText";
|
||||
import Skeleton from "@mui/material/Skeleton";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import Link from "@mui/material/Link";
|
||||
import ChevronRightIcon from "@mui/icons-material/ChevronRight";
|
||||
import StorageIcon from "@mui/icons-material/Storage";
|
||||
import SettingsIcon from "@mui/icons-material/Settings";
|
||||
@@ -16,10 +17,12 @@ import PeopleIcon from "@mui/icons-material/People";
|
||||
import HistoryIcon from "@mui/icons-material/History";
|
||||
import BoltIcon from "@mui/icons-material/Bolt";
|
||||
import CableIcon from "@mui/icons-material/Cable";
|
||||
import PublicIcon from "@mui/icons-material/Public";
|
||||
import UpdateCheckSection from "./UpdateCheckSection";
|
||||
import { adminApi, type StorageUsage } from "../../api/admin";
|
||||
import { UnauthorizedError } from "../../api/client";
|
||||
import { formatFileSize } from "../../utils/fileSize";
|
||||
import { THINGPORT_WEBSITE_URL } from "../../constants/website";
|
||||
|
||||
type Section = {
|
||||
path: string;
|
||||
@@ -111,6 +114,19 @@ export default function AdminPage({ onUnauthorized }: Props) {
|
||||
)}
|
||||
</Stack>
|
||||
)}
|
||||
|
||||
<Stack
|
||||
direction="row"
|
||||
alignItems="center"
|
||||
spacing={1}
|
||||
title={t("adminSettings.website.hint")}
|
||||
sx={{ px: 0.5, color: "text.secondary" }}
|
||||
>
|
||||
<PublicIcon fontSize="small" />
|
||||
<Link href={THINGPORT_WEBSITE_URL} target="_blank" rel="noopener" variant="body2" underline="hover">
|
||||
{t("adminSettings.website.link")}
|
||||
</Link>
|
||||
</Stack>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user