Skip to content

Commit

Permalink
fix file name in components dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dak2 committed May 31, 2021
1 parent e1fdf7e commit 928da7e
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion components/atoms/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormatedToday } from './date';
import { FormatedToday } from './Date';

const Footer = () => {
return (
Expand Down
18 changes: 9 additions & 9 deletions components/atoms/tagIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import TypeScript from './icons/typescript';
import React from './icons/react';
import JavaScript from './icons/javascript';
import Ruby from './icons/ruby';
import Go from './icons/go';
import Rust from './icons/rust';
import RubyOnRails from './icons/rails';
import AWS from './icons/aws';
import Docker from './icons/docker';
import TypeScript from './icons/Typescript';
import React from './icons/React';
import JavaScript from './icons/Javascript';
import Ruby from './icons/Ruby';
import Go from './icons/Go';
import Rust from './icons/Rust';
import RubyOnRails from './icons/Rails';
import AWS from './icons/Aws';
import Docker from './icons/Docker';

type Props = {
tagName: string;
Expand Down
4 changes: 2 additions & 2 deletions components/molecules/headerBar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Link from 'next/link';
import GithubIcon from '../atoms/icons/github';
import ThemeChanger from '../atoms/themeChanger';
import GithubIcon from '../atoms/icons/Github';
import ThemeChanger from '../atoms/ThemeChanger';

const HeaderBar = () => {
return (
Expand Down
4 changes: 2 additions & 2 deletions components/molecules/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Head from 'next/head';

import Link from 'next/link';
import HeaderBar from './headerBar';
import Footer from '../atoms/footer';
import HeaderBar from './HeaderBar';
import Footer from '../atoms/Footer';

export const siteTitle = 'Kdevlog';

Expand Down
4 changes: 2 additions & 2 deletions components/molecules/pagination.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Link from 'next/link';
import { range, PER_PAGE } from '../../lib/const';
import Left from '../atoms/icons/left';
import Right from '../atoms/icons/right';
import Left from '../atoms/icons/Left';
import Right from '../atoms/icons/Right';
import { useRouter } from 'next/router';

const Pagination = ({ totalCount }) => {
Expand Down
6 changes: 3 additions & 3 deletions pages/archives/tags/[...params].tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import Layout, { siteTitle } from '../../../components/molecules/layout';
import Layout, { siteTitle } from '../../../components/molecules/Layout';
import { httpRequest } from '../../../lib/api';
import Link from 'next/link';
import { CMS_API_KEY, CMS_URL } from '../../../lib/const';
import Head from 'next/head';
import { FormatedCreatedAt } from '../../../components/atoms/date';
import TagIcon from '../../../components/atoms/tagIcon';
import { FormatedCreatedAt } from '../../../components/atoms/Date';
import TagIcon from '../../../components/atoms/TagIcon';

export default function Tags({ allPostsData, tagName }) {
return (
Expand Down
6 changes: 3 additions & 3 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import Head from 'next/head';
import Layout, { siteTitle } from '../components/molecules/layout';
import Layout, { siteTitle } from '../components/molecules/Layout';
import { httpRequest } from '../lib/api';
import { CMS_API_KEY, CMS_URL } from '../lib/const';
import Link from 'next/link';
import { FormatedCreatedAt } from '../components/atoms/date';
import Pagination from '../components/molecules/pagination';
import { FormatedCreatedAt } from '../components/atoms/Date';
import Pagination from '../components/molecules/Pagination';

export default function Home({ allPostsData, totalCount }) {
return (
Expand Down
4 changes: 2 additions & 2 deletions pages/posts/[id].tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Layout from '../../components/molecules/layout';
import Layout from '../../components/molecules/Layout';
import { httpRequest } from '../../lib/api';
import { CMS_API_KEY, CMS_URL } from '../../lib/const';
import Head from 'next/head';
import { FormatedCreatedAt } from '../../components/atoms/date';
import { FormatedCreatedAt } from '../../components/atoms/Date';
import marked from 'marked';
import hljs, { registLanguage } from '../../lib/myHighlight';
import 'highlight.js/styles/ocean.css';
Expand Down
6 changes: 3 additions & 3 deletions pages/posts/page/[id].tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Link from 'next/link';
import Head from 'next/head';
import Layout, { siteTitle } from '../../../components/molecules/layout';
import Pagination from '../../../components/molecules/pagination';
import { FormatedCreatedAt } from '../../../components/atoms/date';
import Layout, { siteTitle } from '../../../components/molecules/Layout';
import Pagination from '../../../components/molecules/Pagination';
import { FormatedCreatedAt } from '../../../components/atoms/Date';
import { httpRequest } from '../../../lib/api';
import { CMS_API_KEY, CMS_URL } from '../../../lib/const';
import { range, PER_PAGE } from '../../../lib/const';
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"forceConsistentCasingInFileNames": false,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
Expand Down

0 comments on commit 928da7e

Please sign in to comment.