diff --git a/client/.DS_Store b/client/.DS_Store index a1c23bb8..a4e8ee52 100644 Binary files a/client/.DS_Store and b/client/.DS_Store differ diff --git a/client/.eslintcache b/client/.eslintcache index 7ee2b12a..fb6c754e 100644 --- a/client/.eslintcache +++ b/client/.eslintcache @@ -1 +1 @@ -[{"/Users/liamarbuckle/theclub/client/src/index.jsx":"1","/Users/liamarbuckle/theclub/client/src/App.jsx":"2","/Users/liamarbuckle/theclub/client/src/lib/LifetimeContext.js":"3","/Users/liamarbuckle/theclub/client/src/components/premium-content.js":"4","/Users/liamarbuckle/theclub/client/src/components/signup.js":"5","/Users/liamarbuckle/theclub/client/src/components/payment.js":"6","/Users/liamarbuckle/theclub/client/src/components/payment-form.js":"7","/Users/liamarbuckle/theclub/client/src/components/layout.js":"8","/Users/liamarbuckle/theclub/client/src/lib/UserContext.js":"9","/Users/liamarbuckle/theclub/client/src/components/profile.js":"10","/Users/liamarbuckle/theclub/client/src/lib/magic.js":"11","/Users/liamarbuckle/theclub/client/src/lib/LifetimeAccessRequestStatusContext.js":"12","/Users/liamarbuckle/theclub/client/src/components/login.js":"13","/Users/liamarbuckle/theclub/client/src/components/loading.js":"14","/Users/liamarbuckle/theclub/client/src/components/signup-form.js":"15","/Users/liamarbuckle/theclub/client/src/components/header.js":"16","/Users/liamarbuckle/theclub/client/src/components/login-form.js":"17","/Users/liamarbuckle/theclub/client/src/components/Home.js":"18","/Users/liamarbuckle/theclub/client/src/pages/Dashboard.js":"19","/Users/liamarbuckle/theclub/client/src/pages/Body Section/Body.jsx":"20","/Users/liamarbuckle/theclub/client/src/pages/SideBar Section/Sidebar.jsx":"21","/Users/liamarbuckle/theclub/client/src/pages/Body Section/Activity Section/Activity.jsx":"22","/Users/liamarbuckle/theclub/client/src/pages/Body Section/Listing Section/Listing.jsx":"23","/Users/liamarbuckle/theclub/client/src/pages/Body Section/Top Section/Top.jsx":"24"},{"size":1153,"mtime":1667054816903,"results":"25","hashOfConfig":"26"},{"size":3410,"mtime":1667055700811,"results":"27","hashOfConfig":"26"},{"size":87,"mtime":1667026296437,"results":"28","hashOfConfig":"26"},{"size":3304,"mtime":1667026296437,"results":"29","hashOfConfig":"26"},{"size":2178,"mtime":1667026296437,"results":"30","hashOfConfig":"26"},{"size":1206,"mtime":1667026296436,"results":"31","hashOfConfig":"26"},{"size":7461,"mtime":1667026296436,"results":"32","hashOfConfig":"26"},{"size":408,"mtime":1667055708688,"results":"33","hashOfConfig":"26"},{"size":88,"mtime":1667026296437,"results":"34","hashOfConfig":"26"},{"size":1645,"mtime":1667055537423,"results":"35","hashOfConfig":"26"},{"size":113,"mtime":1667026296437,"results":"36","hashOfConfig":"26"},{"size":106,"mtime":1667026296437,"results":"37","hashOfConfig":"26"},{"size":2034,"mtime":1667026296436,"results":"38","hashOfConfig":"26"},{"size":198,"mtime":1667026296436,"results":"39","hashOfConfig":"26"},{"size":1301,"mtime":1667026296437,"results":"40","hashOfConfig":"26"},{"size":2882,"mtime":1667055821198,"results":"41","hashOfConfig":"26"},{"size":1297,"mtime":1667026296436,"results":"42","hashOfConfig":"26"},{"size":834,"mtime":1667026296420,"results":"43","hashOfConfig":"26"},{"size":1793,"mtime":1667055773245,"results":"44","hashOfConfig":"26"},{"size":439,"mtime":1666917766065,"results":"45","hashOfConfig":"26"},{"size":3532,"mtime":1666774651646,"results":"46","hashOfConfig":"26"},{"size":3284,"mtime":1666880075665,"results":"47","hashOfConfig":"26"},{"size":3389,"mtime":1666874260905,"results":"48","hashOfConfig":"26"},{"size":3452,"mtime":1666917352790,"results":"49","hashOfConfig":"26"},{"filePath":"50","messages":"51","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},"1ri4kat",{"filePath":"53","messages":"54","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"55","messages":"56","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"57","messages":"58","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"59","messages":"60","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"61","messages":"62","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"63","messages":"64","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"65","messages":"66","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"67","messages":"68","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"69","messages":"70","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"71","messages":"72","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"73","messages":"74","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"75","messages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"77","messages":"78","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"79","messages":"80","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"81","messages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"83","messages":"84","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"85","messages":"86","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"87","messages":"88","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"89","messages":"90","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"91","messages":"92","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"93","messages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"95","messages":"96","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},{"filePath":"97","messages":"98","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"52"},"/Users/liamarbuckle/theclub/client/src/index.jsx",[],[],"/Users/liamarbuckle/theclub/client/src/App.jsx",[],"/Users/liamarbuckle/theclub/client/src/lib/LifetimeContext.js",[],"/Users/liamarbuckle/theclub/client/src/components/premium-content.js",[],"/Users/liamarbuckle/theclub/client/src/components/signup.js",[],"/Users/liamarbuckle/theclub/client/src/components/payment.js",[],"/Users/liamarbuckle/theclub/client/src/components/payment-form.js",[],"/Users/liamarbuckle/theclub/client/src/components/layout.js",[],"/Users/liamarbuckle/theclub/client/src/lib/UserContext.js",[],"/Users/liamarbuckle/theclub/client/src/components/profile.js",[],"/Users/liamarbuckle/theclub/client/src/lib/magic.js",[],"/Users/liamarbuckle/theclub/client/src/lib/LifetimeAccessRequestStatusContext.js",[],"/Users/liamarbuckle/theclub/client/src/components/login.js",[],"/Users/liamarbuckle/theclub/client/src/components/loading.js",[],"/Users/liamarbuckle/theclub/client/src/components/signup-form.js",[],"/Users/liamarbuckle/theclub/client/src/components/header.js",[],"/Users/liamarbuckle/theclub/client/src/components/login-form.js",[],"/Users/liamarbuckle/theclub/client/src/components/Home.js",[],"/Users/liamarbuckle/theclub/client/src/pages/Dashboard.js",[],"/Users/liamarbuckle/theclub/client/src/pages/Body Section/Body.jsx",[],"/Users/liamarbuckle/theclub/client/src/pages/SideBar Section/Sidebar.jsx",[],"/Users/liamarbuckle/theclub/client/src/pages/Body Section/Activity Section/Activity.jsx",[],"/Users/liamarbuckle/theclub/client/src/pages/Body Section/Listing Section/Listing.jsx",[],"/Users/liamarbuckle/theclub/client/src/pages/Body Section/Top Section/Top.jsx",[]] \ No newline at end of file +[{"/Users/liamarbuckle/theclub/client/src/index.jsx":"1","/Users/liamarbuckle/theclub/client/src/App.jsx":"2","/Users/liamarbuckle/theclub/client/src/lib/LifetimeContext.js":"3","/Users/liamarbuckle/theclub/client/src/components/premium-content.js":"4","/Users/liamarbuckle/theclub/client/src/components/signup.js":"5","/Users/liamarbuckle/theclub/client/src/components/payment.js":"6","/Users/liamarbuckle/theclub/client/src/components/payment-form.js":"7","/Users/liamarbuckle/theclub/client/src/components/layout.js":"8","/Users/liamarbuckle/theclub/client/src/lib/UserContext.js":"9","/Users/liamarbuckle/theclub/client/src/components/profile.js":"10","/Users/liamarbuckle/theclub/client/src/lib/magic.js":"11","/Users/liamarbuckle/theclub/client/src/lib/LifetimeAccessRequestStatusContext.js":"12","/Users/liamarbuckle/theclub/client/src/components/login.js":"13","/Users/liamarbuckle/theclub/client/src/components/loading.js":"14","/Users/liamarbuckle/theclub/client/src/components/signup-form.js":"15","/Users/liamarbuckle/theclub/client/src/components/header.js":"16","/Users/liamarbuckle/theclub/client/src/components/login-form.js":"17","/Users/liamarbuckle/theclub/client/src/components/Home.js":"18","/Users/liamarbuckle/theclub/client/src/pages/Dashboard.js":"19","/Users/liamarbuckle/theclub/client/src/pages/Body Section/Body.jsx":"20","/Users/liamarbuckle/theclub/client/src/pages/SideBar Section/Sidebar.jsx":"21","/Users/liamarbuckle/theclub/client/src/pages/Body Section/Activity Section/Activity.jsx":"22","/Users/liamarbuckle/theclub/client/src/pages/Body Section/Listing Section/Listing.jsx":"23","/Users/liamarbuckle/theclub/client/src/pages/Body Section/Top Section/Top.jsx":"24","/Users/liamarbuckle/theclub/client/src/components/db-layout.js":"25"},{"size":1153,"mtime":1667054816903,"results":"26","hashOfConfig":"27"},{"size":3518,"mtime":1667104453883,"results":"28","hashOfConfig":"27"},{"size":87,"mtime":1667026296437,"results":"29","hashOfConfig":"27"},{"size":3304,"mtime":1667026296437,"results":"30","hashOfConfig":"27"},{"size":2178,"mtime":1667026296437,"results":"31","hashOfConfig":"27"},{"size":1206,"mtime":1667026296436,"results":"32","hashOfConfig":"27"},{"size":7461,"mtime":1667026296436,"results":"33","hashOfConfig":"27"},{"size":408,"mtime":1667105367152,"results":"34","hashOfConfig":"27"},{"size":88,"mtime":1667026296437,"results":"35","hashOfConfig":"27"},{"size":1699,"mtime":1667104005762,"results":"36","hashOfConfig":"27"},{"size":113,"mtime":1667026296437,"results":"37","hashOfConfig":"27"},{"size":106,"mtime":1667026296437,"results":"38","hashOfConfig":"27"},{"size":2034,"mtime":1667026296436,"results":"39","hashOfConfig":"27"},{"size":198,"mtime":1667026296436,"results":"40","hashOfConfig":"27"},{"size":1301,"mtime":1667026296437,"results":"41","hashOfConfig":"27"},{"size":2882,"mtime":1667055821198,"results":"42","hashOfConfig":"27"},{"size":1297,"mtime":1667026296436,"results":"43","hashOfConfig":"27"},{"size":873,"mtime":1667104089341,"results":"44","hashOfConfig":"27"},{"size":1793,"mtime":1667104439693,"results":"45","hashOfConfig":"27"},{"size":439,"mtime":1666917766065,"results":"46","hashOfConfig":"27"},{"size":3532,"mtime":1666774651646,"results":"47","hashOfConfig":"27"},{"size":3284,"mtime":1666880075665,"results":"48","hashOfConfig":"27"},{"size":3389,"mtime":1666874260905,"results":"49","hashOfConfig":"27"},{"size":3452,"mtime":1666917352790,"results":"50","hashOfConfig":"27"},{"size":201,"mtime":1667103845774,"results":"51","hashOfConfig":"27"},{"filePath":"52","messages":"53","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},"1ri4kat",{"filePath":"55","messages":"56","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"59","messages":"60","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"61","messages":"62","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"63","messages":"64","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"65","messages":"66","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"67","messages":"68","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"69","messages":"70","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"71","messages":"72","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"73","messages":"74","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"75","messages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"77","messages":"78","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"79","messages":"80","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"81","messages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"83","messages":"84","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"85","messages":"86","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"87","messages":"88","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"89","messages":"90","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"91","messages":"92","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"93","messages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"95","messages":"96","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"97","messages":"98","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"99","messages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"101","messages":"102","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/liamarbuckle/theclub/client/src/index.jsx",[],[],"/Users/liamarbuckle/theclub/client/src/App.jsx",[],"/Users/liamarbuckle/theclub/client/src/lib/LifetimeContext.js",[],"/Users/liamarbuckle/theclub/client/src/components/premium-content.js",[],"/Users/liamarbuckle/theclub/client/src/components/signup.js",[],"/Users/liamarbuckle/theclub/client/src/components/payment.js",[],"/Users/liamarbuckle/theclub/client/src/components/payment-form.js",[],"/Users/liamarbuckle/theclub/client/src/components/layout.js",[],"/Users/liamarbuckle/theclub/client/src/lib/UserContext.js",[],"/Users/liamarbuckle/theclub/client/src/components/profile.js",[],"/Users/liamarbuckle/theclub/client/src/lib/magic.js",[],"/Users/liamarbuckle/theclub/client/src/lib/LifetimeAccessRequestStatusContext.js",[],"/Users/liamarbuckle/theclub/client/src/components/login.js",[],"/Users/liamarbuckle/theclub/client/src/components/loading.js",[],"/Users/liamarbuckle/theclub/client/src/components/signup-form.js",[],"/Users/liamarbuckle/theclub/client/src/components/header.js",[],"/Users/liamarbuckle/theclub/client/src/components/login-form.js",[],"/Users/liamarbuckle/theclub/client/src/components/Home.js",[],"/Users/liamarbuckle/theclub/client/src/pages/Dashboard.js",[],"/Users/liamarbuckle/theclub/client/src/pages/Body Section/Body.jsx",[],"/Users/liamarbuckle/theclub/client/src/pages/SideBar Section/Sidebar.jsx",[],"/Users/liamarbuckle/theclub/client/src/pages/Body Section/Activity Section/Activity.jsx",[],"/Users/liamarbuckle/theclub/client/src/pages/Body Section/Listing Section/Listing.jsx",[],"/Users/liamarbuckle/theclub/client/src/pages/Body Section/Top Section/Top.jsx",[],"/Users/liamarbuckle/theclub/client/src/components/db-layout.js",[]] \ No newline at end of file diff --git a/client/src/App.jsx b/client/src/App.jsx index 1318b9a0..78071bf8 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from "react"; -import { Switch, Route, BrowserRouter as Router } from "react-router-dom"; +import { Switch, Route, BrowserRouter as Router, BrowserRouter } from "react-router-dom"; import { UserContext } from "./lib/UserContext"; import { LifetimeContext } from "./lib/LifetimeContext"; import { LifetimeAccessRequestStatusContext } from "./lib/LifetimeAccessRequestStatusContext"; @@ -15,6 +15,7 @@ import PaymentForm from "./components/payment-form"; import Layout from "./components/layout"; import Dashboard from "./pages/Dashboard"; +import dbLayout from "./components/db-layout"; // Import Magic-related things import { magic } from "./lib/magic"; @@ -51,6 +52,7 @@ function App() { }, []); return ( + @@ -81,6 +83,8 @@ function App() { }} /> +
+
diff --git a/client/src/components/.DS_Store b/client/src/components/.DS_Store index cd195538..5008ddfc 100644 Binary files a/client/src/components/.DS_Store and b/client/src/components/.DS_Store differ diff --git a/client/src/components/Home.js b/client/src/components/Home.js index 9c94a67b..c444c1be 100644 --- a/client/src/components/Home.js +++ b/client/src/components/Home.js @@ -1,6 +1,9 @@ +import Header from "./header"; + const Home = () => { return ( <> +

Welcome to the Star Sailors DAO.

Read up on development news
Connect with the team and fellow Star Sailors
diff --git a/client/src/components/db-layout.js b/client/src/components/db-layout.js new file mode 100644 index 00000000..fdc69667 --- /dev/null +++ b/client/src/components/db-layout.js @@ -0,0 +1,13 @@ +import Header from "./header"; +import Dashboard from "../pages/Dashboard"; + +const dbLayout = ({}) => ( + <> +
+
+ +
+ +); + +export default dbLayout; diff --git a/client/src/components/profile.js b/client/src/components/profile.js index 32153b47..b94daf8f 100644 --- a/client/src/components/profile.js +++ b/client/src/components/profile.js @@ -2,6 +2,7 @@ import { useEffect, useContext } from "react"; import { useHistory } from "react-router-dom"; import { UserContext } from "../lib/UserContext"; import Loading from "./loading"; +import Header from "./header"; const Profile = () => { const history = useHistory(); @@ -19,6 +20,7 @@ const Profile = () => { ) : ( user?.issuer && ( <> +
Email
{user.email}