This lovely website is about exhibitions (fine art / scuplture / illustraction / craft). Provide some information about current or upcoming exhibitions, and some exhibition record.
- Webpack 5
- React
- Firebase v9
- Scss
- Do not rely on 3rd party library.
- Use hooks (useRef/useState) to store content and toggle state.
- Before component exit (click event), use setTimeout() methods to trigger exit animation.
const modalContainerRef = useRef();
const modalRef = useRef();
function modalMoveOut() {
modalRef.current.style =
"animation:modalMoveOut 0.2s ease-in-out forwards;transform-origin: bottom left ;";
modalContainerRef.current.style = "opacity:0;";
}
// modalContainerRef//
onClick={() => {
modalMoveOut();
setTimeout(() => {
changeContent();
}, 200);
}}
👉 Use service workers, manifests, and other features in combination with progressive enhancement to give users an experience on par with native apps.
-
Laptop/Desktop
- After open Chrome, go to a website you want to install.
- At the top right of the address bar, click Install .
- Follow the onscreen instructions to install the PWA.
-
Android
-
UX tools
- Color Blind+ (Figma Plugin)
- View my designs in the 8 different types of color vision deficiencies.
-
A11y - Color Contrast Checker (Figma Plugin)
- Check the color contrast ratio of all visible text in a frame.
-
Google Lighthouse (Chrome DevTools)
-
Custom controls have ARIA roles and ARIA labels.
-
Button, link, and menuitem elements have accessible names.
-
- Color Blind+ (Figma Plugin)