feat: icon and name

This commit is contained in:
Malopieds 2024-10-21 19:51:31 +02:00
parent 070956ba1a
commit 443aafb9bb
Signed by: malopieds
GPG Key ID: 2E9430D75356529B
5 changed files with 65 additions and 6 deletions

View File

@ -1,13 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/banquise.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body>
<title>La Banquise</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</body>
</html>

30
public/banquise.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.8 KiB

11
src/type/InstanceType.ts Normal file
View File

@ -0,0 +1,11 @@
import { Tp } from "./TpType";
import { User } from "./UserType";
export interface Instance {
id: number;
name: string;
ssh: string;
pwd: string;
user: User;
tp: Tp;
}

8
src/type/TpType.ts Normal file
View File

@ -0,0 +1,8 @@
export interface Tp {
id: number;
name: string;
description: string;
pdfLink: string;
respo: string;
date: string;
}

7
src/type/UserType.ts Normal file
View File

@ -0,0 +1,7 @@
import { Instance } from "./InstanceType";
export interface User {
id: number;
name: string;
instances: Instance[];
}