diff --git a/frontend/src/components/invite/InvitePage.tsx b/frontend/src/components/invite/InvitePage.tsx index f046f93..51561f9 100644 --- a/frontend/src/components/invite/InvitePage.tsx +++ b/frontend/src/components/invite/InvitePage.tsx @@ -166,16 +166,16 @@ export default function InvitePage({ const isValid = invite?.valid && !invite.used; return (
-
-
-

+
+
+

{isValid ? isAdminInvite ? "You\u2019re invited!" : 'Special offer!' : 'Perfect Postcode'}

-

+

{isValid && invite.invited_by ? isAdminInvite ? `${invite.invited_by} has invited you to get free lifetime access.` @@ -187,19 +187,19 @@ export default function InvitePage({ : 'Explore every neighbourhood in England'}

-
+
{isValid && !isAdminInvite && pricePence !== null && pricePence > 0 && ( -
- +
+ {`\u00A3${pricePence / 100}`} - + {`\u00A3${(Math.round(pricePence * 0.7) / 100).toFixed(2)}`} - /once + /once
)} -

+

Property prices, energy ratings, crime stats, school ratings & more

diff --git a/frontend/src/components/map/Map.tsx b/frontend/src/components/map/Map.tsx index 9eccc9a..46e7885 100644 --- a/frontend/src/components/map/Map.tsx +++ b/frontend/src/components/map/Map.tsx @@ -18,6 +18,7 @@ import { INITIAL_VIEW_STATE, MAP_MIN_ZOOM, MAP_BOUNDS, POI_GROUP_COLORS, POI_DEF import LocationSearch, { type SearchedLocation } from './LocationSearch'; import MapLegend from './MapLegend'; import HoverCard from './HoverCard'; +import { LogoIcon } from '../ui/icons/LogoIcon'; import type { FeatureFilters } from '../../types'; import { useDeckLayers } from '../../hooks/useDeckLayers'; import { MODE_LABELS, type TravelTimeEntry } from '../../hooks/useTravelTime'; @@ -207,13 +208,50 @@ export default memo(function Map({ {screenshotMode ? ( ogMode ? ( -
-

- Your perfect postcode -

+
+ {/* Center: Logo card with hero text */} +
+
+ + + Your perfect postcode + +
+
+ + {/* Bottom bar */} +
+
+ + Property prices + + | + + Energy ratings + + | + + Schools + + | + + Crime stats + + | + + Transport + +
+ + perfect-postcode.co.uk + +
) : null ) : ( diff --git a/frontend/src/lib/consts.ts b/frontend/src/lib/consts.ts index 13ac998..74701cf 100644 --- a/frontend/src/lib/consts.ts +++ b/frontend/src/lib/consts.ts @@ -19,7 +19,7 @@ export const FREE_ZONE_BOUNDS = { south: 51.44, west: -0.31, north: 51.59, east: export const INITIAL_VIEW_STATE: ViewState = { longitude: (FREE_ZONE_BOUNDS.west + FREE_ZONE_BOUNDS.east) / 2, latitude: (FREE_ZONE_BOUNDS.south + FREE_ZONE_BOUNDS.north) / 2, - zoom: 14.5, + zoom: 14, pitch: 0, }; @@ -35,7 +35,7 @@ export const ZOOM_TO_RESOLUTION_THRESHOLDS = [ { maxZoom: 13, resolution: 9 }, ] as const; -export const POSTCODE_ZOOM_THRESHOLD = 14.5; +export const POSTCODE_ZOOM_THRESHOLD = 15; export const FEATURE_GRADIENT: { t: number; color: [number, number, number] }[] = [ { t: 0, color: [46, 204, 113] },