# Road closure notice

> An A3 notice a highways team puts on lamp posts: the closure dates as one huge range, a map with the closed stretch hatched in red and the diversion as blue arrows, access for residents and a phone number. The dates, road names and map labels are all editable text.

- The design, as a .vd file: https://getv.design/library/road-closure-notice.vd
- Its page: https://getv.design/library/road-closure-notice

## How it was made

Drafted from this prompt:

> An A3 road closure notice: Mill Lane closed 3 to 14 June for resurfacing, with a map of the diversion, access for residents, and a phone number.

Then refined:

- Enlarged the date range so it fills the width of the black band and reads from across the road.
- Raised the body copy under the map so it fills the space above the phone band.
- Removed a side road from the map that collided with its legend.

## Make it yours

- "Change the road name and the dates."
- "Add a line about the bus route."
- "Make the diversion go the other way round."

## The source

```vd
version 12
kind design
title "Road closure notice"
$ink = #111111
$yellow = #FFE45E
$red = #C1121F
$blue = #1D70B8
$paper = #FFFFFF
$road = #D9D9D9
$m = 56
$mapy = 609

font head = "B612"
  fallback "system-ui, sans-serif"
  face asset=b612-400 weight=400
  face asset=b612-700 weight=700

font mono = "B612 Mono"
  fallback "ui-monospace, monospace"
  face asset=b612-mono-400 weight=400
  face asset=b612-mono-700 weight=700

asset b612-400 = font/woff2 hash=sha256-a96e47feaec40f5b53b6c8e941e87ba7732d7935d47f2a554223585f36c6785d bytes=21160 license=OFL
asset b612-700 = font/woff2 hash=sha256-95f39db174588831100e7e32a0329d4f91952a6c28f2fd91f207951e3a8c6788 bytes=13244 license=OFL
asset b612-mono-400 = font/woff2 hash=sha256-36316fb226f98c51db117b8ba357316013a610a1d0f7607d2af73ea3f9194848 bytes=19048 license=OFL
asset b612-mono-700 = font/woff2 hash=sha256-4994d0b2f403b6805d8b918c01b0d5122808373373795f8149ccc231ebd197f3 bytes=18984 license=OFL

frame notice x=0 y=0 w=1123 h=1587 background=yellow
  text title x=$m y=44 w=1011 h=123 font=head size=54 weight=700 lineHeight=1.1 letterSpacing=-1 fill=ink
    "Mill Lane is closed to traffic for resurfacing"
  rect band x=0 y=(@title.bottom + 24) w=100% h=425 fill=ink
  text range x=$m y=(@band.y + 16) w=1011 h=285 font=head size=285 weight=700 lineHeight=1 letterSpacing=-9 fill=yellow
    "3 to 14"
  text range.june x=$m y=(@range.bottom + 6) w=1011 h=44 font=mono size=32 weight=700 fill=yellow
    "June 2027, Thursday to Monday"
  text range.back x=$m y=(@range.june.bottom + 4) w=1011 h=40 font=mono size=26 fill=paper
    "The lane reopens on Tuesday 15 June."

  frame map x=$m y=(@band.bottom + 28) w=1011 h=480 background=paper clip stroke=ink strokeWidth=4
    rect road.mill x=0 y=330 w=100% h=44 fill=road
    rect road.church x=250 y=90 w=36 h=240 fill=road
    rect road.station x=760 y=90 w=36 h=240 fill=road
    rect road.ridge x=250 y=90 w=546 h=36 fill=road
    frame closed x=268 y=330 w=510 h=44 clip background=red
      vector closed.hatch x=0 y=0 w=510 h=44 view="0 0 510 44" d="M-44 44L0 0M-28 44L16 0M-12 44L32 0M4 44L48 0M20 44L64 0M36 44L80 0M52 44L96 0M68 44L112 0M84 44L128 0M100 44L144 0M116 44L160 0M132 44L176 0M148 44L192 0M164 44L208 0M180 44L224 0M196 44L240 0M212 44L256 0M228 44L272 0M244 44L288 0M260 44L304 0M276 44L320 0M292 44L336 0M308 44L352 0M324 44L368 0M340 44L384 0M356 44L400 0M372 44L416 0M388 44L432 0M404 44L448 0M420 44L464 0M436 44L480 0M452 44L496 0M468 44L512 0M484 44L528 0M500 44L544 0" fill=none stroke=paper strokeWidth=5
    rect closed.endw x=258 y=316 w=10 h=72 fill=ink
    rect closed.ende x=778 y=316 w=10 h=72 fill=ink
    connector div.1 x1=100 y1=352 x2=268 y2=352 stroke=blue strokeWidth=10 cap=round
    connector div.2 x1=268 y1=352 x2=268 y2=200 stroke=blue strokeWidth=10 cap=round end=arrow
    connector div.3 x1=268 y1=200 x2=268 y2=108 stroke=blue strokeWidth=10 cap=round
    connector div.4 x1=268 y1=108 x2=520 y2=108 stroke=blue strokeWidth=10 cap=round end=arrow
    connector div.5 x1=520 y1=108 x2=778 y2=108 stroke=blue strokeWidth=10 cap=round
    connector div.6 x1=778 y1=108 x2=778 y2=250 stroke=blue strokeWidth=10 cap=round end=arrow
    connector div.7 x1=778 y1=250 x2=778 y2=352 stroke=blue strokeWidth=10 cap=round
    connector div.8 x1=778 y1=352 x2=930 y2=352 stroke=blue strokeWidth=10 cap=round end=arrow
    text lbl.mill x=20 y=292 w=220 h=30 font=head size=24 weight=700 fill=ink
      "Mill Lane"
    text lbl.town x=700 y=292 w=291 h=30 font=head size=24 align=right fill=ink
      "To Hollinsworth"
    text lbl.church x=20 y=180 w=220 h=60 font=head size=24 align=right fill=ink
      "Church Road"
    text lbl.station x=818 y=180 w=173 h=60 font=head size=24 fill=ink
      "Station Road"
    text lbl.ridge x=290 y=48 w=450 h=30 font=head size=24 align=center fill=ink
      "Ridge Road"
    text lbl.closed x=268 y=394 w=510 h=34 font=mono size=24 weight=700 align=center fill=red
      "Closed to all traffic"
    text lbl.div x=330 y=156 w=420 h=64 font=mono size=24 weight=700 align=center valign=middle fill=blue
      "Follow the blue arrows"
    rect legend.red x=24 y=438 w=40 h=24 fill=red
    text legend.red.t x=(@legend.red.right + 12) y=@legend.red.y w=240 h=24 font=mono size=20 valign=middle fill=ink
      "Road closed"
    rect legend.blue x=300 y=446 w=40 h=8 fill=blue
    text legend.blue.t x=(@legend.blue.right + 12) y=@legend.red.y w=300 h=24 font=mono size=20 valign=middle fill=ink
      "Diversion, about 1 mile"

  text res.h x=$m y=(@map.bottom + 28) w=485 h=40 font=head size=32 weight=700 fill=ink
    "Residents keep access"
  text res.b x=$m y=(@res.h.bottom + 6) w=485 h=200 font=mono size=24 lineHeight=1.35 fill=ink
    "You can reach every house from the nearest end of the lane. Bin collections, post and emergency vehicles carry on. Please keep clear of the barriers."
  text work.h x=(@res.h.right + 41) y=@res.h.y w=485 h=40 font=head size=32 weight=700 fill=ink
    "What is happening"
  text work.b x=@work.h.x y=@res.b.y w=485 h=200 font=mono size=24 lineHeight=1.35 fill=ink
    "We are resurfacing and relining 640 metres of Mill Lane. Crews work 7am to 6pm, Monday to Saturday. The 42 bus calls on Ridge Road until the lane reopens."

  rect phone x=0 y=1431 w=100% h=156 fill=red
  text phone.h x=$m y=1456 w=1011 h=48 font=head size=38 weight=700 fill=paper
    "Questions? Call 01632 960 142"
  text phone.b x=$m y=(@phone.h.bottom + 8) w=1011 h=60 font=mono size=21 lineHeight=1.3 fill=paper
    "Hollinsworth County Council highways, 8am to 5pm, Monday to Friday"
```
