From 5f2de3a10847385f8d9da97de4d2508e2f50b0fd Mon Sep 17 00:00:00 2001 From: divlo Date: Mon, 3 Aug 2020 12:11:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20.jsx=20files=20extensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/components/{CodeBlock.js => CodeBlock.jsx} | 0 website/components/Footer/{Footer.js => Footer.jsx} | 0 .../FunctionAdmin/{AddEditFunction.js => AddEditFunction.jsx} | 2 +- .../{EditArticleFunction.js => EditArticleFunction.jsx} | 0 .../FunctionAdmin/{EditFormFunction.js => EditFormFunction.jsx} | 0 .../FunctionCard/{FunctionCard.js => FunctionCard.jsx} | 0 .../CommentCard/{CommentCard.js => CommentCard.jsx} | 0 .../FunctionPage/{FunctionArticle.js => FunctionArticle.jsx} | 0 .../{FunctionComments.js => FunctionComments.jsx} | 0 .../{FunctionComponentTop.js => FunctionComponentTop.jsx} | 0 .../FunctionPage/{FunctionForm.js => FunctionForm.jsx} | 0 .../FunctionPage/{FunctionPage.js => FunctionPage.jsx} | 0 .../FunctionPage/{FunctionTabs.js => FunctionTabs.jsx} | 0 .../FunctionPage/{FunctionTabsTop.js => FunctionTabsTop.jsx} | 0 .../FunctionsList/{FunctionsList.js => FunctionsList.jsx} | 0 website/components/{HeadTag.js => HeadTag.jsx} | 0 website/components/Header/{Header.js => Header.jsx} | 0 .../components/Header/{NavigationLink.js => NavigationLink.jsx} | 0 website/components/{Loader.js => Loader.jsx} | 0 website/components/{Modal.js => Modal.jsx} | 0 website/contexts/{UserContext.js => UserContext.jsx} | 0 website/hoc/{withoutAuth.js => withoutAuth.jsx} | 0 website/pages/{404.js => 404.jsx} | 0 website/pages/{_app.js => _app.jsx} | 0 website/pages/{_document.js => _document.jsx} | 0 website/pages/{about.js => about.jsx} | 0 website/pages/admin/{[slug].js => [slug].jsx} | 0 website/pages/admin/{index.js => index.jsx} | 0 .../pages/admin/{manageCategories.js => manageCategories.jsx} | 0 website/pages/admin/{manageQuotes.js => manageQuotes.jsx} | 0 website/pages/functions/{[slug].js => [slug].jsx} | 0 .../functions/{chronometerTimer.js => chronometerTimer.jsx} | 0 website/pages/functions/{index.js => index.jsx} | 0 website/pages/functions/{randomQuote.js => randomQuote.jsx} | 0 website/pages/functions/{rightPrice.js => rightPrice.jsx} | 0 website/pages/functions/{toDoList.js => toDoList.jsx} | 0 website/pages/{index.js => index.jsx} | 0 website/pages/users/{[name].js => [name].jsx} | 0 website/pages/users/{forgotPassword.js => forgotPassword.jsx} | 0 website/pages/users/{index.js => index.jsx} | 0 website/pages/users/{login.js => login.jsx} | 0 website/pages/users/{newPassword.js => newPassword.jsx} | 0 website/pages/users/{register.js => register.jsx} | 0 43 files changed, 1 insertion(+), 1 deletion(-) rename website/components/{CodeBlock.js => CodeBlock.jsx} (100%) rename website/components/Footer/{Footer.js => Footer.jsx} (100%) rename website/components/FunctionAdmin/{AddEditFunction.js => AddEditFunction.jsx} (99%) rename website/components/FunctionAdmin/{EditArticleFunction.js => EditArticleFunction.jsx} (100%) rename website/components/FunctionAdmin/{EditFormFunction.js => EditFormFunction.jsx} (100%) rename website/components/FunctionCard/{FunctionCard.js => FunctionCard.jsx} (100%) rename website/components/FunctionPage/CommentCard/{CommentCard.js => CommentCard.jsx} (100%) rename website/components/FunctionPage/{FunctionArticle.js => FunctionArticle.jsx} (100%) rename website/components/FunctionPage/FunctionComments/{FunctionComments.js => FunctionComments.jsx} (100%) rename website/components/FunctionPage/{FunctionComponentTop.js => FunctionComponentTop.jsx} (100%) rename website/components/FunctionPage/{FunctionForm.js => FunctionForm.jsx} (100%) rename website/components/FunctionPage/{FunctionPage.js => FunctionPage.jsx} (100%) rename website/components/FunctionPage/{FunctionTabs.js => FunctionTabs.jsx} (100%) rename website/components/FunctionPage/{FunctionTabsTop.js => FunctionTabsTop.jsx} (100%) rename website/components/FunctionsList/{FunctionsList.js => FunctionsList.jsx} (100%) rename website/components/{HeadTag.js => HeadTag.jsx} (100%) rename website/components/Header/{Header.js => Header.jsx} (100%) rename website/components/Header/{NavigationLink.js => NavigationLink.jsx} (100%) rename website/components/{Loader.js => Loader.jsx} (100%) rename website/components/{Modal.js => Modal.jsx} (100%) rename website/contexts/{UserContext.js => UserContext.jsx} (100%) rename website/hoc/{withoutAuth.js => withoutAuth.jsx} (100%) rename website/pages/{404.js => 404.jsx} (100%) rename website/pages/{_app.js => _app.jsx} (100%) rename website/pages/{_document.js => _document.jsx} (100%) rename website/pages/{about.js => about.jsx} (100%) rename website/pages/admin/{[slug].js => [slug].jsx} (100%) rename website/pages/admin/{index.js => index.jsx} (100%) rename website/pages/admin/{manageCategories.js => manageCategories.jsx} (100%) rename website/pages/admin/{manageQuotes.js => manageQuotes.jsx} (100%) rename website/pages/functions/{[slug].js => [slug].jsx} (100%) rename website/pages/functions/{chronometerTimer.js => chronometerTimer.jsx} (100%) rename website/pages/functions/{index.js => index.jsx} (100%) rename website/pages/functions/{randomQuote.js => randomQuote.jsx} (100%) rename website/pages/functions/{rightPrice.js => rightPrice.jsx} (100%) rename website/pages/functions/{toDoList.js => toDoList.jsx} (100%) rename website/pages/{index.js => index.jsx} (100%) rename website/pages/users/{[name].js => [name].jsx} (100%) rename website/pages/users/{forgotPassword.js => forgotPassword.jsx} (100%) rename website/pages/users/{index.js => index.jsx} (100%) rename website/pages/users/{login.js => login.jsx} (100%) rename website/pages/users/{newPassword.js => newPassword.jsx} (100%) rename website/pages/users/{register.js => register.jsx} (100%) diff --git a/website/components/CodeBlock.js b/website/components/CodeBlock.jsx similarity index 100% rename from website/components/CodeBlock.js rename to website/components/CodeBlock.jsx diff --git a/website/components/Footer/Footer.js b/website/components/Footer/Footer.jsx similarity index 100% rename from website/components/Footer/Footer.js rename to website/components/Footer/Footer.jsx diff --git a/website/components/FunctionAdmin/AddEditFunction.js b/website/components/FunctionAdmin/AddEditFunction.jsx similarity index 99% rename from website/components/FunctionAdmin/AddEditFunction.js rename to website/components/FunctionAdmin/AddEditFunction.jsx index 3c9be52..17991cd 100644 --- a/website/components/FunctionAdmin/AddEditFunction.js +++ b/website/components/FunctionAdmin/AddEditFunction.jsx @@ -1,6 +1,6 @@ import { useState, useEffect } from 'react' import htmlParser from 'html-react-parser' -import Loader from '../../components/Loader' +import Loader from '../Loader' import useAPI from '../../hooks/useAPI' import api from '../../utils/api' import '../../public/css/pages/admin.css' diff --git a/website/components/FunctionAdmin/EditArticleFunction.js b/website/components/FunctionAdmin/EditArticleFunction.jsx similarity index 100% rename from website/components/FunctionAdmin/EditArticleFunction.js rename to website/components/FunctionAdmin/EditArticleFunction.jsx diff --git a/website/components/FunctionAdmin/EditFormFunction.js b/website/components/FunctionAdmin/EditFormFunction.jsx similarity index 100% rename from website/components/FunctionAdmin/EditFormFunction.js rename to website/components/FunctionAdmin/EditFormFunction.jsx diff --git a/website/components/FunctionCard/FunctionCard.js b/website/components/FunctionCard/FunctionCard.jsx similarity index 100% rename from website/components/FunctionCard/FunctionCard.js rename to website/components/FunctionCard/FunctionCard.jsx diff --git a/website/components/FunctionPage/CommentCard/CommentCard.js b/website/components/FunctionPage/CommentCard/CommentCard.jsx similarity index 100% rename from website/components/FunctionPage/CommentCard/CommentCard.js rename to website/components/FunctionPage/CommentCard/CommentCard.jsx diff --git a/website/components/FunctionPage/FunctionArticle.js b/website/components/FunctionPage/FunctionArticle.jsx similarity index 100% rename from website/components/FunctionPage/FunctionArticle.js rename to website/components/FunctionPage/FunctionArticle.jsx diff --git a/website/components/FunctionPage/FunctionComments/FunctionComments.js b/website/components/FunctionPage/FunctionComments/FunctionComments.jsx similarity index 100% rename from website/components/FunctionPage/FunctionComments/FunctionComments.js rename to website/components/FunctionPage/FunctionComments/FunctionComments.jsx diff --git a/website/components/FunctionPage/FunctionComponentTop.js b/website/components/FunctionPage/FunctionComponentTop.jsx similarity index 100% rename from website/components/FunctionPage/FunctionComponentTop.js rename to website/components/FunctionPage/FunctionComponentTop.jsx diff --git a/website/components/FunctionPage/FunctionForm.js b/website/components/FunctionPage/FunctionForm.jsx similarity index 100% rename from website/components/FunctionPage/FunctionForm.js rename to website/components/FunctionPage/FunctionForm.jsx diff --git a/website/components/FunctionPage/FunctionPage.js b/website/components/FunctionPage/FunctionPage.jsx similarity index 100% rename from website/components/FunctionPage/FunctionPage.js rename to website/components/FunctionPage/FunctionPage.jsx diff --git a/website/components/FunctionPage/FunctionTabs.js b/website/components/FunctionPage/FunctionTabs.jsx similarity index 100% rename from website/components/FunctionPage/FunctionTabs.js rename to website/components/FunctionPage/FunctionTabs.jsx diff --git a/website/components/FunctionPage/FunctionTabsTop.js b/website/components/FunctionPage/FunctionTabsTop.jsx similarity index 100% rename from website/components/FunctionPage/FunctionTabsTop.js rename to website/components/FunctionPage/FunctionTabsTop.jsx diff --git a/website/components/FunctionsList/FunctionsList.js b/website/components/FunctionsList/FunctionsList.jsx similarity index 100% rename from website/components/FunctionsList/FunctionsList.js rename to website/components/FunctionsList/FunctionsList.jsx diff --git a/website/components/HeadTag.js b/website/components/HeadTag.jsx similarity index 100% rename from website/components/HeadTag.js rename to website/components/HeadTag.jsx diff --git a/website/components/Header/Header.js b/website/components/Header/Header.jsx similarity index 100% rename from website/components/Header/Header.js rename to website/components/Header/Header.jsx diff --git a/website/components/Header/NavigationLink.js b/website/components/Header/NavigationLink.jsx similarity index 100% rename from website/components/Header/NavigationLink.js rename to website/components/Header/NavigationLink.jsx diff --git a/website/components/Loader.js b/website/components/Loader.jsx similarity index 100% rename from website/components/Loader.js rename to website/components/Loader.jsx diff --git a/website/components/Modal.js b/website/components/Modal.jsx similarity index 100% rename from website/components/Modal.js rename to website/components/Modal.jsx diff --git a/website/contexts/UserContext.js b/website/contexts/UserContext.jsx similarity index 100% rename from website/contexts/UserContext.js rename to website/contexts/UserContext.jsx diff --git a/website/hoc/withoutAuth.js b/website/hoc/withoutAuth.jsx similarity index 100% rename from website/hoc/withoutAuth.js rename to website/hoc/withoutAuth.jsx diff --git a/website/pages/404.js b/website/pages/404.jsx similarity index 100% rename from website/pages/404.js rename to website/pages/404.jsx diff --git a/website/pages/_app.js b/website/pages/_app.jsx similarity index 100% rename from website/pages/_app.js rename to website/pages/_app.jsx diff --git a/website/pages/_document.js b/website/pages/_document.jsx similarity index 100% rename from website/pages/_document.js rename to website/pages/_document.jsx diff --git a/website/pages/about.js b/website/pages/about.jsx similarity index 100% rename from website/pages/about.js rename to website/pages/about.jsx diff --git a/website/pages/admin/[slug].js b/website/pages/admin/[slug].jsx similarity index 100% rename from website/pages/admin/[slug].js rename to website/pages/admin/[slug].jsx diff --git a/website/pages/admin/index.js b/website/pages/admin/index.jsx similarity index 100% rename from website/pages/admin/index.js rename to website/pages/admin/index.jsx diff --git a/website/pages/admin/manageCategories.js b/website/pages/admin/manageCategories.jsx similarity index 100% rename from website/pages/admin/manageCategories.js rename to website/pages/admin/manageCategories.jsx diff --git a/website/pages/admin/manageQuotes.js b/website/pages/admin/manageQuotes.jsx similarity index 100% rename from website/pages/admin/manageQuotes.js rename to website/pages/admin/manageQuotes.jsx diff --git a/website/pages/functions/[slug].js b/website/pages/functions/[slug].jsx similarity index 100% rename from website/pages/functions/[slug].js rename to website/pages/functions/[slug].jsx diff --git a/website/pages/functions/chronometerTimer.js b/website/pages/functions/chronometerTimer.jsx similarity index 100% rename from website/pages/functions/chronometerTimer.js rename to website/pages/functions/chronometerTimer.jsx diff --git a/website/pages/functions/index.js b/website/pages/functions/index.jsx similarity index 100% rename from website/pages/functions/index.js rename to website/pages/functions/index.jsx diff --git a/website/pages/functions/randomQuote.js b/website/pages/functions/randomQuote.jsx similarity index 100% rename from website/pages/functions/randomQuote.js rename to website/pages/functions/randomQuote.jsx diff --git a/website/pages/functions/rightPrice.js b/website/pages/functions/rightPrice.jsx similarity index 100% rename from website/pages/functions/rightPrice.js rename to website/pages/functions/rightPrice.jsx diff --git a/website/pages/functions/toDoList.js b/website/pages/functions/toDoList.jsx similarity index 100% rename from website/pages/functions/toDoList.js rename to website/pages/functions/toDoList.jsx diff --git a/website/pages/index.js b/website/pages/index.jsx similarity index 100% rename from website/pages/index.js rename to website/pages/index.jsx diff --git a/website/pages/users/[name].js b/website/pages/users/[name].jsx similarity index 100% rename from website/pages/users/[name].js rename to website/pages/users/[name].jsx diff --git a/website/pages/users/forgotPassword.js b/website/pages/users/forgotPassword.jsx similarity index 100% rename from website/pages/users/forgotPassword.js rename to website/pages/users/forgotPassword.jsx diff --git a/website/pages/users/index.js b/website/pages/users/index.jsx similarity index 100% rename from website/pages/users/index.js rename to website/pages/users/index.jsx diff --git a/website/pages/users/login.js b/website/pages/users/login.jsx similarity index 100% rename from website/pages/users/login.js rename to website/pages/users/login.jsx diff --git a/website/pages/users/newPassword.js b/website/pages/users/newPassword.jsx similarity index 100% rename from website/pages/users/newPassword.js rename to website/pages/users/newPassword.jsx diff --git a/website/pages/users/register.js b/website/pages/users/register.jsx similarity index 100% rename from website/pages/users/register.js rename to website/pages/users/register.jsx