Skip to content

Commit f96b98f

Browse files
authored
Merge pull request #1023 from OpenSourceFellows/remove_landing_page
Remove landing page
2 parents ea67c34 + 6427cb4 commit f96b98f

File tree

7 files changed

+149
-342
lines changed

7 files changed

+149
-342
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ TWILIO_AUTH_TOKEN=TWILIO_SECRET_KEY
3232
# **We always run in single-campaign mode now so this is mandatory!**
3333
# Use campaign seeder file for local dev campaigns.
3434
VUE_APP_CAMPAIGN_MODE=single
35-
VUE_APP_FEATURED_CAMPAIGN=2
35+
VUE_APP_FEATURED_CAMPAIGN=3
3636

3737
VUE_APP_EMPTY_TRANSACTIONS=off
3838
VUE_APP_SHOW_EXT_DONATION=false

script/stringify.js

Lines changed: 22 additions & 319 deletions
Original file line numberDiff line numberDiff line change
@@ -1,329 +1,32 @@
1+
/*
12
const reps = JSON.stringify([
23
{
3-
name: 'Dr. Buu Nygren',
4-
title: 'President of the Navajo Nation',
5-
photoUrl:
6-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/photo_P_Nygren.jpg?resize=1080%2C1080&ssl=1',
7-
address_line1: 'PO Box 7440',
8-
address_line2: '',
9-
address_city: 'Window Rock',
10-
address_state: 'AZ',
11-
address_zip: '86515',
12-
address_country: 'US',
13-
14-
},
15-
{
16-
name: 'Jasmine Blackwater-Nygren',
17-
title: 'First Lady of the Navajo Nation',
18-
photoUrl:
19-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/photo_FL_Nygren-Blackwater.jpg?resize=1080%2C1080&ssl=1',
20-
address_line1: 'PO Box 7440',
21-
address_line2: '',
22-
address_city: 'Window Rock',
23-
address_state: 'AZ',
24-
address_zip: '86515',
25-
address_country: 'US',
26-
27-
},
28-
{
29-
name: 'Richelle Montoya',
30-
title: 'Vice President of the Navajo Nation',
31-
photoUrl:
32-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/photo_VP_Montoya.jpg?resize=1080%2C1080&ssl=1',
33-
address_line1: 'PO Box 7440',
34-
address_line2: '',
35-
address_city: 'Window Rock',
36-
address_state: 'AZ',
37-
address_zip: '86515',
38-
address_country: 'US',
39-
40-
},
41-
{
42-
name: 'Ethel Branch',
43-
title: 'Department of Justice, Attorney General',
44-
photoUrl:
45-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/attorney_general_Branch.jpg?resize=1080%2C1440&ssl=1',
46-
address_line1: 'PO Box 7440',
47-
address_line2: '',
48-
address_city: 'Window Rock',
49-
address_state: 'AZ',
50-
address_zip: '86515',
51-
address_country: 'US',
52-
email: ''
53-
},
54-
{
55-
name: 'Sean McCabe',
56-
title: 'Office of the Controller, Controller',
57-
photoUrl:
58-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/controller_McCabe.jpg?resize=1080%2C1440&ssl=1',
59-
address_line1: 'PO Box 7440',
60-
address_line2: '',
61-
address_city: 'Window Rock',
62-
address_state: 'AZ',
63-
address_zip: '86515',
64-
address_country: 'US',
65-
email: ''
66-
},
67-
{
68-
name: 'Justin Ahasteen',
69-
title: 'Navajo Nation Washington Office, Executive Director',
70-
photoUrl:
71-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/director_Ahasteen.jpg?resize=1080%2C1440&ssl=1',
72-
address_line1: 'PO Box 7440',
73-
address_line2: '',
74-
address_city: 'Window Rock',
75-
address_state: 'AZ',
76-
address_zip: '86515',
77-
address_country: 'US',
78-
email: ''
79-
},
80-
{
81-
name: 'Heather Clah',
82-
title: 'Department of Justice, Deputy Attorney General',
83-
photoUrl:
84-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2024/04/dag_Clah.jpg?resize=1080%2C1440&ssl=1',
85-
address_line1: 'PO Box 7440',
86-
address_line2: '',
87-
address_city: 'Window Rock',
88-
address_state: 'AZ',
89-
address_zip: '86515',
90-
address_country: 'US',
91-
email: ''
92-
},
93-
{
94-
name: 'Thomas Cody',
95-
title: 'Division of Social Services, Executive Director',
96-
photoUrl:
97-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/director_Cody.jpg?resize=1080%2C1440&ssl=1',
98-
address_line1: 'PO Box 7440',
99-
address_line2: '',
100-
address_city: 'Window Rock',
101-
address_state: 'AZ',
102-
address_zip: '86515',
103-
address_country: 'US',
104-
email: ''
105-
},
106-
{
107-
name: 'Sherylene Yazzie',
108-
title: 'Department of Health, Acting Executive Director',
109-
photoUrl:
110-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/Seal_gray_gradient.jpg?resize=1080%2C1440&ssl=1',
111-
address_line1: 'PO Box 7440',
112-
address_line2: '',
113-
address_city: 'Window Rock',
114-
address_state: 'AZ',
115-
address_zip: '86515',
116-
address_country: 'US',
117-
email: ''
118-
},
119-
{
120-
name: 'Roy Tracy',
121-
title: 'Department of Diné Education, Interim Executive Director',
122-
photoUrl:
123-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2024/04/director_Tracy.jpg?resize=1080%2C1440&ssl=1',
124-
address_line1: 'PO Box 7440',
125-
address_line2: '',
126-
address_city: 'Window Rock',
127-
address_state: 'AZ',
128-
address_zip: '86515',
129-
address_country: 'US',
130-
email: ''
131-
},
132-
{
133-
name: 'Tony Skrelunas',
134-
title: 'Division of Economic Development, Executive Director',
135-
photoUrl:
136-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/director_Skrelunas.jpg?resize=1080%2C1440&ssl=1',
137-
address_line1: 'PO Box 7440',
138-
address_line2: '',
139-
address_city: 'Window Rock',
140-
address_state: 'AZ',
141-
address_zip: '86515',
142-
address_country: 'US',
143-
email: ''
144-
},
145-
{
146-
name: 'Bobbie Ann Baldwin',
147-
title: 'Navajo Nation Veterans Administration, Executive Director',
148-
photoUrl:
149-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2024/04/director_Baldwin.jpg?resize=1080%2C1440&ssl=1',
150-
address_line1: 'PO Box 7440',
151-
address_line2: '',
152-
address_city: 'Window Rock',
153-
address_state: 'AZ',
154-
address_zip: '86515',
155-
address_country: 'US',
156-
email: ''
157-
},
158-
{
159-
name: 'Shawnevan Dale',
160-
title: 'Executive Director, Division of General Services',
161-
photoUrl:
162-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/director_Dale.jpg?resize=1080%2C1440&ssl=1',
163-
address_line1: 'PO Box 7440',
4+
name: 'Stephen Hoffman',
5+
title: 'LANL SWEIS Document Manager, DOE/NNSA ',
6+
photoUrl: 'https://imgs.search.brave.com/G46oqr3VnummnoFmkqT_NqalvvWvKQxpoX-EJITKqGQ/rs:fit:860:0:0:0/g:ce/aHR0cHM6Ly9uYXRp/b25hbG1hZ2xhYi5v/cmcvaW1hZ2VzL2xh/eW91dC9sb3MtYWxh/bW9zLWxvZ28uanBn/P2Q9MjAyMzAyMDc',
7+
address_line1: '3747 West Jemez Road ',
1648
address_line2: '',
165-
address_city: 'Window Rock',
166-
address_state: 'AZ',
167-
address_zip: '86515',
9+
address_city: 'Los Alamos',
10+
address_state: 'NM',
11+
address_zip: '87544',
16812
address_country: 'US',
169-
email: ''
170-
},
171-
{
172-
name: 'Tom Platero',
173-
title: 'Division of Transportation, Executive Director',
174-
photoUrl:
175-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/director_Platero.jpg?resize=1080%2C1440&ssl=1',
176-
address_line1: 'PO Box 7440',
177-
address_line2: '',
178-
address_city: 'Window Rock',
179-
address_state: 'AZ',
180-
address_zip: '86515',
181-
address_country: 'US',
182-
email: ''
183-
},
184-
{
185-
name: 'Effie Edsitty',
186-
title: 'Office of the Navajo Tax Commission, Executive Director',
187-
photoUrl:
188-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/director_Edsitty.jpg?resize=1080%2C1440&ssl=1',
189-
address_line1: 'PO Box 7440',
190-
address_line2: '',
191-
address_city: 'Window Rock',
192-
address_state: 'AZ',
193-
address_zip: '86515',
194-
address_country: 'US',
195-
email: ''
196-
},
197-
{
198-
name: 'Arbin Mitchell',
199-
title: 'Division of Community Development, Executive Director',
200-
photoUrl:
201-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/director_Mitchell.jpg?resize=1080%2C1440&ssl=1',
202-
address_line1: 'PO Box 7440',
203-
address_line2: '',
204-
address_city: 'Window Rock',
205-
address_state: 'AZ',
206-
address_zip: '86515',
207-
address_country: 'US',
208-
email: ''
209-
},
210-
{
211-
name: 'Sarah Slim',
212-
title: 'Navajo-Hopi Land Commission Office, Executive Director',
213-
photoUrl:
214-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2024/04/director_Slim_2.jpg?resize=1080%2C1440&ssl=1',
215-
address_line1: 'PO Box 7440',
216-
address_line2: '',
217-
address_city: 'Window Rock',
218-
address_state: 'AZ',
219-
address_zip: '86515',
220-
address_country: 'US',
221-
email: ''
222-
},
223-
{
224-
name: 'W. Mike Halona',
225-
title: 'Division of Natural Resources, Executive Director',
226-
photoUrl:
227-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/director_Halona.jpg?resize=1080%2C1440&ssl=1',
228-
address_line1: 'PO Box 7440',
229-
address_line2: '',
230-
address_city: 'Window Rock',
231-
address_state: 'AZ',
232-
address_zip: '86515',
233-
address_country: 'US',
234-
email: ''
235-
},
236-
{
237-
name: 'Byron C. Shorty',
238-
title:
239-
'Telecommunications Regulatory Commission Office, Acting Executive Director',
240-
photoUrl:
241-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2024/09/director_Shorty.jpg?resize=1080%2C1440&ssl=1',
242-
address_line1: 'PO Box 7440',
243-
address_line2: '',
244-
address_city: 'Window Rock',
245-
address_state: 'AZ',
246-
address_zip: '86515',
247-
address_country: 'US',
248-
email: ''
249-
},
250-
{
251-
name: 'Michael Anderson',
252-
title: 'Division of Public Safety, Executive Director',
253-
photoUrl:
254-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/director_Anderson-1.jpg?resize=1080%2C1440&ssl=1',
255-
address_line1: 'PO Box 7440',
256-
address_line2: '',
257-
address_city: 'Window Rock',
258-
address_state: 'AZ',
259-
address_zip: '86515',
260-
address_country: 'US',
261-
email: ''
262-
},
263-
{
264-
name: 'Stephen Etsitty',
265-
title: 'Navajo Nation Environmental Protection Agency, Executive Director',
266-
photoUrl:
267-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/director_Etsitty.jpg?resize=1080%2C1440&ssl=1',
268-
address_line1: 'PO Box 7440',
269-
address_line2: '',
270-
address_city: 'Window Rock',
271-
address_state: 'AZ',
272-
address_zip: '86515',
273-
address_country: 'US',
274-
email: ''
275-
},
276-
{
277-
name: 'Dominic Beyal',
278-
title: 'Office of Management & Budget, Executive Director',
279-
photoUrl:
280-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2024/04/director_Beyal.jpg?resize=1080%2C1440&ssl=1',
281-
address_line1: 'PO Box 7440',
282-
address_line2: '',
283-
address_city: 'Window Rock',
284-
address_state: 'AZ',
285-
address_zip: '86515',
286-
address_country: 'US',
287-
email: ''
288-
},
289-
{
290-
name: 'Lisa Jymm',
291-
title: 'Navajo Nation Fiscal Recovery Fund Office, Executive Director',
292-
photoUrl:
293-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2024/03/director.Jymm_.jpg?resize=1080%2C1440&ssl=1',
294-
address_line1: 'PO Box 7440',
295-
address_line2: '',
296-
address_city: 'Window Rock',
297-
address_state: 'AZ',
298-
address_zip: '86515',
299-
address_country: 'US',
300-
email: ''
301-
},
302-
{
303-
name: 'Reycita Toddy',
304-
title: 'Division of Human Resources, Executive Director',
305-
photoUrl:
306-
'https://i0.wp.com/opvp.navajo-nsn.gov/wp-content/uploads/2023/12/Seal_gray_gradient.jpg?resize=1080%2C1440&ssl=1',
307-
address_line1: 'PO Box 7440',
308-
address_line2: '',
309-
address_city: 'Window Rock',
310-
address_state: 'AZ',
311-
address_zip: '86515',
312-
address_country: 'US',
313-
email: ''
13+
email: 'lanlsweis@nnsa.doe.gov'
31414
}
31515
])
16+
*/
31617

317-
/*
31818
const assets = JSON.stringify({
319-
campaign_logo: 'https://i.imgur.com/o3lxGJD.png',
320-
campaign_background: 'https://i.imgur.com/qGOHdiP.jpeg',
321-
'campaign-img-1': 'https://i.imgur.com/h88GBNC.jpeg',
322-
'campaign-img-2': 'https://i.imgur.com/lcQWK6p.jpeg',
323-
'campaign-img-3': 'https://i.imgur.com/bnPQVOR.jpeg',
324-
'infographic': 'https://i.imgur.com/BJCPDCR.jpeg'
19+
campaign_logo: 'https://i.imgur.com/0I80XGh.png',
20+
campaign_background:
21+
'https://media.assettype.com/freepressjournal/2024-09-04/i722yxsy/lg_NR15OldQueensGate0889_edit.jpg?rect=0%2C0%2C3900%2C2194&w=1200&auto=format%2Ccompress&ogImage=true',
22+
infographic: 'https://i.imgur.com/I7E3J5Q.png',
23+
'campaign-img-1':
24+
'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ-yngrxizvU5kAZ3CP9-iQnn1OD14eXkpeXUYo96KOL6sg19Icwoes_JYlm_a61pzAcRE&usqp=CAU',
25+
'campaign-img-2':
26+
'https://images-prod.gothamist.com/images/GettyImages-1481222828.width-1000.jpg',
27+
'campaign-img-3':
28+
'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS2X0OYEKhzrxmyMymuEaqDUIq0jDakYX4i4jaqRI3AUs0svGfcNDbpdatY4WUD6LMPRqg&usqp=CAU'
32529
})
326-
*/
32730

328-
console.log(reps)
329-
//console.log(assets)
31+
//console.log(reps)
32+
console.log(assets)

server/db/migrations/20240817143934_create_letter_templates_table.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ module.exports = {
1212
await knex.schema.alterTable('letters', (table) => {
1313
table.integer('letter_template_id').unsigned()
1414
table.foreign('letter_template_id').references('letter_templates.id')
15-
table
16-
.enu('delivery_method', ['email', 'snail_mail'], {
17-
useNative: true,
18-
enumName: 'delivery_methods'
19-
})
15+
table.enu('delivery_method', ['email', 'snail_mail'], {
16+
useNative: true,
17+
enumName: 'delivery_methods'
18+
})
2019
table.string('email')
2120
})
2221

0 commit comments

Comments
 (0)