Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit fc1d587

Browse files
committed
added bootstrap css
1 parent 0caad79 commit fc1d587

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

webapp_frontend/public/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
Learn how to configure a non-root public URL by running `npm run build`.
2626
-->
2727
<title>React App</title>
28+
<link rel="stylesheet"
29+
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
30+
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
31+
crossorigin="anonymous">
2832
</head>
2933
<body>
3034
<noscript>You need to enable JavaScript to run this app.</noscript>

webapp_frontend/src/components/App.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React, {ReactElement, useEffect, useState} from 'react';
22
import logo from '../logo.svg';
33
import './App.css';
44
import {callBackendHealth} from "../api";
5+
import {Button} from 'react-bootstrap';
56

67
function App():ReactElement {
78
const [backendLiveTime, setBackendLiveTime] = useState<number | string>("Init");
@@ -23,6 +24,8 @@ function App():ReactElement {
2324
<p>
2425
Hello World
2526
</p>
27+
28+
2629
<img src={logo} className="App-logo" alt="logo"/>
2730
<p>
2831
Edit <code>src/App.tsx</code> and save to reload.

0 commit comments

Comments
 (0)