File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import escapeClosingTags from '../../utility/escapeClosingTags.js';
2323import FaviconLinks from './FaviconLinks.js' ;
2424import globalsScript from './globalsScript.mjs' ;
2525import MetaDescription from './MetaDescription.js' ;
26+ import bootstrapCssUrl from 'bootstrap/dist/css/bootstrap.css' ;
2627
2728const canonRegexp = new RegExp ( '^(https?:)?//' + WEB_SERVER ) ;
2829function canonicalize ( url : string ) {
@@ -97,7 +98,7 @@ component Head(
9798
9899 { isHomepage && (
99100 < link
100- href = "/static/build/bootstrap.css"
101+ href = { bootstrapCssUrl }
101102 rel = "stylesheet"
102103 type = "text/css"
103104 />
Original file line number Diff line number Diff line change @@ -213,10 +213,6 @@ component Navbar() {
213213 }
214214 } ;
215215
216- React . useEffect ( ( ) => {
217- void import ( 'bootstrap/dist/js/bootstrap.bundle.min.js' ) ;
218- } , [ ] ) ;
219-
220216 return (
221217 < nav className = "navbar navbar-expand-lg shadow-sm" aria-label = "Offcanvas navbar large" >
222218 < div className = "container-fluid gap-4 position-relative layout-width" >
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export default {
5757 * remove Flow and ESM syntax; this is also fine because it's free of
5858 * side-effects.
5959 */
60- allowlist : [ / ( j q u e r y | m u t a t e - c o w | p o 2 j s o n | w e i g h t - b a l a n c e d - t r e e ) / ] ,
60+ allowlist : [ / ( b o o t s t r a p | j q u e r y | m u t a t e - c o w | p o 2 j s o n | w e i g h t - b a l a n c e d - t r e e ) / ] ,
6161 modulesFromFile : true ,
6262 } ) ,
6363 ] ,
You can’t perform that action at this time.
0 commit comments