Skip to content

Commit 9d18c7b

Browse files
committed
Fixed Tailwind Issues
1 parent 3b0fb17 commit 9d18c7b

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/components/LeftNav.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import { useStaticQuery, graphql, Link } from 'gatsby';
55
import React from 'react';
66
import './LeftNav.scss';
7-
import book from './images/book.png';
87

98

109
const { v4: uuidv4 } = require('uuid');
@@ -86,7 +85,7 @@ class ListItem extends React.Component {
8685
return ( url.indexOf("/overview/") === -1 &&
8786
<li key={`${data.leftNavTitle || title}-${uuidv4()}`} className={`child${this.inUrl(url) ? ' currentUrl text_green' : ''}`}>
8887
<div className="activeIndicator" />
89-
<img src={book} alt="book"/>
88+
<img src='https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/Updated_Doc_Images/book.png' loading='eager' alt='book' />
9089
<Link to={url}>{data.leftNavTitle || title}</Link>
9190
</li>
9291
);

tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
purge: [],
2+
purge: ['./src/**/*.{js,jsx,ts,tsx,md}'],
33
darkMode: false, // or 'media' or 'class'
44
theme: {
55
extend: {

0 commit comments

Comments
 (0)