Commit Graph

24 Commits

Author SHA1 Message Date
anekdotin d60c816002 feat(CRIT-012): redesign home, state, and county pages for 55+ audience
Complete visual overhaul of the three core public pages, establishing a
consistent design system with reusable CSS classes and theme tokens.

Phase 1 — Home Page:
- Hero section with flame badge, bold headline, bouncing arrow CTA
- SVG map wrapped in warm-glow container with hover indicator
- State navigation cards with per-state colors and hover lift
- Value propositions grid (Compare, Find, Save, Free)
- Subtle dealer login CTA

Phase 2 — State Page:
- Themed breadcrumb with ChevronLeft back-nav
- Per-state accent colors on header
- County map in .map-container with hover indicator
- County navigation card grid with bidirectional map cross-highlighting
- Skeleton loading and DaisyUI error states

Phase 3 — County/Tables Page:
- Price-hero styling makes pricing the dominant visual element
- Sortable desktop table with chevron icons and active column highlight
- Completely redesigned mobile cards: company + price top row, cash
  callout, icon-labeled details grid, tappable phone CTA
- Market prices section with info note
- Relative date formatting (Today, Yesterday, 3 days ago)
- Full skeleton loading states

Design System (shared across all pages):
- 19 reusable CSS classes in app.postcss (.accent-badge, .map-container,
  .price-hero, .listing-card, .county-card, .skeleton-box, etc.)
- oil-orange and oil-blue color scales in Tailwind config
- fade-in-up, fade-in, float animations
- Staggered section reveals with Svelte transitions
- Zero hardcoded colors — all theme tokens and DaisyUI semantics
- Full dark mode support throughout

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 14:59:07 -05:00
anekdotin 27d22aefd4 feat(CRIT-010): show market prices on county pages alongside premium dealers
Add OilPrice type and oilPrices.getByCounty() API client method. County
page now fetches both premium listings and scraped oil prices in parallel,
displaying them in separate sections with appropriate table/card views.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 18:31:55 -05:00
anekdotin a5df1bcacb feat(api): implement centralized API client and refactor vendor pages
Introduced a new API client in src/lib/api/ to handle requests securely. Refactored vendor pages to use this client. Updated authentication logic in layout and login pages.
2026-02-09 16:25:55 -05:00
anekdotin bd602d58ab Fix Maine SVG county map with accurate GeoJSON-derived paths
Regenerated all 16 Maine county boundaries from us_counties.json source data
with proper Mercator projection and latitude correction. Fixes viewBox to match
the standard 0 0 1000 600 used by the state page component.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 10:25:28 -05:00
anekdotin c56f3b5767 UI changes 2026-02-09 09:28:55 -05:00
anekdotin 7931d42605 almost perfect pathd 2025-12-29 23:14:58 -05:00
anekdotin 984c8e8169 working pages no maps 2025-12-29 21:38:32 -05:00
anekdotin f08432e417 added listings 2025-12-26 20:01:28 -05:00
anekdotin 06a5ff98d7 Frontend working. Added form vendor profilke 2025-06-10 16:57:52 -04:00
anekdotin a4188c623d first 2025-06-08 13:21:49 -04:00
anekdotin 942d341527 changed width of boxes to be vene 2024-09-26 08:23:09 -04:00
anekdotin c920d266f2 added google facebook footer 2024-09-25 10:05:30 -04:00
anekdotin 64781d1697 updated images to png 2024-09-25 08:46:35 -04:00
anekdotin 8e79c1b70b Added emergency price. google analytics added 2024-09-25 08:22:51 -04:00
anekdotin c23209dd7a Added oil page. Typos . google fixes 2024-09-23 18:13:25 -04:00
anekdotin bff3e510ff added image 2024-09-12 18:43:31 -04:00
anekdotin 18c26e18ba updated delivery areas 2024-09-10 12:22:30 -04:00
anekdotin 2a1b61b79a Fixed major error. Custom css 2024-08-27 09:34:29 -04:00
anekdotin 0d7ab472ca all img files removed 2024-08-10 13:47:11 -04:00
anekdotin 438e493ac2 Updated layout added robots 2024-08-10 13:44:27 -04:00
anekdotin 33bd5b64ed Start SEO tags 2024-07-31 14:23:51 -04:00
anekdotin 158937dfea Updated variables 2024-06-20 10:43:30 -04:00
anekdotin 048e552f7b working docker 2024-04-11 17:23:12 -04:00
anekdotin fd8b8bfb04 first commit 2024-04-11 11:57:46 -04:00