Skip to content
Merged
Show file tree
Hide file tree
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
18 changes: 12 additions & 6 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,18 @@ src/
SourcesPage/ glass index-card carousel (scroll-driven scale + spread-apart + cursor tilt)
over a faded strings canvas; rAF org-logo marquee (slows on hover, grows the
hovered logo), AMA academic references (generated references.ts) + disclosure
TravelPage/ two-algorithm photo feed: one full-bleed card at a time, double-tap/♥ to
like, ✕ to dislike, Skip to pass (keyboard ↑↓→). A driver toggle flips
Engagement (A) vs User-First (B); a "See your data" dossier panel shows
what A has inferred. Batches interactions to submitFeedback; Unsplash-
compliant (hotlinked images, linked photographer+Unsplash credit w/ UTM,
trackPhotoUse pings the download endpoint when a photo is used)
TravelPage/ full-viewport snap-scroll photo feed (4 cols × 2 rows per section). Each
section fills the screen and snaps into place; scrolling advances one section
at a time. Row parallax: entering/exiting sections have rows at staggered
offsets that converge to zero when snapped. Click the RIGHT half of a photo
to like (♥, pink tint); click the LEFT half to dislike (✕, greyscale). Arrow
keys (←/→/Enter) also work. Hovering for 1 s marks a photo "engaged" and
boosts the dwell signal sent to the algorithm. Per-photo ℹ button (top-right,
appears on hover/reaction) opens an info panel with photographer name, country,
tags, and a link to Unsplash. Sections auto-submit when scrolled off the top
(no submit button); dossier stats refresh with a one-section lag. Fixed topbar
stays visible while scrolling (driver toggle + "See your data" dossier panel).
Unsplash-compliant: UTM attribution links + trackPhotoUse for liked photos.
DashboardPage/ react-simple-maps equirectangular world map (bundled world-atlas 50m
TopoJSON, Antarctica filtered, full-viewport width) choropleth-shaded by
preference score; hover readout is a cursor-following gooey "score chip"
Expand Down
9 changes: 5 additions & 4 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,11 @@
</script>

<!-- Icons -->
<link rel="icon" type="image/svg+xml" href="./public/favicon.svg" />
<link rel="icon" type="image/x-icon" href="./public/favicon.ico" sizes="any" />
<link rel="apple-touch-icon" href="./public/apple-touch-icon.png" />
<link rel="manifest" href="./public/site.webmanifest" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />

<!-- Poppins — the brand typeface. Loaded via <link> (not a CSS @import) so the
Lightning CSS build pipeline doesn't try to resolve the remote URL. -->
Expand Down
4 changes: 2 additions & 2 deletions frontend/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "",
"short_name": "",
"name": "Building Better Algorithms",
"short_name": "BBA",
"icons": [
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
Expand Down
Loading
Loading