-
-
+
+
+
+
+
+ {/* */}
+
+
+
);
};
diff --git a/src/components/GoodsList.tsx b/src/components/GoodsList.tsx
index 6af5792..953c445 100644
--- a/src/components/GoodsList.tsx
+++ b/src/components/GoodsList.tsx
@@ -73,22 +73,55 @@ export const GoodsList: Component<{
return (
<>
-
-
Possible goods
+
+
+
+
+
+
+ {(productName) => }
+
+
+
+
+
0}>
+
+
+
+
+
+
+ {(productName) => }
+
+
+
+
+ {/*
+
From buildings
0}>
- With selected blueprint
+ With blueprint
-
+
*/}
>
);
};
diff --git a/src/components/ResourcesSelect.tsx b/src/components/ResourcesSelect.tsx
index 3d8abc4..6666b77 100644
--- a/src/components/ResourcesSelect.tsx
+++ b/src/components/ResourcesSelect.tsx
@@ -1,10 +1,12 @@
import { createOptions, Select } from '@thisbeyond/solid-select';
import { Component, Signal } from 'solid-js';
import resources from 'src/data/ResourcesList_Grouped.json';
+import { BiomeSelect } from './BiomeSelect';
-export const ResourcesSelect: Component<{ signal: Signal
}> = (
- props
-) => {
+export const ResourcesSelect: Component<{
+ signal: Signal;
+ biomeSignal: Signal;
+}> = (props) => {
const goods = resources.Goods;
const resourceNames = goods.map((good) => good.Name);
const [selectedValues, setSelectedValues] = props.signal;
@@ -18,16 +20,33 @@ export const ResourcesSelect: Component<{ signal: Signal }> = (
});
return (
-
-
-
+
+
+
+
+
+
+ {/* */}
+
+
+
);
};
diff --git a/src/index.css b/src/index.css
index 32efb2a..c0103fc 100644
--- a/src/index.css
+++ b/src/index.css
@@ -6,6 +6,13 @@
background-color: white;
}
+.biomeSelect .solid-select-control {
+ border: 1px solid lightgrey;
+ /* background-color: cornflowerblue; */
+ width: 38px;
+ height: 36px;
+ cursor: pointer;
+}
/* .buildingList.solid-select-container {
background-color: white;
}