Skip to content

Commit

Permalink
rename: move src/layouts to src/components/layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
lumirlumir committed Sep 16, 2024
1 parent 1abd394 commit 5c1d368
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/docs/[...categories]/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import parse from 'html-react-parser';

import { REPOSITORY } from '@/constants/github';
import { DOCS } from '@/constants/path';
import Article from '@/layouts/Article';
import Article from '@/components/layouts/Article';

export async function generateStaticParams() {
const paths = await fs.readdir(DOCS, {
Expand Down
8 changes: 4 additions & 4 deletions src/app/layout.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { SpeedInsights } from '@vercel/speed-insights/next';

import Aside from '@/layouts/Aside';
import Body from '@/layouts/Body';
import Header from '@/layouts/Header';
import Main from '@/layouts/Main';
import Aside from '@/components/layouts/Aside';
import Body from '@/components/layouts/Body';
import Header from '@/components/layouts/Header';
import Main from '@/components/layouts/Main';

import Categories from '@/components/aside/Categories';
import Home from '@/components/aside/Home';
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { USER } from '@/constants/github';

import Article from '@/layouts/Article';
import Article from '@/components/layouts/Article';

export default function Page() {
return <Article>{`Hello, It's ${USER.name}'s blog!`}</Article>;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5c1d368

Please sign in to comment.