openvibers/openvibe.tours Commits

Tours home on a phone: a shorter lede (#97)

OP OpenVibers committed 5 days ago · 4d4a54265c · 1 file, +1 −1

At 390 px the hero lede ran five lines. It keeps what is here and that every fact names its source, in three lines, instead of naming each open-data project.

Changes

ddiff --git a/server/views/index.js b/server/views/index.js
iindex ad7d8fa..446516d 100644
---- a/server/views/index.js
++++ b/server/views/index.js
@@@ -234,7 +234,7 @@ function home({ counts = {}, live = [], recent = [], placeOfDay = null, cities =
room: 'tours',
hero: {
title: 'Go anywhere: fly, stay, walk, watch',
-- lede: 'Places from OpenStreetMap, notes from Wikivoyage, coordinates and pictures from Wikidata, IRL tours live on OpenVibe.Live, stays from OpenVibe.Rent, and a map for every walk. All open data, each with its source and fetch time.',
++ lede: 'Places, notes and pictures from open data, IRL tours live on OpenVibe.Live, stays from OpenVibe.Rent, and a map for every walk. Every fact names its source.',
search: { action: '/cities', name: 'q', placeholder: 'A city: Lisbon, Tokyo, Mexico City…', hints: ['Lisbon', 'Tokyo', 'Mexico City', 'Barcelona'], label: 'Find a city' },
chips: [{ label: 'Live tours', href: '/live' }, { label: 'Routes', href: '/routes' }, { label: 'Stays', href: '/stays' }, { label: 'Flights', href: '/flights' }],
proof,