chore(client): load bootstrap locally (#36262)

This commit is contained in:
Valeriy
2019-06-10 20:26:39 +03:00
committed by mrugesh
parent 79b46ca5ef
commit 577caf6f2a
8 changed files with 305 additions and 15 deletions

View File

@@ -9,16 +9,11 @@ export default class HTML extends React.Component {
<meta charSet='utf-8' />
<meta content='ie=edge' httpEquiv='x-ua-compatible' />
<meta
content='width=device-width, initial-scale=1, shrink-to-fit=no'
content='width=device-width, initial-scale=1.0, shrink-to-fit=no'
name='viewport'
/>
<link
href={
'https://cdn.freecodecamp.org/compiled/bootstrap/v3/css/' +
'bootstrap.min.css'
}
rel='stylesheet'
/>
<link as='style' href='/css/bootstrap.min.css' rel='preload' />
<link href='/css/bootstrap.min.css' rel='stylesheet' />
{this.props.headComponents}
</head>
<body {...this.props.bodyAttributes}>