Updated
25
frontend/@dasig/components/Logo.tsx
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import webpPath from "../images/logo.webp";
|
||||
import avifPath from "../images/logo.avif";
|
||||
|
||||
interface Props {
|
||||
size?: number;
|
||||
alt?: string;
|
||||
}
|
||||
|
||||
export default (props: Props) => {
|
||||
return (
|
||||
<>
|
||||
<picture>
|
||||
<source srcset={avifPath} type="image/avif" />
|
||||
<source srcset={webpPath} type="image/webp" />
|
||||
<img
|
||||
width={props.size}
|
||||
height="auto"
|
||||
decoding="async"
|
||||
loading="lazy"
|
||||
alt="logo"
|
||||
/>
|
||||
</picture>
|
||||
</>
|
||||
);
|
||||
};
|
||||
BIN
frontend/@dasig/images/logo.avif
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
frontend/@dasig/images/logo.webp
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
|
|
@ -5,3 +5,4 @@ export { default as Display } from "./components/Display";
|
|||
export { default as HTML } from "./components/HTML";
|
||||
export { default as Page } from "./components/Page";
|
||||
export { default as Image } from "./components/Image";
|
||||
export { default as Logo } from "./components/Logo";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
services:
|
||||
template:
|
||||
container_name: ${NAME}
|
||||
dasig:
|
||||
container_name: dasig
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- ${PORT}:8080
|
||||
- 9000:8080
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
"node": ">=22"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.4.7",
|
||||
"@biomejs/biome": "^2.4.8",
|
||||
"@types/node": "^24.12.0",
|
||||
"@types/yargs": "^17.0.35",
|
||||
"sass-embedded": "^1.98.0"
|
||||
|
|
|
|||
74
frontend/pnpm-lock.yaml
generated
|
|
@ -52,8 +52,8 @@ importers:
|
|||
version: 18.0.0
|
||||
devDependencies:
|
||||
'@biomejs/biome':
|
||||
specifier: ^2.4.7
|
||||
version: 2.4.7
|
||||
specifier: ^2.4.8
|
||||
version: 2.4.8
|
||||
'@types/node':
|
||||
specifier: ^24.12.0
|
||||
version: 24.12.0
|
||||
|
|
@ -157,59 +157,59 @@ packages:
|
|||
resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@biomejs/biome@2.4.7':
|
||||
resolution: {integrity: sha512-vXrgcmNGZ4lpdwZSpMf1hWw1aWS6B+SyeSYKTLrNsiUsAdSRN0J4d/7mF3ogJFbIwFFSOL3wT92Zzxia/d5/ng==}
|
||||
'@biomejs/biome@2.4.8':
|
||||
resolution: {integrity: sha512-ponn0oKOky1oRXBV+rlSaUlixUxf1aZvWC19Z41zBfUOUesthrQqL3OtiAlSB1EjFjyWpn98Q64DHelhA6jNlA==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
hasBin: true
|
||||
|
||||
'@biomejs/cli-darwin-arm64@2.4.7':
|
||||
resolution: {integrity: sha512-Oo0cF5mHzmvDmTXw8XSjhCia8K6YrZnk7aCS54+/HxyMdZMruMO3nfpDsrlar/EQWe41r1qrwKiCa2QDYHDzWA==}
|
||||
'@biomejs/cli-darwin-arm64@2.4.8':
|
||||
resolution: {integrity: sha512-ARx0tECE8I7S2C2yjnWYLNbBdDoPdq3oyNLhMglmuctThwUsuzFWRKrHmIGwIRWKz0Mat9DuzLEDp52hGnrxGQ==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@biomejs/cli-darwin-x64@2.4.7':
|
||||
resolution: {integrity: sha512-I+cOG3sd/7HdFtvDSnF9QQPrWguUH7zrkIMMykM3PtfWU9soTcS2yRb9Myq6MHmzbeCT08D1UmY+BaiMl5CcoQ==}
|
||||
'@biomejs/cli-darwin-x64@2.4.8':
|
||||
resolution: {integrity: sha512-Jg9/PsB9vDCJlANE8uhG7qDhb5w0Ix69D7XIIc8IfZPUoiPrbLm33k2Ig3NOJ/7nb3UbesFz3D1aDKm9DvzjhQ==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@biomejs/cli-linux-arm64-musl@2.4.7':
|
||||
resolution: {integrity: sha512-I2NvM9KPb09jWml93O2/5WMfNR7Lee5Latag1JThDRMURVhPX74p9UDnyTw3Ae6cE1DgXfw7sqQgX7rkvpc0vw==}
|
||||
'@biomejs/cli-linux-arm64-musl@2.4.8':
|
||||
resolution: {integrity: sha512-Zo9OhBQDJ3IBGPlqHiTISloo5H0+FBIpemqIJdW/0edJ+gEcLR+MZeZozcUyz3o1nXkVA7++DdRKQT0599j9jA==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@biomejs/cli-linux-arm64@2.4.7':
|
||||
resolution: {integrity: sha512-om6FugwmibzfP/6ALj5WRDVSND4H2G9X0nkI1HZpp2ySf9lW2j0X68oQSaHEnls6666oy4KDsc5RFjT4m0kV0w==}
|
||||
'@biomejs/cli-linux-arm64@2.4.8':
|
||||
resolution: {integrity: sha512-5CdrsJct76XG2hpKFwXnEtlT1p+4g4yV+XvvwBpzKsTNLO9c6iLlAxwcae2BJ7ekPGWjNGw9j09T5KGPKKxQig==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@biomejs/cli-linux-x64-musl@2.4.7':
|
||||
resolution: {integrity: sha512-00kx4YrBMU8374zd2wHuRV5wseh0rom5HqRND+vDldJPrWwQw+mzd/d8byI9hPx926CG+vWzq6AeiT7Yi5y59g==}
|
||||
'@biomejs/cli-linux-x64-musl@2.4.8':
|
||||
resolution: {integrity: sha512-Gi8quv8MEuDdKaPFtS2XjEnMqODPsRg6POT6KhoP+VrkNb+T2ywunVB+TvOU0LX1jAZzfBr+3V1mIbBhzAMKvw==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@biomejs/cli-linux-x64@2.4.7':
|
||||
resolution: {integrity: sha512-bV8/uo2Tj+gumnk4sUdkerWyCPRabaZdv88IpbmDWARQQoA/Q0YaqPz1a+LSEDIL7OfrnPi9Hq1Llz4ZIGyIQQ==}
|
||||
'@biomejs/cli-linux-x64@2.4.8':
|
||||
resolution: {integrity: sha512-PdKXspVEaMCQLjtZCn6vfSck/li4KX9KGwSDbZdgIqlrizJ2MnMcE3TvHa2tVfXNmbjMikzcfJpuPWH695yJrw==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@biomejs/cli-win32-arm64@2.4.7':
|
||||
resolution: {integrity: sha512-hOUHBMlFCvDhu3WCq6vaBoG0dp0LkWxSEnEEsxxXvOa9TfT6ZBnbh72A/xBM7CBYB7WgwqboetzFEVDnMxelyw==}
|
||||
'@biomejs/cli-win32-arm64@2.4.8':
|
||||
resolution: {integrity: sha512-LoFatS0tnHv6KkCVpIy3qZCih+MxUMvdYiPWLHRri7mhi2vyOOs8OrbZBcLTUEWCS+ktO72nZMy4F96oMhkOHQ==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@biomejs/cli-win32-x64@2.4.7':
|
||||
resolution: {integrity: sha512-qEpGjSkPC3qX4ycbMUthXvi9CkRq7kZpkqMY1OyhmYlYLnANnooDQ7hDerM8+0NJ+DZKVnsIc07h30XOpt7LtQ==}
|
||||
'@biomejs/cli-win32-x64@2.4.8':
|
||||
resolution: {integrity: sha512-vAn7iXDoUbqFXqVocuq1sMYAd33p8+mmurqJkWl6CtIhobd/O6moe4rY5AJvzbunn/qZCdiDVcveqtkFh1e7Hg==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
|
@ -3177,39 +3177,39 @@ snapshots:
|
|||
'@babel/helper-string-parser': 7.27.1
|
||||
'@babel/helper-validator-identifier': 7.28.5
|
||||
|
||||
'@biomejs/biome@2.4.7':
|
||||
'@biomejs/biome@2.4.8':
|
||||
optionalDependencies:
|
||||
'@biomejs/cli-darwin-arm64': 2.4.7
|
||||
'@biomejs/cli-darwin-x64': 2.4.7
|
||||
'@biomejs/cli-linux-arm64': 2.4.7
|
||||
'@biomejs/cli-linux-arm64-musl': 2.4.7
|
||||
'@biomejs/cli-linux-x64': 2.4.7
|
||||
'@biomejs/cli-linux-x64-musl': 2.4.7
|
||||
'@biomejs/cli-win32-arm64': 2.4.7
|
||||
'@biomejs/cli-win32-x64': 2.4.7
|
||||
'@biomejs/cli-darwin-arm64': 2.4.8
|
||||
'@biomejs/cli-darwin-x64': 2.4.8
|
||||
'@biomejs/cli-linux-arm64': 2.4.8
|
||||
'@biomejs/cli-linux-arm64-musl': 2.4.8
|
||||
'@biomejs/cli-linux-x64': 2.4.8
|
||||
'@biomejs/cli-linux-x64-musl': 2.4.8
|
||||
'@biomejs/cli-win32-arm64': 2.4.8
|
||||
'@biomejs/cli-win32-x64': 2.4.8
|
||||
|
||||
'@biomejs/cli-darwin-arm64@2.4.7':
|
||||
'@biomejs/cli-darwin-arm64@2.4.8':
|
||||
optional: true
|
||||
|
||||
'@biomejs/cli-darwin-x64@2.4.7':
|
||||
'@biomejs/cli-darwin-x64@2.4.8':
|
||||
optional: true
|
||||
|
||||
'@biomejs/cli-linux-arm64-musl@2.4.7':
|
||||
'@biomejs/cli-linux-arm64-musl@2.4.8':
|
||||
optional: true
|
||||
|
||||
'@biomejs/cli-linux-arm64@2.4.7':
|
||||
'@biomejs/cli-linux-arm64@2.4.8':
|
||||
optional: true
|
||||
|
||||
'@biomejs/cli-linux-x64-musl@2.4.7':
|
||||
'@biomejs/cli-linux-x64-musl@2.4.8':
|
||||
optional: true
|
||||
|
||||
'@biomejs/cli-linux-x64@2.4.7':
|
||||
'@biomejs/cli-linux-x64@2.4.8':
|
||||
optional: true
|
||||
|
||||
'@biomejs/cli-win32-arm64@2.4.7':
|
||||
'@biomejs/cli-win32-arm64@2.4.8':
|
||||
optional: true
|
||||
|
||||
'@biomejs/cli-win32-x64@2.4.7':
|
||||
'@biomejs/cli-win32-x64@2.4.8':
|
||||
optional: true
|
||||
|
||||
'@bufbuild/protobuf@2.11.0': {}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
[Unit]
|
||||
Description=DASIG
|
||||
Description=Dasig
|
||||
|
||||
[Container]
|
||||
ContainerName=dasig
|
||||
Image=localhost/dasig
|
||||
PublishPort=8080:8080
|
||||
Image=localhost/dasig_dasig
|
||||
PublishPort=9000:8080
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 536 B |
|
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 1.4 KiB |
BIN
frontend/src/images/favicon.png
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
frontend/src/images/logo.png
Normal file
|
After Width: | Height: | Size: 71 KiB |
|
|
@ -1,6 +1,6 @@
|
|||
/** biome-ignore-all assist/source/organizeImports: <_> */
|
||||
|
||||
import { Column, Page, Image } from "../../@dasig";
|
||||
import { Column, Page, Image, Logo } from "../../@dasig";
|
||||
import Counter from "../components/Counter";
|
||||
import "./index.sass";
|
||||
|
||||
|
|
@ -8,7 +8,7 @@ export default () => {
|
|||
return (
|
||||
<Page title="Dasig">
|
||||
<Column>
|
||||
<h1>DASIG</h1>
|
||||
<Logo size={250} />
|
||||
<h4 class="text">
|
||||
An architectural framework for pure speed fullstack development built on top of Solid and Go
|
||||
</h4>
|
||||
|
|
|
|||