diff --git a/README.md b/README.md
index d53a45b..1acd5e8 100644
--- a/README.md
+++ b/README.md
@@ -1,25 +1,31 @@
# What Should I Design? 🎨
+
[![Build & Deploy 🚀](https://github.com/MartinsOnuoha/what-should-i-design/actions/workflows/firebase-hosting-merge.yml/badge.svg)](https://github.com/MartinsOnuoha/what-should-i-design/actions/workflows/firebase-hosting-merge.yml)
-You're fresh out of learning UI/UX Design, you want to get your hands dirty with _almost_ real-world example problems to harness your design skills and build up a portfolio.
+You're fresh out of learning UI/UX Design, you want to get your hands dirty with _almost_ real-world example problems to harness your design skills and build up a portfolio.
Problem is, You don't know what to design?.
-
Well [Fake Clients](https://fakeclients.com/) isn't completely Free and is limited, and [WhatshouldIdesign.com](http://www.whatshouldidesign.com/) is all jokes. So here's an alternative completely free and crowdsourced collection of real-world design problems to try.
![what-should-i-design-banner-image](https://whatshouldidesign.space/screen1.webp)
![what-should-i-design-banner-image](https://whatshouldidesign.space/screen2.webp)
-![what-should-i-design-banner-image](https://whatshouldidesign.space/screen3.webp)
+
+## Features
+- Community Source UI/UX Design problem Statements
+- Community Sourced Samples for each Statement
+- Category Specific Statements
## How to Contribute
### Content
-You can contribute to this project by sourcing more problem statements from anywhere, or just coming up with yours (you silly genius).
-One recommended source would be [ChatGPT](https://chat.openai.com/).
-Head over to [OpenAI chat](https://chat.openai.com/) and start a conversation to request as many design problem statement within any of the following categories [below](#problem-statements).
+You can contribute to this project by sourcing more problem statements from anywhere, or just coming up with yours (you silly genius).
+One recommended source would be [ChatGPT](https://chat.openai.com/).
+
+Head over to [OpenAI chat](https://chat.openai.com/) and start a conversation to request as many design problem statement within any of the following categories [below](#problem-statements).
### Code
+
This project runs on Vue and Vite, feel free to create [issues](https://github.com/MartinsOnuoha/what-should-i-design/issues) first. Fork and open MRs for improvements.
## Problem Statements
@@ -27,12 +33,12 @@ This project runs on Vue and Vite, feel free to create [issues](https://github.c
🛒 E-commerce
-| Title | Description |
-|--------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| Artisanal Food Delivery App | Create a food delivery app specializing in artisanal and local food products. Prioritize an appealing marketplace and a simple ordering process. |
-| Sustainable Fashion Marketplace | Create a sustainable fashion e-commerce platform that connects environmentally conscious shoppers with eco-friendly clothing brands. Design a user-friendly shopping experience with a focus on sustainability. |
-| Grocery Delivery App | Design a mobile app for a grocery delivery service. Ensure a seamless user experience for browsing products, adding items to the cart, scheduling deliveries, and tracking orders. |
-| E-commerce Marketplace for Handmade Crafts | Design an e-commerce platform exclusively for handmade craft products. Focus on creating a visually appealing and user-friendly marketplace for artisans and craft enthusiasts. |
+| Title | Description | Samples |
+|--------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
+| Artisanal Food Delivery App | Create a food delivery app specializing in artisanal and local food products. Prioritize an appealing marketplace and a simple ordering process. | |
+| Sustainable Fashion Marketplace | Create a sustainable fashion e-commerce platform that connects environmentally conscious shoppers with eco-friendly clothing brands. Design a user-friendly shopping experience with a focus on sustainability. | |
+| Grocery Delivery App | Design a mobile app for a grocery delivery service. Ensure a seamless user experience for browsing products, adding items to the cart, scheduling deliveries, and tracking orders. | |
+| E-commerce Marketplace for Handmade Crafts | Design an e-commerce platform exclusively for handmade craft products. Focus on creating a visually appealing and user-friendly marketplace for artisans and craft enthusiasts. | |
@@ -243,8 +249,6 @@ This project runs on Vue and Vite, feel free to create [issues](https://github.c
🎮 Blockchain and Cryptocurrency Gaming
-
-
Here's a [sample chat](https://chat.openai.com/share/2aa6268a-7a4e-4740-bca4-f068e100126a)
You can open a new MR and update this [README](https://github.com/MartinsOnuoha/what-should-i-design/blob/master/README.md) adding new problem statements to the list above.
diff --git a/public/screen2.webp b/public/screen2.webp
index 6766625..8958d22 100644
Binary files a/public/screen2.webp and b/public/screen2.webp differ
diff --git a/public/screen3.webp b/public/screen3.webp
deleted file mode 100644
index 093c8f0..0000000
Binary files a/public/screen3.webp and /dev/null differ
diff --git a/schema.graphql b/schema.graphql
index bd714c5..fc7a673 100644
--- a/schema.graphql
+++ b/schema.graphql
@@ -30,7 +30,20 @@ input statements_bool_exp {
category_id: Int_comparison_exp
}
+
type Query {
categories: [Category!]!
statements(where: statements_bool_exp): [Statement!]!
}
+
+input samples_insert_input {
+ statement_id: ID
+ url: String
+}
+type samples_mutation_response {
+ affected_rows: Int
+}
+
+type Mutation {
+ insert_samples(objects: [samples_insert_input!]!): samples_mutation_response
+}
diff --git a/src/assets/styles/color-scheme.scss b/src/assets/styles/color-scheme.scss
index 85b74c5..f2ff611 100644
--- a/src/assets/styles/color-scheme.scss
+++ b/src/assets/styles/color-scheme.scss
@@ -1,4 +1,6 @@
body[color-scheme='dark'] {
+ @import '@/components/AppAddUrl/AppAddUrl.dark';
+ @import '@/components/AppAddUrl/AppAddUrlPreview.dark';
@import '@/components/AppFilter/AppFilter.dark';
@import '@/components/AppHeader/HeaderActions.dark';
@import '@/components/AppSideBanner/AppSideBanner.dark';
@@ -9,6 +11,8 @@ body[color-scheme='dark'] {
}
body[color-scheme='light'] {
+ @import '@/components/AppAddUrl/AppAddUrl';
+ @import '@/components/AppAddUrl/AppAddUrlPreview';
@import '@/components/AppCategory/AppCategory';
@import '@/components/AppFilter/AppFilter';
@import '@/components/AppHeader/HeaderActions';
@@ -16,5 +20,6 @@ body[color-scheme='light'] {
@import '@/components/AppSidePanel/AppSidePanel';
@import '@/components/AppStatementCard/AppStatementCard';
@import '@/components/AppToggleDarkMode/AppToggleDarkMode';
+ @import '@/components/AppCommunity/AppLink';
@import '@/views/HomeView';
}
diff --git a/src/assets/styles/main.scss b/src/assets/styles/main.scss
index e14e895..3fdfe48 100644
--- a/src/assets/styles/main.scss
+++ b/src/assets/styles/main.scss
@@ -11,7 +11,8 @@ body {
font-family: 'Ibarra Real Nova', serif;
color: var(--color-dark-text);
- input {
+ input,
+ button {
&:disabled {
@apply cursor-not-allowed;
}
@@ -20,6 +21,11 @@ body {
@apply outline-amber-500;
}
}
+ button {
+ &:disabled {
+ @apply opacity-50;
+ }
+ }
}
.font {
&--fira {
diff --git a/src/components/AppAddUrl/AppAddUrl.vue b/src/components/AppAddUrl/AppAddUrl.vue
index 0205cf3..9318aba 100644
--- a/src/components/AppAddUrl/AppAddUrl.vue
+++ b/src/components/AppAddUrl/AppAddUrl.vue
@@ -1,34 +1,78 @@