diff --git a/.env b/.env deleted file mode 100644 index 593f4f9..0000000 --- a/.env +++ /dev/null @@ -1 +0,0 @@ -API_URL=https://link.timka.su diff --git a/src/App.js b/src/App.js index fd6377b..51ba2fe 100644 --- a/src/App.js +++ b/src/App.js @@ -1,4 +1,4 @@ -import './App.css'; +import './css/App.css'; import {BrowserRouter, Routes, Route} from "react-router-dom"; import AddLink from "./components/AddLink"; diff --git a/src/components/AddLink.js b/src/components/AddLink.js index 448ad87..4a93c6b 100644 --- a/src/components/AddLink.js +++ b/src/components/AddLink.js @@ -1,6 +1,5 @@ import {React, Component} from "react"; -import "../App.css" -import "../config" +import "../css/App.css" import axios from 'axios' diff --git a/src/components/NotFound.js b/src/components/NotFound.js index 865399d..9b78864 100644 --- a/src/components/NotFound.js +++ b/src/components/NotFound.js @@ -1,5 +1,5 @@ import {React, Component} from "react"; -import "../App.css" +import "../css/App.css" import Placeholder from "./Placeholder"; diff --git a/src/components/Placeholder.js b/src/components/Placeholder.js index 657c609..d12a4de 100644 --- a/src/components/Placeholder.js +++ b/src/components/Placeholder.js @@ -1,6 +1,6 @@ import {React, Component} from "react"; -import "../App.css" +import "../css/App.css" class Placeholder extends Component { diff --git a/src/components/Redirecter.js b/src/components/Redirecter.js index b6bf1db..d0f95be 100644 --- a/src/components/Redirecter.js +++ b/src/components/Redirecter.js @@ -1,5 +1,4 @@ import {Component} from "react"; -import "../config" import Placeholder from "./Placeholder"; import 'axios' diff --git a/src/config.js b/src/config.js deleted file mode 100644 index e69de29..0000000 diff --git a/src/App.css b/src/css/App.css similarity index 92% rename from src/App.css rename to src/css/App.css index 4945568..9fba4ec 100644 --- a/src/App.css +++ b/src/css/App.css @@ -1,10 +1,10 @@ @font-face { - src: url("fonts/JetBrainsMono-Regular.woff2"); + src: url("../fonts/JetBrainsMono-Regular.woff2"); font-family: mono; } @font-face { - src: url("fonts/JetBrainsMono-Italic.woff2"); + src: url("../fonts/JetBrainsMono-Italic.woff2"); font-family: JetbrainsItalic; } diff --git a/src/index.css b/src/css/index.css similarity index 100% rename from src/index.css rename to src/css/index.css diff --git a/src/index.js b/src/index.js index d563c0f..b7e35c9 100644 --- a/src/index.js +++ b/src/index.js @@ -1,6 +1,6 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; -import './index.css'; +import './css/index.css'; import App from './App'; import reportWebVitals from './reportWebVitals';