From 62fdce6ae5c7574b7c3298acc0123b7423112738 Mon Sep 17 00:00:00 2001 From: developomp Date: Sun, 30 May 2021 19:39:34 +0900 Subject: [PATCH] chagned pages file name to uppercase --- source/src/App.tsx | 8 ++++---- source/src/components/Spinner.tsx | 2 +- source/src/pages/{notfound.tsx => NotFound.tsx} | 0 source/src/pages/{page.tsx => Page.tsx} | 2 +- source/src/pages/{portfolio.tsx => Portfolio.tsx} | 0 source/src/pages/{postList.tsx => PostList.tsx} | 0 6 files changed, 6 insertions(+), 6 deletions(-) rename source/src/pages/{notfound.tsx => NotFound.tsx} (100%) rename source/src/pages/{page.tsx => Page.tsx} (98%) rename source/src/pages/{portfolio.tsx => Portfolio.tsx} (100%) rename source/src/pages/{postList.tsx => PostList.tsx} (100%) diff --git a/source/src/App.tsx b/source/src/App.tsx index 0e6344c..21b5236 100644 --- a/source/src/App.tsx +++ b/source/src/App.tsx @@ -11,10 +11,10 @@ import Spinner from "./components/Spinner" import Navbar from "./components/Navbar" import Footer from "./components/Footer" -import PostList from "./pages/postList" -import Page from "./pages/page" -import NotFound from "./pages/notfound" -import Portfolio from "./pages/portfolio" +import PostList from "./pages/PostList" +import Page from "./pages/Page" +import NotFound from "./pages/NotFound" +import Portfolio from "./pages/Portfolio" // Theme that will be used throughout the website const GlobalStyle = createGlobalStyle<{ theme: { currentTheme: string } }>` diff --git a/source/src/components/Spinner.tsx b/source/src/components/Spinner.tsx index bcb7130..6178537 100644 --- a/source/src/components/Spinner.tsx +++ b/source/src/components/Spinner.tsx @@ -53,7 +53,7 @@ export default class Spinner extends React.Component { animation-timing-function: linear; animation-iteration-count: infinite; - /* use for loops here? */ + /* use a for loop here? */ &:nth-child(1) { animation-delay: 200ms; } diff --git a/source/src/pages/notfound.tsx b/source/src/pages/NotFound.tsx similarity index 100% rename from source/src/pages/notfound.tsx rename to source/src/pages/NotFound.tsx diff --git a/source/src/pages/page.tsx b/source/src/pages/Page.tsx similarity index 98% rename from source/src/pages/page.tsx rename to source/src/pages/Page.tsx index 78bec3c..39f017e 100644 --- a/source/src/pages/page.tsx +++ b/source/src/pages/Page.tsx @@ -4,7 +4,7 @@ import { Helmet } from "react-helmet-async" import pages from "../pages.json" -import NotFound from "./notfound" +import NotFound from "./NotFound" export default class Page extends React.Component { // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/source/src/pages/portfolio.tsx b/source/src/pages/Portfolio.tsx similarity index 100% rename from source/src/pages/portfolio.tsx rename to source/src/pages/Portfolio.tsx diff --git a/source/src/pages/postList.tsx b/source/src/pages/PostList.tsx similarity index 100% rename from source/src/pages/postList.tsx rename to source/src/pages/PostList.tsx