Skip to content

Commit

Permalink
refactor: remove unnecesary component module
Browse files Browse the repository at this point in the history
  • Loading branch information
kemilbeltre committed Feb 4, 2024
1 parent 3d4039d commit 0a421f8
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/core/components/dialog/index.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/core/components/divider/index.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/core/components/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/core/components/popover/index.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/core/layouts/base-layout/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { useState } from 'react'
import Link from 'next/link'
import Image from 'next/image'
import { useTheme } from 'next-themes'
import { Popover, Dialog } from '@headlessui/react'
import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline'
import classnames from 'classnames'

import { Dialog, Divider, Popover } from '@core/components'
import { Urls } from '@core/constants'

import styles from './styles.module.css'
Expand Down Expand Up @@ -172,7 +172,7 @@ export default function Header() {
</div>
</Dialog.Panel>
</Dialog>
<Divider />
<hr className="border-gray-200 dark:border-gray-800" />
</header>
)
}
2 changes: 0 additions & 2 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ const config: Config = {
darkMode: ['class'],
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/core/**/*.{js,ts,jsx,tsx,mdx}',
'./src/features/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
Expand Down

0 comments on commit 0a421f8

Please sign in to comment.