55 Commits
0.0.1 ... main

Author SHA1 Message Date
9198095c28 gitea to git
All checks were successful
continuous-integration/drone/tag Build is passing
2025-10-21 23:55:37 +05:30
71177a50e6 fixes for IMAGE_TAG
All checks were successful
continuous-integration/drone/tag Build is passing
2025-10-21 19:31:47 +05:30
887e3835c2 Update .drone.yml 2025-10-21 13:58:09 +00:00
c4f51a59c8 do not trust AI to write good code
All checks were successful
continuous-integration/drone Build is passing
2025-10-21 13:53:12 +00:00
40f4fabfe2 do not trust AI to write good code
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 13:51:21 +00:00
23bce67595 Update .drone.yml
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 13:50:13 +00:00
49d1e241c3 Update .drone.yml
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 13:46:55 +00:00
438bf18325 Update .drone.yml
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 13:40:16 +00:00
b69af60f87 Update .drone.yml
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 13:37:20 +00:00
b69fca13cb Update .drone.yml
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 12:47:44 +00:00
95e58cef54 temporary removed check and build stage to force push image to registry
Some checks reported errors
continuous-integration/drone Build was killed
2025-10-21 12:39:28 +00:00
edf9c08848 Update .drone.yml
All checks were successful
continuous-integration/drone Build is passing
2025-10-21 12:38:09 +00:00
a7ba9c2ea8 Update .drone.yml
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 12:28:09 +00:00
cd9ed14475 Update .drone.yml
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 12:25:20 +00:00
f80ffa058e Update .drone.yml
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 12:23:43 +00:00
4cc35f9422 Update .drone.yml
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 12:21:11 +00:00
58da548058 Update .drone.yml
Some checks failed
continuous-integration/drone Build is failing
2025-10-21 12:12:14 +00:00
1d1b71d780 Update .drone.yml 2025-10-21 12:11:20 +00:00
f69de26c1b added Netdata in monitoring services
Some checks failed
continuous-integration/drone/tag Build is failing
2025-10-12 15:31:25 +05:30
0431998723 added step in .drone.yml to push image to REGISTRY_HOST 2025-10-12 15:01:46 +05:30
69a9e8000c changed http to https
All checks were successful
continuous-integration/drone/tag Build is passing
2025-10-11 22:34:32 +05:30
6afbc899e1 always restart docker container 2025-10-11 22:29:25 +05:30
fde6be3b18 only run drone on pushing tag 2025-10-11 22:25:01 +05:30
d27b793cd4 scroll in ServiceList 2025-10-11 22:19:18 +05:30
2cdee4a028 fixed maxHeight for ServiceList parent Card as 50vh 2025-10-11 22:17:49 +05:30
081e3bf2b7 removed stray code 2025-10-11 22:15:25 +05:30
e4f40811b6 ident fixes and config 2025-10-11 15:23:51 +05:30
69081b846a enabled pointer events for clicks on servives
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
2025-10-11 01:11:42 +05:30
df1a556d94 added context for docker build
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2025-10-10 18:22:41 +05:30
672236fb83 Merge remote-tracking branch 'origin/main'
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
2025-10-10 18:16:55 +05:30
6c8d24c017 cleaner view for services
Some checks failed
continuous-integration/drone/tag Build is failing
2025-10-10 18:09:32 +05:30
4e26f2131c full integration of services in Services.tsx 2025-10-10 17:40:44 +05:30
2c5cb966ad added ServiceList.tsx for handling individual services 2025-10-10 17:29:17 +05:30
8353ced08c added Services.tsx with sample data 2025-10-10 17:09:31 +05:30
b1a9cd1904 removed stray files 2025-10-10 17:09:17 +05:30
bf97f66835 minor spacing changes 2025-10-10 16:50:13 +05:30
a803759384 Update .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
using LATEST_TAG instead of DRONE_TAG which not be present if the push itsn't for tag push
2025-10-10 10:22:12 +00:00
1f65582e77 Update .drone.yml
Some checks reported errors
continuous-integration/drone/push Build was killed
fixes
2025-10-10 10:13:38 +00:00
54cabc5f7f Update .drone.yml
Some checks reported errors
continuous-integration/drone/push Build encountered an error
split check version into 2 steps to tackle different environments for git and docker tag comparison
2025-10-10 10:12:45 +00:00
8760d61b22 Update .drone.yml
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone Build was killed
using host network
2025-10-10 10:01:17 +00:00
1a2c725f6b Update .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
changed from private-pi to 192.168.1.111
2025-10-10 09:49:53 +00:00
b346f02282 Update .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
using both server-pi (to clone and get tag) and private-pi for docker
2025-10-10 09:42:28 +00:00
78271baba1 Update .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
using DOCKER_HOST to deploy on private-pi
2025-10-10 09:34:53 +00:00
871b497ffa Update .drone.yml
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build was killed
updated drone yaml with correct way to use unix socks
2025-10-06 17:00:49 +00:00
41e254f732 specify platform to pick runner
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
2025-09-28 03:49:03 +05:30
7ebdfede12 added custom trigger
Some checks reported errors
continuous-integration/drone Build was killed
2025-09-28 02:43:47 +05:30
bb7a2fd08e fixes in .drone.yml 2025-09-28 02:37:51 +05:30
4058796b50 minor changes
Some checks reported errors
continuous-integration/drone Build encountered an error
2025-09-28 02:34:04 +05:30
54d72b4d66 intelligent check for new tags before building 2025-09-28 02:33:48 +05:30
d0d3a3deea updated version to 0.0.3 2025-09-28 02:09:43 +05:30
7be8dc7bc2 renamed dcr to registry 2025-09-28 02:09:17 +05:30
fdf23dd510 added drone deployment 2025-09-28 02:06:24 +05:30
fa9303b792 added tag 0.0.2 2025-09-23 18:24:08 +05:30
f9f86dcc8b dynamic sections and more services added 2025-09-23 18:22:27 +05:30
eeb250a7c5 removed word torrent 2025-09-23 18:13:35 +05:30
12 changed files with 481 additions and 255 deletions

130
.drone.yml Normal file
View File

@@ -0,0 +1,130 @@
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
workspace:
path: /drone/src
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
steps:
- name: fetch-tags
image: docker:24
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- apk add --no-cache git
- git fetch --tags
- |
# Get latest Git tag and trim newline
LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null | tr -d '\n')
echo "Latest Git tag fetched: $LATEST_TAG"
# Save to file for downstream steps
echo "$LATEST_TAG" > /drone/src/LATEST_TAG.txt
# Read back for verification
IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt | tr -d '\n')
echo "Image tag read from file: $IMAGE_TAG"
# Validate
if [ -z "$IMAGE_TAG" ]; then
echo "❌ No git tags found! Cannot continue."
exit 1
fi
- name: check-remote-image
image: docker:24
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt | tr -d '\n')
- echo "Checking if apps/homepage:$IMAGE_TAG exists on remote Docker..."
- echo "Existing Docker tags for apps/homepage:"
- docker images --format "{{.Repository}}:{{.Tag}}" | grep "^apps/homepage" || echo "(none)"
- |
if docker image inspect apps/homepage:$IMAGE_TAG > /dev/null 2>&1; then
echo "✅ Docker image apps/homepage:$IMAGE_TAG already exists — skipping build"
exit 78
else
echo "⚙️ Docker image apps/homepage:$IMAGE_TAG not found — proceeding to build..."
fi
- name: build-image
image: docker:24
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt | tr -d '\n')
- echo "🔨 Building Docker image apps/homepage:$IMAGE_TAG ..."
- docker build --network=host -t apps/homepage:$IMAGE_TAG -t apps/homepage:latest /drone/src
- name: push-image
image: docker:24
environment:
REGISTRY_HOST:
from_secret: REGISTRY_HOST
REGISTRY_USER:
from_secret: REGISTRY_USER
REGISTRY_PASS:
from_secret: REGISTRY_PASS
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt | tr -d '\n')
- echo "🔑 Logging into registry $REGISTRY_HOST ..."
- echo "$REGISTRY_PASS" | docker login $REGISTRY_HOST -u "$REGISTRY_USER" --password-stdin
- echo "🏷️ Tagging images with registry prefix..."
- docker tag apps/homepage:$IMAGE_TAG $REGISTRY_HOST/apps/homepage:$IMAGE_TAG
- docker tag apps/homepage:$IMAGE_TAG $REGISTRY_HOST/apps/homepage:latest
- echo "📤 Pushing apps/homepage:$IMAGE_TAG ..."
- docker push $REGISTRY_HOST/apps/homepage:$IMAGE_TAG
- echo "📤 Pushing apps/homepage:latest ..."
- docker push $REGISTRY_HOST/apps/homepage:latest
- name: stop-old
image: docker:24
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- echo "🛑 Stopping old container..."
- docker rm -f homepage || true
- name: run-container
image: docker:24
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt | tr -d '\n')
- echo "🚀 Starting container apps/homepage:$IMAGE_TAG ..."
- |
docker run -d \
--name homepage \
-p 3001:3000 \
-e NODE_ENV=production \
--restart always \
apps/homepage:$IMAGE_TAG
# Trigger rules
trigger:
event:
- tag
- custom

5
.idea/codeStyles/codeStyleConfig.xml generated Normal file
View File

@@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>

View File

@@ -1,21 +0,0 @@
import * as React from 'react';
import Typography from '@mui/material/Typography';
import MuiLink from '@mui/material/Link';
export default function Copyright() {
return (
<Typography
variant="body2"
align="center"
sx={{
color: 'text.secondary',
}}
>
{'Copyright © '}
<MuiLink color="inherit" href="https://mui.com/">
Your Website
</MuiLink>{' '}
{new Date().getFullYear()}.
</Typography>
);
}

View File

@@ -1,23 +0,0 @@
import * as React from 'react';
import Link from '@mui/material/Link';
import SvgIcon, { type SvgIconProps } from '@mui/material/SvgIcon';
import Typography from '@mui/material/Typography';
function LightBulbIcon(props: SvgIconProps) {
return (
<SvgIcon {...props}>
<path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z" />
</SvgIcon>
);
}
export default function ProTip() {
return (
<Typography sx={{ mt: 6, mb: 3, color: 'text.secondary' }}>
<LightBulbIcon sx={{ mr: 1, verticalAlign: 'middle' }} />
{'Pro tip: See more '}
<Link href="https://mui.com/material-ui/getting-started/templates/">templates</Link>
{' in the Material UI documentation.'}
</Typography>
);
}

View File

@@ -0,0 +1,49 @@
import React from 'react';
import Box from '@mui/material/Box';
import {Grid, Paper, Link, Typography} from '@mui/material';
interface ServiceList {
name: string;
url: string;
desc: string;
external?: boolean;
}
interface ServiceListProps {
serviceList: ServiceList[];
}
const ServiceList: React.FC<ServiceListProps> = ({serviceList}) => {
return (
<Box
sx={{
flex: 1,
overflowY: 'auto', // ✅ Scroll only inside this
}}
>
<Grid container spacing={3} justifyContent="center">
{serviceList.map((s) => (
<Paper
elevation={3}
sx={{p: 2, textAlign: "center", bgcolor: "#2d2d2d", borderRadius: 2}}
>
<Link
href={s.url}
target={s.external ? "_blank" : undefined}
rel="noopener"
underline="none"
sx={{fontSize: 18, fontWeight: "bold", color: "success.main"}}
>
{s.name}
</Link>
<Typography variant="body2" sx={{mt: 1, color: "#ccc"}}>
{s.desc}
</Typography>
</Paper>
))}
</Grid>
</Box>
);
};
export default ServiceList;

265
app/components/Services.tsx Normal file
View File

@@ -0,0 +1,265 @@
import * as React from 'react';
import Box from '@mui/material/Box';
import Button from '@mui/material/Button';
import Card from '@mui/material/Card';
import MuiChip from '@mui/material/Chip';
import Container from '@mui/material/Container';
import Typography from '@mui/material/Typography';
import {styled} from '@mui/material/styles';
import PermMediaIcon from '@mui/icons-material/PermMedia';
import CodeIcon from '@mui/icons-material/Code';
import MonitorHeartIcon from '@mui/icons-material/MonitorHeart';
import ServiceList from "~/components/ServiceList";
const items = [
{
icon: <PermMediaIcon/>,
title: 'The Vox Sanctum',
serviceList: [
{
name: "Jellyseerr",
url: "https://jellyseerr.aetoskia.com",
desc: "Summon films and series from the digital void.",
external: true
},
{
name: "Sonarr",
url: "https://sonarr.aetoskia.com",
desc: "Keep the endless chronicles of TV under iron control.",
external: true
},
{
name: "Radarr",
url: "https://radarr.aetoskia.com",
desc: "Command the legions of cinema, enforce cinematic order.",
external: true
},
],
description:
"Behold the archive of visual legends, where the eternal campaigns of film and series march forth in eternal crusade against chaos and forgetfulness.",
},
{
icon: <CodeIcon/>,
title: 'The Forge Conclave',
serviceList: [
{
name: "Git",
url: "https://git.aetoskia.com",
desc: "Forge and safeguard code like a sacred relic.",
external: true
},
{
name: "Registry",
url: "https://registry.aetoskia.com",
desc: "Monitor core constructs of the digital empire.",
external: true
},
{
name: "Drone",
url: "https://drone.aetoskia.com",
desc: "Automaton architect, building pipelines of perfection.",
external: true
},
],
description:
"The bastion of creation — where code is forged in the fires of discipline, guarded like relics, and deployed with unyielding precision to uphold the empire's might.",
},
{
icon: <MonitorHeartIcon/>,
title: 'The Vigilant Watch',
serviceList: [
{
name: "Netdata",
url: "https://netdata.aetoskia.com",
desc: "Watch over the mechanized legions and digital armories with the unblinking eye of the Omnissiah.",
external: true
},
{
name: "Portainer",
url: "https://portainer.aetoskia.com",
desc: "Oversee the fleet of containers with unyielding vigilance.",
external: true
},
{
name: "Traefik",
url: "https://traefik.aetoskia.com",
desc: "Marshal your gateways and protect the flow between realms.",
external: true
},
],
description:
"Eyes ever watchful, guarding the realms sanctity — these sentinels oversee the flow of life and command the paths between digital dominions.",
},
];
interface ChipProps {
selected?: boolean;
}
const Chip = styled(MuiChip)<ChipProps>(({theme}) => ({
variants: [
{
props: ({selected}) => !!selected,
style: {
background:
'linear-gradient(to bottom right, hsl(210, 98%, 48%), hsl(210, 98%, 35%))',
color: 'hsl(0, 0%, 100%)',
borderColor: (theme.vars || theme).palette.primary.light,
'& .MuiChip-label': {
color: 'hsl(0, 0%, 100%)',
},
...theme.applyStyles('dark', {
borderColor: (theme.vars || theme).palette.primary.dark,
}),
},
},
],
}));
interface MobileLayoutProps {
selectedItemIndex: number;
handleItemClick: (index: number) => void;
selectedFeature: (typeof items)[0];
}
export function MobileLayout({
selectedItemIndex,
handleItemClick,
selectedFeature,
}: MobileLayoutProps) {
if (!items[selectedItemIndex]) {
return null;
}
return (
<Box
sx={{
display: {xs: 'flex', sm: 'none'},
flexDirection: 'column',
gap: 2,
}}
>
<Box sx={{display: 'flex', gap: 2, overflow: 'auto'}}>
{items.map(({title}, index) => (
<Chip
size="medium"
key={index}
label={title}
onClick={() => handleItemClick(index)}
selected={selectedItemIndex === index}
/>
))}
</Box>
<Card variant="outlined">
<Box sx={{px: 2, pb: 2}}>
<Typography
gutterBottom
sx={{color: 'text.primary', fontWeight: 'medium'}}
>
{selectedFeature.title}
</Typography>
<Typography variant="body2" sx={{color: 'text.secondary', mb: 1.5}}>
{selectedFeature.description}
</Typography>
</Box>
<ServiceList serviceList={selectedFeature.serviceList} />
</Card>
</Box>
);
}
export default function Services() {
const [selectedItemIndex, setSelectedItemIndex] = React.useState(0);
const handleItemClick = (index: number) => {
setSelectedItemIndex(index);
};
const selectedFeature = items[selectedItemIndex];
return (
<Container id="features" sx={{bgcolor: "#1a1a1a", borderRadius: 3, p: 3, boxShadow: 6}}>
<Box
sx={{
display: 'flex',
flexDirection: {xs: 'column', md: 'row-reverse'},
gap: 2,
}}
>
<Box
sx={{
display: {xs: 'none', sm: 'flex'},
flexDirection: 'column',
gap: 2,
height: '100%',
}}
>
{items.map(({icon, title, description}, index) => (
<Box
key={index}
component={Button}
onClick={() => handleItemClick(index)}
sx={[
(theme) => ({
p: 2,
height: '100%',
width: '100%',
'&:hover': {
backgroundColor: (theme.vars || theme).palette.action.hover,
},
}),
selectedItemIndex === index && {
backgroundColor: 'action.selected',
},
]}
>
<Box
sx={[
{
width: '100%',
display: 'flex',
flexDirection: 'column',
alignItems: 'left',
gap: 1,
textAlign: 'left',
textTransform: 'none',
color: 'text.secondary',
},
selectedItemIndex === index && {
color: 'text.primary',
},
]}
>
<Typography variant="h6">{icon} {title}</Typography>
<Typography variant="body2">{description}</Typography>
</Box>
</Box>
))}
</Box>
<MobileLayout
selectedItemIndex={selectedItemIndex}
handleItemClick={handleItemClick}
selectedFeature={selectedFeature}
/>
<Box
sx={{
display: {xs: 'none', sm: 'flex'},
width: {xs: '100%', md: '70%'},
}}
>
<Card
variant="outlined"
sx={{
display: {xs: 'none', sm: 'flex'},
maxHeight: '50vh',
}}
>
<ServiceList serviceList={selectedFeature.serviceList} />
</Card>
</Box>
</Box>
</Container>
);
}

View File

@@ -2,5 +2,4 @@ import { type RouteConfig, index, route } from '@react-router/dev/routes';
export default [ export default [
index('routes/home.tsx'), index('routes/home.tsx'),
route('/about', 'routes/about.tsx'),
] satisfies RouteConfig; ] satisfies RouteConfig;

View File

@@ -1,45 +0,0 @@
import * as React from 'react';
import Container from '@mui/material/Container';
import Typography from '@mui/material/Typography';
import Box from '@mui/material/Box';
import Button from '@mui/material/Button';
import { Link as ReactRouterLink } from 'react-router';
import ProTip from '~/components/ProTip';
import Copyright from '~/components/Copyright';
export function meta() {
return [
{ title: 'About' },
{
name: 'description',
content: 'About the project',
},
];
}
export default function About() {
return (
<Container maxWidth="lg">
<Box
sx={{
my: 4,
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
}}
>
<Typography variant="h4" component="h1" sx={{ mb: 2 }}>
Material UI - Next.js example in TypeScript
</Typography>
<Box sx={{ maxWidth: 'sm' }}>
<Button variant="contained" component={ReactRouterLink} to="/">
Go to the home page
</Button>
</Box>
<ProTip />
<Copyright />
</Box>
</Container>
);
}

View File

@@ -1,173 +1,40 @@
import * as React from "react"; import * as React from "react";
import Container from "@mui/material/Container"; import Container from "@mui/material/Container";
import Typography from "@mui/material/Typography";
import Box from "@mui/material/Box"; import Box from "@mui/material/Box";
import Link from "@mui/material/Link"; import Services from "~/components/Services";
import Grid from "@mui/material/Grid";
import Paper from "@mui/material/Paper";
export function meta() { export function meta() {
return [ return [
{title: "Material UI - React Router example in TypeScript"}, { title: "Aetoskia Hideout" },
{ {
name: "description", name: "description",
content: content: "Welcome to Aetoskia's Hideout!",
"Welcome to Material UI - React Router example in TypeScript!", },
}, ];
];
} }
const services = {
media: [
{
name: "Jellyseerr",
url: "http://jellyseerr.aetoskia.com",
desc: "Request movies & TV shows",
},
// {
// name: "Ombi",
// url: "http://ombi.aetoskia.com",
// desc: "Request movies & TV shows",
// },
{
name: "Sonarr",
url: "http://sonarr.aetoskia.com",
desc: "TV series management",
},
{
name: "Radarr",
url: "http://radarr.aetoskia.com",
desc: "Movie management",
},
// {
// name: "Prowlarr",
// url: "http://prowlarr.aetoskia.com",
// desc: "Indexer management",
// },
{
name: "qBittorrent",
url: "http://qbit.aetoskia.com",
desc: "Download client & torrent manager",
external: true,
},
],
core: [
{
name: "Gitea",
url: "http://gitea.aetoskia.com",
desc: "Hosted on Core Server",
external: true,
},
],
};
export default function Home() { export default function Home() {
// @ts-ignore return (
return ( <Container
<Container maxWidth="lg"> maxWidth={false}
<Box >
sx={{ <Box
minHeight: "120vh", sx={{
backgroundImage: "url('/extended_sigil.png')", minHeight: "100vh",
backgroundSize: "cover", backgroundImage: "url('/header_sigil.png')",
backgroundRepeat: "no-repeat", backgroundSize: "cover",
backgroundPosition: "center", backgroundRepeat: "no-repeat",
display: "flex", backgroundPosition: "top center",
flexDirection: "column", display: "flex",
}} flexDirection: "column",
> }}
{/* Spacer pushes bottom part down */} >
<Box sx={{flex: 1}}/> <Box sx={{ flex: 1 }} />
{/* Bottom dashboard: only 50% height of viewport */} <Box sx={{ height: "60vh", overflowY: "auto" }}>
<Box <Services />
sx={{ </Box>
height: "60vh", // 50% of viewport height </Box>
overflowY: "auto", // scroll if content overflows </Container>
p: 2, );
}}
>
<Container
maxWidth="lg"
sx={{
bgcolor: "#1a1a1a", // dark background
borderRadius: 3,
p: 3,
boxShadow: 6,
}}
>
<Typography
variant="h5"
align="center"
sx={{color: "warning.main", mt: 4, mb: 2}}
>
Core Services
</Typography>
<Grid container spacing={3} justifyContent="center">
{services.core.map((s) => (
<Paper
elevation={3}
sx={{
p: 2,
textAlign: "center",
bgcolor: "#2d2d2d",
borderRadius: 2,
}}
>
<Link
href={s.url}
target={s.external ? "_blank" : undefined}
rel="noopener"
underline="none"
sx={{fontSize: 18, fontWeight: "bold", color: "success.main"}}
>
{s.name}
</Link>
<Typography variant="body2" sx={{mt: 1, color: "#ccc"}}>
{s.desc}
</Typography>
</Paper>
))}
</Grid>
<Typography
variant="h5"
align="center"
sx={{color: "warning.main", mt: 4, mb: 2}}
>
Media Services
</Typography>
<Grid container spacing={3} justifyContent="center">
{services.media.map((s) => (
<Paper
elevation={3}
sx={{
p: 2,
textAlign: "center",
bgcolor: "#2d2d2d",
borderRadius: 2,
}}
>
<Link
href={s.url}
target={s.external ? "_blank" : undefined}
rel="noopener"
underline="none"
sx={{fontSize: 18, fontWeight: "bold", color: "success.main"}}
>
{s.name}
</Link>
<Typography variant="body2" sx={{mt: 1, color: "#ccc"}}>
{s.desc}
</Typography>
</Paper>
))}
</Grid>
</Container>
</Box>
</Box>
</Container>
);
} }

View File

@@ -5,7 +5,7 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
# network: host # network: host
container_name: homepage container_name: homepage
image: apps/homepage:0.0.1 image: apps/homepage:0.0.5
ports: ports:
- "3001:3000" # map host port 3000 to container - "3001:3000" # map host port 3000 to container
environment: environment:

View File

@@ -1,5 +1,5 @@
{ {
"name": "material-ui-react-router-ts", "name": "homepage",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {

BIN
public/header_sigil.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB