Spaces:
Sleeping
Sleeping
Commit ·
2269a9e
1
Parent(s): 02dfcbe
fix: choupinou logo display
Browse files
frontend/src/App.tsx
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import React, { useEffect, useState } from 'react'
|
|
|
|
| 2 |
import axios from 'axios'
|
| 3 |
|
| 4 |
const API = axios.create({ baseURL: '/api' })
|
|
@@ -200,7 +201,7 @@ export default function App() {
|
|
| 200 |
marginBottom: 16
|
| 201 |
}}>
|
| 202 |
<img
|
| 203 |
-
src=
|
| 204 |
alt="Choupinou Masque Logo"
|
| 205 |
style={{
|
| 206 |
width: 96,
|
|
|
|
| 1 |
import React, { useEffect, useState } from 'react'
|
| 2 |
+
import choupinouMasque from './assets/choupinou_masque.png';
|
| 3 |
import axios from 'axios'
|
| 4 |
|
| 5 |
const API = axios.create({ baseURL: '/api' })
|
|
|
|
| 201 |
marginBottom: 16
|
| 202 |
}}>
|
| 203 |
<img
|
| 204 |
+
src={choupinouMasque}
|
| 205 |
alt="Choupinou Masque Logo"
|
| 206 |
style={{
|
| 207 |
width: 96,
|
frontend/{public → src/assets}/choupinou_masque.png
RENAMED
|
File without changes
|
frontend/src/vite-env.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
/// <reference types="vite/client" />
|
frontend/tsconfig.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compilerOptions": {
|
| 3 |
+
"target": "ESNext",
|
| 4 |
+
"module": "ESNext",
|
| 5 |
+
"jsx": "react-jsx",
|
| 6 |
+
"moduleResolution": "Bundler",
|
| 7 |
+
"strict": true,
|
| 8 |
+
"skipLibCheck": true
|
| 9 |
+
},
|
| 10 |
+
"include": ["src"]
|
| 11 |
+
}
|