mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-11 18:25:41 +00:00
Organised ui components
This commit is contained in:
parent
55a5d5fe6f
commit
cd33a051da
@ -1,8 +1,8 @@
|
||||
import Link from 'next/link'
|
||||
import React, {ReactNode} from 'react'
|
||||
import {OuterContainer, InnerContainer} from './Container'
|
||||
import {SpotifyPlayer} from './SpotifyPlayer'
|
||||
import {SocialLink} from '@/components/SocialLink'
|
||||
import {SpotifyPlayer} from './ui/SpotifyPlayer'
|
||||
import {SocialLink} from '@/components/ui/SocialLink'
|
||||
import {GitHubIcon, LinkedInIcon, TwitterIcon} from '@/components/icons/SocialIcons'
|
||||
|
||||
function NavLink({href, children}: { href: string, children: ReactNode }) {
|
||||
|
@ -5,7 +5,7 @@ import {Fragment, useEffect, useRef} from 'react'
|
||||
import {Popover, Transition} from '@headlessui/react'
|
||||
import clsx from 'clsx'
|
||||
import {Container} from './Container'
|
||||
import {MobileNavItem} from './MobileNavItem'
|
||||
import {MobileNavItem} from './ui/MobileNavItem'
|
||||
import {CloseIcon} from './icons/CloseIcon'
|
||||
import {ChevronDownIcon} from './icons/ChevronDownIcon'
|
||||
import {MoonIcon} from './icons/MoonIcon'
|
||||
|
@ -3,8 +3,8 @@ import Head from 'next/head'
|
||||
import {usePathname} from 'next/navigation'
|
||||
import {Container} from '@/components/Container'
|
||||
import {formatDate} from '@/lib/formatDate'
|
||||
import {Prose} from '@/components/Prose'
|
||||
import {Views} from '@/components/Views'
|
||||
import {Prose} from '@/components/ui/Prose'
|
||||
import {Views} from '@/components/ui/Views'
|
||||
|
||||
type ArticleLayout = {
|
||||
children?: ReactNode
|
||||
|
@ -1,7 +1,7 @@
|
||||
import {BriefcaseIcon} from '@/components/icons/BriefcaseIcon'
|
||||
import {ArrowDownIcon} from '@/components/icons/ArrowDownIcon'
|
||||
import {Button} from '@/components/Button'
|
||||
import {Cta} from '@/components/Cta'
|
||||
import {Button} from './Button'
|
||||
import {Cta} from './Cta'
|
||||
|
||||
type Work = {
|
||||
company: string
|
@ -1,6 +1,6 @@
|
||||
import {useRef, SyntheticEvent, MutableRefObject, useState} from 'react'
|
||||
import {Cta} from '@/components/Cta'
|
||||
import {Button} from '@/components/Button'
|
||||
import {Cta} from '@/components/ui/Cta'
|
||||
import {Button} from '@/components/ui/Button'
|
||||
import {InboxIcon} from '@/components/icons/InboxIcon'
|
||||
|
||||
export function Subscribe() {
|
@ -3,8 +3,8 @@ import Head from 'next/head'
|
||||
import {GetStaticProps} from 'next'
|
||||
import useSWR from 'swr'
|
||||
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
|
||||
import {Card} from '@/components/Card'
|
||||
import {CardGroup} from '@/components/CardGroup'
|
||||
import {Card} from '@/components/ui/Card'
|
||||
import {CardGroup} from '@/components/ui/CardGroup'
|
||||
import {numberFormat} from '@/lib/numberFormat'
|
||||
import {getDashboardData} from '@/lib/dashboard'
|
||||
import fetcher from '@/lib/fetcher'
|
||||
|
@ -1,16 +1,16 @@
|
||||
import React from 'react'
|
||||
import Head from 'next/head'
|
||||
import {GetStaticProps} from 'next'
|
||||
import {Card} from '@/components/Card'
|
||||
import {Resume} from '@/components/Resume'
|
||||
import {Card} from '@/components/ui/Card'
|
||||
import {Resume} from '@/components/ui/Resume'
|
||||
import {Container} from '@/components/Container'
|
||||
import {
|
||||
GitHubIcon,
|
||||
LinkedInIcon,
|
||||
TwitterIcon
|
||||
} from '@/components/icons/SocialIcons'
|
||||
import {SocialLink} from '@/components/SocialLink'
|
||||
import {Views} from '@/components/Views'
|
||||
import {SocialLink} from '@/components/ui/SocialLink'
|
||||
import {Views} from '@/components/ui/Views'
|
||||
import {formatDate} from '@/lib/formatDate'
|
||||
import {generateRssFeed} from '@/lib/generateRssFeed'
|
||||
import {generateSitemap} from '@/lib/generateSitemap'
|
||||
|
@ -1,6 +1,6 @@
|
||||
import {GetStaticProps} from 'next'
|
||||
import Head from 'next/head'
|
||||
import {Card} from '@/components/Card'
|
||||
import {Card} from '@/components/ui/Card'
|
||||
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
|
||||
import {SparklesIcon} from '@/components/icons/SparklesIcon'
|
||||
import {ShareIcon} from '@/components/icons/ShareIcon'
|
||||
|
@ -1,7 +1,7 @@
|
||||
import Head from 'next/head'
|
||||
|
||||
import {Card} from '@/components/Card'
|
||||
import {Section} from '@/components/Section'
|
||||
import {Card} from '@/components/ui/Card'
|
||||
import {Section} from '@/components/ui/Section'
|
||||
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
|
||||
|
||||
function ToolsSection({children, ...props}) {
|
||||
|
@ -1,9 +1,9 @@
|
||||
import React from 'react'
|
||||
import {GetStaticProps} from 'next'
|
||||
import Head from 'next/head'
|
||||
import {Card} from '@/components/Card'
|
||||
import {Card} from '@/components/ui/Card'
|
||||
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
|
||||
import {Views} from '@/components/Views'
|
||||
import {Views} from '@/components/ui/Views'
|
||||
import {getAllArticles} from '@/lib/getAllArticles'
|
||||
import {formatDate} from '@/lib/formatDate'
|
||||
import {Article} from 'types'
|
||||
|
Loading…
Reference in New Issue
Block a user