From a098bb72d4c0aabee8bdb8316f93ad6c409dd245 Mon Sep 17 00:00:00 2001 From: Laszlo Fogas Date: Tue, 24 Oct 2023 14:01:04 +0200 Subject: [PATCH 1/7] Experimenting with layout --- web/package-lock.json | 15 +++++++++ web/package.json | 1 + web/src/App.js | 3 +- web/src/FluxState.js | 2 +- web/src/Footer.js | 73 +++++++++++++++++++++++++++++++++++++++++++ web/src/index.css | 4 +++ 6 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 web/src/Footer.js diff --git a/web/package-lock.json b/web/package-lock.json index 0bffa4c..9396d64 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -8,6 +8,7 @@ "name": "capacitor", "version": "0.1.0", "dependencies": { + "@heroicons/react": "^2.0.18", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", @@ -2159,6 +2160,14 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, + "node_modules/@heroicons/react": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-2.0.18.tgz", + "integrity": "sha512-7TyMjRrZZMBPa+/5Y8lN0iyvUU/01PeMGX2+RE7cQWpEUIcb4QotzUObFkJDejj/HUH4qjP/eQ0gzzKs2f+6Yw==", + "peerDependencies": { + "react": ">= 16" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.13", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", @@ -19296,6 +19305,12 @@ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.51.0.tgz", "integrity": "sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==" }, + "@heroicons/react": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-2.0.18.tgz", + "integrity": "sha512-7TyMjRrZZMBPa+/5Y8lN0iyvUU/01PeMGX2+RE7cQWpEUIcb4QotzUObFkJDejj/HUH4qjP/eQ0gzzKs2f+6Yw==", + "requires": {} + }, "@humanwhocodes/config-array": { "version": "0.11.13", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", diff --git a/web/package.json b/web/package.json index e4f5b0d..fedce91 100644 --- a/web/package.json +++ b/web/package.json @@ -3,6 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { + "@heroicons/react": "^2.0.18", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", diff --git a/web/src/App.js b/web/src/App.js index c4a9003..1c81e3f 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -4,6 +4,7 @@ import CapacitorClient from "./client"; import { createStore } from 'redux' import { rootReducer } from './redux'; import FluxState from "./FluxState"; +import Footer from "./Footer"; function App() { const capacitorClient = new CapacitorClient( @@ -13,7 +14,6 @@ function App() { ); const store = createStore(rootReducer); - // store.subscribe(() => console.log(store.getState())) return ( <> @@ -22,6 +22,7 @@ function App() {
+