Skip to content

Commit ba447c6

Browse files
authored
Add bootstrap from cdn (#28)
1 parent c24d79c commit ba447c6

File tree

10 files changed

+231
-297
lines changed

10 files changed

+231
-297
lines changed

frontend/package-lock.json

Lines changed: 217 additions & 262 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
},
1414
"dependencies": {
1515
"axios": "^1.6.5",
16-
"bootstrap": "^5.3.2",
17-
"bootstrap-icons": "^1.11.3",
1816
"mitt": "^3.0.1",
1917
"pinia": "^2.1.7",
2018
"vue": "^3.4.13",

frontend/src/main.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import 'bootstrap/dist/css/bootstrap.css'
2-
import 'bootstrap-icons/font/bootstrap-icons.css';
31
import './assets/main.scss'
42
import axios from 'axios';
53
import {createPinia} from 'pinia'
Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
11
{
2-
"node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff": {
3-
"file": "assets/bootstrap-icons-TqycWyKO.woff",
4-
"src": "node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff"
5-
},
6-
"node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2": {
7-
"file": "assets/bootstrap-icons-bb42NSi8.woff2",
8-
"src": "node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2"
9-
},
102
"src/main.ts": {
11-
"assets": [
12-
"assets/bootstrap-icons-bb42NSi8.woff2",
13-
"assets/bootstrap-icons-TqycWyKO.woff"
14-
],
15-
"file": "assets/main-HfKVn8iO.js",
3+
"file": "assets/main-p8XQmHAA.js",
164
"isEntry": true,
175
"src": "src/main.ts"
186
},
197
"style.css": {
20-
"file": "assets/style-Mm3uekCg.css",
8+
"file": "assets/style--kTQjvMD.css",
219
"src": "style.css"
2210
}
2311
}
-172 KB
Binary file not shown.
-127 KB
Binary file not shown.

src/Resources/public/assets/main-HfKVn8iO.js renamed to src/Resources/public/assets/main-p8XQmHAA.js

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Resources/public/assets/style--kTQjvMD.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Resources/public/assets/style-Mm3uekCg.css

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/Resources/views/index.html.twig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111
<meta name="folders" content="{{ folders|json_encode }}">
1212
<title>Log Viewer for Symfony</title>
13+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
14+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css" integrity="sha384-QuGBSgV5Im3DzL2z+8Ko9/hqNy/N0O7zwvXAtfd1MvPKWa/UbeLV65cfm4BV5Wgq" crossorigin="anonymous">
1315
<link href="{{ assets.style }}" rel="stylesheet"/>
1416
{# Toggle dark mode based on system settings #}
1517
<script>document.documentElement.dataset.bsTheme = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';</script>

0 commit comments

Comments
 (0)