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