chore(client): remove bootstrap.min.css (#55068)

This commit is contained in:
Huyen Nguyen
2024-06-13 14:56:28 +07:00
committed by GitHub
parent b8810f339e
commit 68902644c0
34 changed files with 446 additions and 175 deletions
-10
View File
@@ -1,4 +1,3 @@
import { withPrefix } from 'gatsby';
import i18next from 'i18next';
import React from 'react';
@@ -8,16 +7,7 @@ export function getheadTagComponents(): JSX.Element[] {
const socialImage =
'https://cdn.freecodecamp.org/platform/universal/fcc_meta_1920X1080-indigo.png';
const pathToBootstrap = withPrefix('/css/bootstrap.min.css');
const headTags = [
<link
as='style'
href={pathToBootstrap}
key='bootstrap-min-preload'
rel='preload'
/>,
<link href={pathToBootstrap} key='bootstrap-min' rel='stylesheet' />,
<meta content='freeCodeCamp.org' key='og:title' name='og:title' />,
<meta
content={i18next.t('metaTags:social-description')}