diff --git a/src/lib/components/DropDown.svelte b/src/lib/components/DropDown.svelte new file mode 100644 index 0000000..8fe6c35 --- /dev/null +++ b/src/lib/components/DropDown.svelte @@ -0,0 +1,66 @@ + + + + + diff --git a/src/lib/components/DropDownElement.svelte b/src/lib/components/DropDownElement.svelte new file mode 100644 index 0000000..51f145e --- /dev/null +++ b/src/lib/components/DropDownElement.svelte @@ -0,0 +1,19 @@ + + + + + \ No newline at end of file diff --git a/src/lib/stores/GameFilter.ts b/src/lib/stores/GameFilter.ts new file mode 100644 index 0000000..fe88638 --- /dev/null +++ b/src/lib/stores/GameFilter.ts @@ -0,0 +1,5 @@ +import { writable, type Writable } from "svelte/store"; + +const SelectedGameStore: Writable = writable(""); + +export default SelectedGameStore; \ No newline at end of file diff --git a/src/lib/stores/GameGroupFilter.ts b/src/lib/stores/GameGroupFilter.ts new file mode 100644 index 0000000..f033750 --- /dev/null +++ b/src/lib/stores/GameGroupFilter.ts @@ -0,0 +1,5 @@ +import { writable, type Writable } from "svelte/store"; + +const SelectedGameGroupsStore: Writable>> = writable(new Map()); + +export default SelectedGameGroupsStore; \ No newline at end of file diff --git a/src/routes/graphs/GameGroupSelection.svelte b/src/routes/graphs/GameGroupSelection.svelte new file mode 100644 index 0000000..3fe7231 --- /dev/null +++ b/src/routes/graphs/GameGroupSelection.svelte @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/routes/graphs/GameSelection.svelte b/src/routes/graphs/GameSelection.svelte new file mode 100644 index 0000000..e1b8b23 --- /dev/null +++ b/src/routes/graphs/GameSelection.svelte @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + diff --git a/src/routes/graphs/SubNav.svelte b/src/routes/graphs/SubNav.svelte index c694c6f..0458002 100644 --- a/src/routes/graphs/SubNav.svelte +++ b/src/routes/graphs/SubNav.svelte @@ -1,34 +1,35 @@ -
-
-
+
-
-
+
diff --git a/src/routes/graphs/tab/+page.svelte b/src/routes/graphs/tab/+page.svelte index 8a741cb..c4edc16 100644 --- a/src/routes/graphs/tab/+page.svelte +++ b/src/routes/graphs/tab/+page.svelte @@ -1 +1,37 @@ -

Example Tab

\ No newline at end of file + + + + Graphs + + + +

Example Tab

+ +

{selectedGameGroups.length > 1 ? "Groups" : "Group"} {selectedGameGroups.join(", ")} {selectedGameGroups.length > 1 ? "are" : "is"} selected