Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ We follow the principle from the course: measure, set a budget and show the numb

### Design choices

- No video or large images on the landing page. They would slow the page down and use power and bandwidth on every visit, without helping anyone find a wine. A video makes sense where the first impression is the point, such as the website for a portfolio, a restaurant or a stunt driver. Here the wines are the point, so the landing page opens with the search field. The app has no image or video files at all; the bottle on the landing page is drawn in SVG in the code.
- SVG bottle illustrations instead of product photos. One small reusable component replaces thousands of images.
- System fonts. The site downloads no web fonts.
- Dark mode via `prefers-color-scheme`. This uses less energy on OLED screens.
Expand Down