- Have a Thing to donate?
- As a nonprofit organization in the early startup phase, Thing donations are very much appreciated. Click the button below to fill out our donation form.
-
-
-
-
-
-
-
-
-
- Have money to donate?
- We would eventually like to be 100% member-funded. But as we're starting up, we need community support. If you can afford to make a donation, it would be very much appreciated.
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index 0554a7e..0d01d37 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -1,156 +1,57 @@
+ onMount(async () => {
+ data = await things.getAll();
+ });
+
+ function filterThings(category) {
+ return data.things.filter(thing => thing.categories.includes(category));
+ }
+
+ function search() {
+ if (searchText.length === 0) {
+ searchResults = [];
+ return;
+ }
-
+ const filtered = data.things.filter(thing => thing.name.toLowerCase().includes(searchText.toLowerCase()));
+
+ if (filtered.length > 0)
+ searchResults = filtered;
+ }
+
-
-
-
-
-
PVD Things
-
-
-
-
- Own Things Together!
-
-
- For those things you only sometimes need, why not share them?
-
-
- As a member of the Providence Library of Things, you will have
- access to loads of useful things without ever paying the full price.
-
-
-
-
-
-
-
- Audio Equipment
- Cleaning Tools
- Musical Instruments
- Cooking Supplies
- Any Thing.
-
- The best things in life are Things. Become a co-op member and never pay rent to use Things like these:
-
- {#if things}
- {#each things as thing}
-
-
-
- {thing.name}
- {thing.categories[0]}
-
-
- {/each}
- {/if}
-
-
-
-
-
- How will the Library work?
-
-
-
- Join and reserve
- Become a dues-paying member and reserve a Thing from our app.
-
-
-
- Use and return
- Pick up the Thing you reserved and bring it back when you're done with it.
-
-
-
- Get involved!
- Elect the Board of Directors, participate in Library meetings, and vote on the Things we share.
-
-
-
-
-
-
- But we need your help.
-
- Location.
- Location for tool libraries is always the biggest hurdle. Rent, especially in and around a city, is -- let's face it -- absurd. If you know of any low-cost opportunities in PVD, please don't hesitate to let us know. We're open to storefront space, a warehouse, or even an open field.
-
-
- Things.
- Though we will be purchasing new Things for the library, donations will go a long way toward getting us to financial sustainability while offering every Thing the co-op members may need.
-
-
- Spreading the word.
- More members means a stronger cooperative! The more who join, the faster we'll have a thriving community and lots of Things to use.
-
-
-
-
-
-
- 150+
- prospective members
-
-
- 15+
- things donated
-
-
-
-
- Ready to co-own Things?
-
- The Providence Library of Things hasn't launched yet, but you
- can help make it happen. Join our waiting list to help us start up!
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+