chore(client): load bootstrap locally (#36262)
This commit is contained in:
@@ -1,13 +1,6 @@
|
||||
import React from 'react';
|
||||
|
||||
const meta = [
|
||||
<meta charSet='utf-8' key='charset' />,
|
||||
<meta content='IE=edge' httpEquiv='X-UA-Compatible' key='IE=edge' />,
|
||||
<meta
|
||||
content='width=device-width, initial-scale=1.0'
|
||||
key='viewport'
|
||||
name='viewport'
|
||||
/>,
|
||||
<meta content='summary_large_image' key='twitter:card' name='twitter:card' />,
|
||||
<meta
|
||||
content='https://s3.amazonaws.com/freecodecamp/curriculum-diagram-full.jpg'
|
||||
|
@@ -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}>
|
||||
|
Reference in New Issue
Block a user