qa: Use local bootstrap

This commit is contained in:
nemunaire 2022-11-07 05:48:53 +01:00
parent 5560a526b1
commit cd51246d9b
3 changed files with 41 additions and 4 deletions

View File

@ -8,6 +8,8 @@
"name": "qa", "name": "qa",
"version": "0.0.1", "version": "0.0.1",
"dependencies": { "dependencies": {
"bootstrap": "^5.2.2",
"bootstrap-icons": "^1.9.1",
"sveltestrap": "^5.6.3" "sveltestrap": "^5.6.3"
}, },
"devDependencies": { "devDependencies": {
@ -524,6 +526,29 @@
"file-uri-to-path": "1.0.0" "file-uri-to-path": "1.0.0"
} }
}, },
"node_modules/bootstrap": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.2.2.tgz",
"integrity": "sha512-dEtzMTV71n6Fhmbg4fYJzQsw1N29hJKO1js5ackCgIpDcGid2ETMGC6zwSYw09v05Y+oRdQ9loC54zB1La3hHQ==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/twbs"
},
{
"type": "opencollective",
"url": "https://opencollective.com/bootstrap"
}
],
"peerDependencies": {
"@popperjs/core": "^2.11.6"
}
},
"node_modules/bootstrap-icons": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.9.1.tgz",
"integrity": "sha512-d4ZkO30MIkAhQ2nNRJqKXJVEQorALGbLWTuRxyCTJF96lRIV6imcgMehWGJUiJMJhglN0o2tqLIeDnMdiQEE9g=="
},
"node_modules/brace-expansion": { "node_modules/brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
@ -3197,6 +3222,17 @@
"file-uri-to-path": "1.0.0" "file-uri-to-path": "1.0.0"
} }
}, },
"bootstrap": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.2.2.tgz",
"integrity": "sha512-dEtzMTV71n6Fhmbg4fYJzQsw1N29hJKO1js5ackCgIpDcGid2ETMGC6zwSYw09v05Y+oRdQ9loC54zB1La3hHQ==",
"requires": {}
},
"bootstrap-icons": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.9.1.tgz",
"integrity": "sha512-d4ZkO30MIkAhQ2nNRJqKXJVEQorALGbLWTuRxyCTJF96lRIV6imcgMehWGJUiJMJhglN0o2tqLIeDnMdiQEE9g=="
},
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",

View File

@ -22,6 +22,8 @@
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"bootstrap": "^5.2.2",
"bootstrap-icons": "^1.9.1",
"sveltestrap": "^5.6.3" "sveltestrap": "^5.6.3"
} }
} }

View File

@ -1,9 +1,10 @@
<script> <script>
import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap-icons/font/bootstrap-icons.css';
import '../app.css'; import '../app.css';
import { import {
Container, Container,
Styles,
} from 'sveltestrap'; } from 'sveltestrap';
import Header from '$lib/components/Header.svelte'; import Header from '$lib/components/Header.svelte';
@ -18,11 +19,9 @@
</script> </script>
<svelte:head> <svelte:head>
<!--title>{$settings.title}</title--> <title>FIC QA</title>
</svelte:head> </svelte:head>
<Styles />
<Header /> <Header />
<slot></slot> <slot></slot>