File size: 4,917 Bytes
fa881a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<html>
<head>
<meta charset="UTF-8">
<title>Government Alerts Screen</title>
<style>
  body { margin:0; padding:0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
  #render-target {
    width:1080px; height:2400px; position:relative; overflow:hidden;
    background:#1f2427; color:#EAEFF2;
  }

  /* Status bar */
  .status-bar {
    height:110px; padding:0 36px; box-sizing:border-box; color:#dfe5e8;
    display:flex; align-items:center; justify-content:space-between;
  }
  .status-left { font-size:42px; letter-spacing:1px; }
  .status-right { display:flex; gap:26px; align-items:center; }
  .dot, .small-circle {
    width:18px; height:18px; border-radius:50%; background:#cfd6da; opacity:.85;
  }
  .battery {
    width:48px; height:24px; border:2px solid #cfd6da; border-radius:4px; position:relative;
  }
  .battery:after {
    content:""; position:absolute; right:-8px; top:6px; width:6px; height:12px; background:#cfd6da; border-radius:1px;
  }

  /* Header */
  .header {
    height:120px; display:flex; align-items:center; justify-content:center;
    position:relative; border-bottom:1px solid #2c3135;
  }
  .title { font-size:54px; font-weight:700; color:#f1f5f7; }
  .back-btn {
    position:absolute; left:24px; background:transparent; border:none; width:92px; height:92px; cursor:pointer;
  }
  .back-btn svg { width:48px; height:48px; fill:none; stroke:#e6ecef; stroke-width:6; }

  /* Hint */
  .hint {
    color:#98a2a9; font-size:34px; padding:28px 44px 18px; border-bottom:1px solid #2c3135;
  }

  /* Sections and rows */
  .section { }
  .section-label {
    color:#8f9aa2; font-size:30px; letter-spacing:2px; padding:34px 44px 12px; text-transform:uppercase;
  }
  .row {
    display:flex; align-items:center; justify-content:space-between;
    padding:40px 44px; border-bottom:1px solid #2c3135;
  }
  .left { display:flex; align-items:center; gap:26px; }
  .label { font-size:44px; color:#e7edf0; }
  .primary { font-size:48px; color:#e7edf0; }
  .secondary { font-size:32px; color:#98a2a9; margin-top:10px; }
  .stack { display:flex; flex-direction:column; }

  /* Location icon */
  .loc-icon {
    width:46px; height:46px;
  }
  .loc-icon path { fill:#cfd6da; }

  /* Toggle */
  .toggle {
    width:160px; height:84px; border-radius:50px; position:relative; background:#3a4146;
  }
  .toggle:before {
    content:""; position:absolute; top:7px; left:8px; width:70px; height:70px; background:#6d747a; border-radius:50%;
    transition:all .25s ease;
  }
  .toggle.on { background:#63c45e; }
  .toggle.on:before { left:82px; background:#ffffff; }

  /* Chevron row */
  .row.chevron .primary { font-size:44px; }
  .chev {
    width:36px; height:36px; stroke:#cfd6da; stroke-width:8; fill:none;
  }
</style>
</head>
<body>
<div id="render-target">

  <!-- Status bar -->
  <div class="status-bar">
    <div class="status-left">8:22</div>
    <div class="status-right">
      <div style="font-size:26px; color:#cfd6da; opacity:.9;">Calm</div>
      <div class="small-circle"></div>
      <div class="small-circle" style="background:#cfd6da; width:26px; height:18px; border-radius:4px;"></div>
      <div class="dot"></div>
      <svg width="28" height="28" viewBox="0 0 24 24" fill="#cfd6da"><circle cx="12" cy="12" r="9"/></svg>
      <svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="#cfd6da" stroke-width="2"><path d="M3 12l5 5L21 4"/></svg>
      <div class="battery"></div>
    </div>
  </div>

  <!-- Header -->
  <div class="header">
    <button class="back-btn" aria-label="Back">
      <svg viewBox="0 0 24 24"><path d="M15 5l-7 7 7 7"/></svg>
    </button>
    <div class="title">Government Alerts</div>
  </div>

  <!-- Hint -->
  <div class="hint">Switch on locations to receive notifications.</div>

  <!-- Current Location -->
  <div class="row">
    <div class="left">
      <svg class="loc-icon" viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z"/></svg>
      <div class="label">Current Location</div>
    </div>
    <div class="toggle" aria-label="toggle-off"></div>
  </div>

  <!-- Favorites label -->
  <div class="section-label">Favorites</div>

  <!-- Orléans -->
  <div class="row">
    <div class="left stack">
      <div class="primary">Orléans</div>
      <div class="secondary">France</div>
    </div>
    <div class="toggle on" aria-label="toggle-on"></div>
  </div>

  <!-- Tokyo -->
  <div class="row">
    <div class="left stack">
      <div class="primary">Tokyo</div>
      <div class="secondary">Japan</div>
    </div>
    <div class="toggle on" aria-label="toggle-on"></div>
  </div>

  <!-- Edit Locations -->
  <div class="row chevron">
    <div class="left">
      <div class="primary">Edit Locations</div>
    </div>
    <svg class="chev" viewBox="0 0 24 24"><path d="M9 5l7 7-7 7"/></svg>
  </div>

</div>
</body>
</html>