Comments (9)
Id love to jump on this one
from rbb-website.
"The entire card should be clickable and trigger either the URL or a modal popup." -
So will the image be a link to the contact? I dont quite understand the requirement.
from rbb-website.
Apologies, let me elaborate off of the above screenshot:
Each card has an image.
If we look at the "Business Owners" card. On click of this card, a business registration form modal will appear. Don't worry about the contents of the modal for now, we just need the ability to trigger a modal if necessary from an individual card.
If we look at the "General Inquiry" card. Clicking of this card should be a mailto:
link with a fake email address for now (we'll change this to the proper RBB support email). Opens in a new tab
The "Volunteers" card will be a Discord link (https://discord.gg/272XMuv). Opens in a new tab.
We need to be able to support the above cases with this component. Let me know if that helps!
from rbb-website.
Thats great info thank you! So its actually three cards with separate use cases!
from rbb-website.
Ahh i missed the screenshot, too eager! Thank you for clarifying :)
from rbb-website.
Thats great info thank you! So its actually three cards with separate use cases!
Three separate cards, but should only be one React component, with props to address each use case :)
Ahh i missed the screenshot, too eager! Thank you for clarifying :)
No worries at all!
from rbb-website.
Yep, all over it! First time using Chakra so learning that as i go. Will hopefully have this done by latest Sunday night.
from rbb-website.
I might suggest using the react-spring-modal
package for the modals as well. It's a library I made that abstracts out a lot of the accessibility issues when dealing with models while still allowing you to keep the modals looking professional with the possibility of animations/transitions via react-spring. If not that's fine too as long as the modals we use are accessible.
https://npm.im/react-spring-modal
from rbb-website.
I might suggest using the
react-spring-modal
package for the modals as well. It's a library I made that abstracts out a lot of the accessibility issues when dealing with models while still allowing you to keep the modals looking professional with the possibility of animations/transitions via react-spring. If not that's fine too as long as the modals we use are accessible.
Thanks Chris, We're using Chakra so I had thought to use their modal, but I will take a look at this package. I'm not a massive fan of spring but if needs must... 😊
from rbb-website.
Related Issues (20)
- [Feature] Careers Page (add to footer) for RBB
- [Feature] Create "Trends & Analytics" page (This will be an epic) HOT 1
- [Feature] Add detailed tracking to store profile pages (Trends & Analytics Epic)
- [Feature] Owner's Portal - User Registration Page in UI HOT 6
- [Feature] Owner's Portal - User Login Page in UI
- [Feature] Business Portal - User Login Page in UI
- [Feature] Owner's Portal - Claim Business
- [Feature] Owner's Portal - Manage Claimed Business
- [BUG] Fix Home Page Shows Incorrect Listings HOT 2
- [BUG] Fix pre-generation of Business Profile pages for newly-added pages since manual generation HOT 1
- [BUG] Fix SEO on Business Profile Pages HOT 1
- [BUG] New business profiles are not loading correctly HOT 3
- [BUG] / [FEATURE] Convert "Business Profiles" to simple Single-Page App, Give-up SEO for Now, and Change URL Scheme to Reference API ID instead of AirTable ID HOT 2
- [Feature] [Architecture] Migrate to NextJS for Dynamic On-Demand Page Generation
- [Feature] Business Owner "Business Claim Badge" Static HTML/CSS Mockup Page Example for Owners Portal
- [BUG] "Register A Business" Form: Make Protocol Mandatory on ALL URLs HOT 1
- [Feature] Showcase RBB Episodes on Site HOT 1
- [Feature] Search by "Text" and "Near Me" HOT 1
- Implement Formik and Yup for forms and validation HOT 2
- [Feature] - Repurpose Allies Page into a Business Resources Page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rbb-website.