Added dashboard framework. Components are not yet created nor is the query finalized. BOD-79
Missed in previous commit. BOD-79
This commit is contained in:
@@ -1,34 +1,10 @@
|
||||
import React from "react";
|
||||
import DashboardGridComponent from "../../components/dashboard-grid/dashboard-grid.component";
|
||||
import Test from "../../components/_test/test.component";
|
||||
import { analytics, logImEXEvent } from "../../firebase/firebase.utils";
|
||||
|
||||
export default function ManageRootPageComponent() {
|
||||
//const client = useApolloClient();
|
||||
return (
|
||||
<div>
|
||||
<Test />
|
||||
<button
|
||||
onClick={() => {
|
||||
logImEXEvent("IMEXEVENT", { somethignArThare: 5 });
|
||||
}}>
|
||||
LogImEXEvent
|
||||
</button>
|
||||
<button
|
||||
onClick={() => {
|
||||
console.log("Things.");
|
||||
analytics.logEvent("start_game", {
|
||||
level: "10",
|
||||
difficulty: "expert",
|
||||
});
|
||||
analytics.logEvent("select_content", {
|
||||
content_type: "image",
|
||||
content_id: "P12453",
|
||||
items: [{ name: "Kittens" }],
|
||||
});
|
||||
}}>
|
||||
Click me to start an event
|
||||
</button>
|
||||
<DashboardGridComponent />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user