Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use external hotjarNPS.css styles + eslint prettier config #218

Merged
merged 2 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.8.1",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
Expand Down
14 changes: 5 additions & 9 deletions src/components/Head.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@ import PropTypes from 'prop-types';
import React from 'react';
import isBrowser from '../shared/browserCheck';

const Head = ({
title, description, ogDescription, ogImage, ogTitle, ogImageAlt,
}) => (
const Head = ({ title, description, ogDescription, ogImage, ogTitle, ogImageAlt }) => (
<NextHead>
<title key="title">
{title}
{' '}
| YSM
</title>
<title key="title">{title} | YSM</title>
<link rel="icon" href="/favicon.png" />
<link href="https://bloom.chayn.co/hotjarNPS.css" rel="stylesheet" type="text/css" />
<meta name="description" content={description} />
<meta property="og:url" content={isBrowser ? window.location.href : null} />
<meta property="og:type" content="website" />
Expand All @@ -38,7 +33,8 @@ Head.propTypes = {

Head.defaultProps = {
ogTitle: null,
description: 'Browse accessible resources curated by a team of survivors. Save what you love and come back anytime.',
description:
'Browse accessible resources curated by a team of survivors. Save what you love and come back anytime.',
ogDescription: null,
ogImage: '/logo.png',
ogImageAlt: 'Line drawing',
Expand Down
1 change: 0 additions & 1 deletion src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { axiosGet } from '../shared/axios';
import isBrowser from '../shared/browserCheck';
import useWindowDimensions from '../shared/dimensions';
import { useStore } from '../store/store';
import '../styles/hotjarNPS.css';
import theme from '../styles/theme';

const Footer = dynamic(() => import('../components/Footer'), { ssr: false });
Expand Down
206 changes: 0 additions & 206 deletions src/styles/hotjarNPS.css

This file was deleted.

Loading