From 4799eb6a1d6595b86965823e5419dc445881d9dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Wed, 21 Feb 2024 23:01:25 +0100 Subject: [PATCH] build only --- asset-manifest.json | 13 +++ public/favicon.ico => favicon.ico | Bin index.html | 1 + public/logo192.png => logo192.png | Bin public/logo512.png => logo512.png | Bin public/manifest.json => manifest.json | 0 public/index.html | 46 ----------- public/robots.txt => robots.txt | 0 src/App.js | 18 ----- src/components/draggables/labelInput.jsx | 12 --- src/components/draggables/statInput.jsx | 12 --- src/components/draggables/textarea.jsx | 9 --- src/components/homePage.jsx | 22 ----- src/components/sheets.jsx | 99 ----------------------- src/index.js | 12 --- src/styles/main.css | 42 ---------- src/styles/reset.css | 75 ----------------- src/styles/sheet.css | 80 ------------------ static/css/main.e922f8f5.css | 2 + static/css/main.e922f8f5.css.map | 1 + static/js/main.73781320.js | 3 + static/js/main.73781320.js.LICENSE.txt | 72 +++++++++++++++++ static/js/main.73781320.js.map | 1 + 23 files changed, 93 insertions(+), 427 deletions(-) create mode 100644 asset-manifest.json rename public/favicon.ico => favicon.ico (100%) create mode 100644 index.html rename public/logo192.png => logo192.png (100%) rename public/logo512.png => logo512.png (100%) rename public/manifest.json => manifest.json (100%) delete mode 100644 public/index.html rename public/robots.txt => robots.txt (100%) delete mode 100644 src/App.js delete mode 100644 src/components/draggables/labelInput.jsx delete mode 100644 src/components/draggables/statInput.jsx delete mode 100644 src/components/draggables/textarea.jsx delete mode 100644 src/components/homePage.jsx delete mode 100644 src/components/sheets.jsx delete mode 100644 src/index.js delete mode 100644 src/styles/main.css delete mode 100644 src/styles/reset.css delete mode 100644 src/styles/sheet.css create mode 100644 static/css/main.e922f8f5.css create mode 100644 static/css/main.e922f8f5.css.map create mode 100644 static/js/main.73781320.js create mode 100644 static/js/main.73781320.js.LICENSE.txt create mode 100644 static/js/main.73781320.js.map diff --git a/asset-manifest.json b/asset-manifest.json new file mode 100644 index 0000000..5e6d9cc --- /dev/null +++ b/asset-manifest.json @@ -0,0 +1,13 @@ +{ + "files": { + "main.css": "/static/css/main.e922f8f5.css", + "main.js": "/static/js/main.73781320.js", + "index.html": "/index.html", + "main.e922f8f5.css.map": "/static/css/main.e922f8f5.css.map", + "main.73781320.js.map": "/static/js/main.73781320.js.map" + }, + "entrypoints": [ + "static/css/main.e922f8f5.css", + "static/js/main.73781320.js" + ] +} \ No newline at end of file diff --git a/public/favicon.ico b/favicon.ico similarity index 100% rename from public/favicon.ico rename to favicon.ico diff --git a/index.html b/index.html new file mode 100644 index 0000000..d4e6cec --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +React App
\ No newline at end of file diff --git a/public/logo192.png b/logo192.png similarity index 100% rename from public/logo192.png rename to logo192.png diff --git a/public/logo512.png b/logo512.png similarity index 100% rename from public/logo512.png rename to logo512.png diff --git a/public/manifest.json b/manifest.json similarity index 100% rename from public/manifest.json rename to manifest.json diff --git a/public/index.html b/public/index.html deleted file mode 100644 index 39ff4f9..0000000 --- a/public/index.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - React App - - - -
- - - diff --git a/public/robots.txt b/robots.txt similarity index 100% rename from public/robots.txt rename to robots.txt diff --git a/src/App.js b/src/App.js deleted file mode 100644 index 6aba0bb..0000000 --- a/src/App.js +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; -import Home from './components/homePage'; -import Sheets from './components/sheets'; - -function App() { - return ( - - - } /> - } /> - {/* Define more routes here if needed */} - - - ); -} - -export default App; \ No newline at end of file diff --git a/src/components/draggables/labelInput.jsx b/src/components/draggables/labelInput.jsx deleted file mode 100644 index 178b748..0000000 --- a/src/components/draggables/labelInput.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; - -const LabelInput = () => { - return ( - - ); -}; - -export default LabelInput; diff --git a/src/components/draggables/statInput.jsx b/src/components/draggables/statInput.jsx deleted file mode 100644 index 6952e5e..0000000 --- a/src/components/draggables/statInput.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; - -const StatInput = () => { - return ( - - ); -}; - -export default StatInput; diff --git a/src/components/draggables/textarea.jsx b/src/components/draggables/textarea.jsx deleted file mode 100644 index c4db07b..0000000 --- a/src/components/draggables/textarea.jsx +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react'; - -const LabelInput = () => { - return ( - - ); -}; - -export default LabelInput; diff --git a/src/components/homePage.jsx b/src/components/homePage.jsx deleted file mode 100644 index 47825f4..0000000 --- a/src/components/homePage.jsx +++ /dev/null @@ -1,22 +0,0 @@ -import React from 'react'; -import { Link } from 'react-router-dom'; -import '../styles/main.css'; // Import CSS/LESS file directly - -const Home = () => { - return ( -
- -
-
-

About SheetBuilder

-

SheetBuilder is a web application that allows users to build and share custom character sheets for any RPG out there, using a simple Drag n Drop system

-
-
-
- ); -}; - -export default Home; \ No newline at end of file diff --git a/src/components/sheets.jsx b/src/components/sheets.jsx deleted file mode 100644 index feb8fb8..0000000 --- a/src/components/sheets.jsx +++ /dev/null @@ -1,99 +0,0 @@ -import React, { useState } from "react"; -import GridLayout from "react-grid-layout"; -import { Link } from "react-router-dom"; -import "../styles/main.css"; // Import CSS/LESS file directly -import "../../node_modules/react-grid-layout/css/styles.css"; -import "../../node_modules/react-resizable/css/styles.css"; -import "../styles/sheet.css"; -import LabelInput from "./draggables/labelInput"; -import Textarea from "./draggables/textarea"; -import StatInput from "./draggables/statInput"; - -const Sheets = () => { - const [layout, setLayout] = useState([]); - - const addNewItem = (item, width, height) => { - const newItem = { - i: `item-${layout.length + 1}`, - x: 0, - y: 0, - w: width, - h: height, - content: item, - }; - setLayout((prevLayout) => [...prevLayout, newItem]); - }; - - const deleteItem = (itemId) => { - setLayout((prevLayout) => prevLayout.filter((item) => item.i !== itemId)); - }; - - const renderPicker = () => { - return ( -
-
- - -
-
- \r\n );\r\n};\r\n\r\nexport default LabelInput;\r\n","import React from 'react';\r\n\r\nconst StatInput = () => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default StatInput;\r\n","import React, { useState } from \"react\";\r\nimport GridLayout from \"react-grid-layout\";\r\nimport { Link } from \"react-router-dom\";\r\nimport \"../styles/main.css\"; // Import CSS/LESS file directly\r\nimport \"../../node_modules/react-grid-layout/css/styles.css\";\r\nimport \"../../node_modules/react-resizable/css/styles.css\";\r\nimport \"../styles/sheet.css\";\r\nimport LabelInput from \"./draggables/labelInput\";\r\nimport Textarea from \"./draggables/textarea\";\r\nimport StatInput from \"./draggables/statInput\";\r\n\r\nconst Sheets = () => {\r\n const [layout, setLayout] = useState([]);\r\n\r\n const addNewItem = (item, width, height) => {\r\n const newItem = {\r\n i: `item-${layout.length + 1}`,\r\n x: 0,\r\n y: 0,\r\n w: width,\r\n h: height,\r\n content: item,\r\n };\r\n setLayout((prevLayout) => [...prevLayout, newItem]);\r\n };\r\n\r\n const deleteItem = (itemId) => {\r\n setLayout((prevLayout) => prevLayout.filter((item) => item.i !== itemId));\r\n };\r\n\r\n const renderPicker = () => {\r\n return (\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n