mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 19:05:41 +00:00
Moved layout components into layouts dir
This commit is contained in:
parent
8672675a52
commit
4dd5e30f81
@ -1,10 +1,10 @@
|
||||
import {ReactNode} from 'react'
|
||||
import Head from 'next/head'
|
||||
import {usePathname} from 'next/navigation'
|
||||
import {Container} from './Container'
|
||||
import {Container} from '@/components/Container'
|
||||
import {formatDate} from '@/lib/formatDate'
|
||||
import {Prose} from './Prose'
|
||||
import {Views} from './Views'
|
||||
import {Prose} from '@/components/Prose'
|
||||
import {Views} from '@/components/Views'
|
||||
|
||||
type ArticleLayout = {
|
||||
children?: ReactNode
|
@ -1,6 +1,6 @@
|
||||
import {ReactNode} from 'react'
|
||||
import clsx from 'clsx'
|
||||
import {Container} from './Container'
|
||||
import {Container} from '@/components/Container'
|
||||
|
||||
type SimpleLayout = {
|
||||
title: string
|
@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import Head from 'next/head'
|
||||
import {GetStaticProps} from 'next'
|
||||
import {SimpleLayout} from '@/components/SimpleLayout'
|
||||
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
|
||||
import {Card} from '@/components/Card'
|
||||
import {CardGroup} from '@/components/CardGroup'
|
||||
import {numberFormat} from '@/lib/numberFormat'
|
||||
|
@ -1,7 +1,7 @@
|
||||
import {GetStaticProps} from 'next'
|
||||
import Head from 'next/head'
|
||||
import {Card} from '@/components/Card'
|
||||
import {SimpleLayout} from '@/components/SimpleLayout'
|
||||
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
|
||||
import {SocialLink} from '@/components/SocialLink'
|
||||
import {StarIcon} from '@/components/icons/StarIcon'
|
||||
import {ForkIcon} from '@/components/icons/ForkIcon'
|
||||
|
@ -2,7 +2,7 @@ import Head from 'next/head'
|
||||
|
||||
import {Card} from '@/components/Card'
|
||||
import {Section} from '@/components/Section'
|
||||
import {SimpleLayout} from '@/components/SimpleLayout'
|
||||
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
|
||||
|
||||
function ToolsSection({children, ...props}) {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {ArticleLayout} from '@/components/ArticleLayout'
|
||||
import {ArticleLayout} from '@/components/layouts/ArticleLayout'
|
||||
import {createSlug} from '@/lib/createSlug'
|
||||
|
||||
export const meta = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {ArticleLayout} from '@/components/ArticleLayout'
|
||||
import {ArticleLayout} from '@/components/layouts/ArticleLayout'
|
||||
import {createSlug} from '@/lib/createSlug'
|
||||
|
||||
export const meta = {
|
||||
|
@ -2,7 +2,7 @@ import {GetStaticProps} from 'next'
|
||||
import Head from 'next/head'
|
||||
|
||||
import {Card} from '@/components/Card'
|
||||
import {SimpleLayout} from '@/components/SimpleLayout'
|
||||
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
|
||||
import {getAllArticles} from '@/lib/getAllArticles'
|
||||
import {formatDate} from '@/lib/formatDate'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user