File tree 3 files changed +4
-1
lines changed
3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
window . VITE_API_URL = '${VITE_API_URL}' ;
2
2
window . VITE_APP_LOGO_URL = '${VITE_APP_LOGO_URL}' ;
3
+ window . VITE_APP_TITLE = '${VITE_APP_TITLE}' ;
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {Separator} from "@/components/ui/separator.tsx";
11
11
const App : React . FC = ( ) => {
12
12
const [ blueprints , setBlueprints ] = useState < Blueprint [ ] > ( [ ] ) ;
13
13
useEffect ( ( ) => {
14
+ document . title = window . VITE_APP_TITLE || 'Power - Starters' ;
14
15
fetchBlueprints ( ) . then ( setBlueprints ) ;
15
16
} , [ ] ) ;
16
17
@@ -52,7 +53,7 @@ const App: React.FC = () => {
52
53
</ span >
53
54
</ div >
54
55
< Separator />
55
- < h2 className = "text-3xl font-bold mt-10 mb-10" > Blueprints </ h2 >
56
+ < h2 className = "text-3xl font-bold mt-10 mb-10" > Plugins </ h2 >
56
57
{ blueprints && blueprints . length > 0 ? getBlueprints ( ) : getNoBlueprints ( ) }
57
58
</ div >
58
59
</ div >
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ declare global {
3
3
interface Window {
4
4
VITE_APP_LOGO_URL ?: string ;
5
5
VITE_API_URL ?: string ;
6
+ VITE_APP_TITLE ?: string ;
6
7
}
7
8
}
8
9
You can’t perform that action at this time.
0 commit comments