This repository has been archived by the owner on Aug 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
brigade.js
97 lines (95 loc) · 2.23 KB
/
brigade.js
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
var moment = require('moment')
var faker = require('faker')
module.exports = function () {
var auditDate = moment().format('YYYY-MM-DD HH:mm:ss')
return [{
name: 'Code for Example',
slug: 'codeforexample',
recoveryEmail: 'admin@codeforexample.org',
location: {
general: '',
specific: '',
geo: ''
},
heroImage: faker.image.city(1080, 399),
url: 'http://codeforexample.org',
github: 'codeforexample',
blog: {
jekyll: '',
wordpress: '',
medium: ''
},
redirects: [
{
endpoint: '/temp',
destination: 'https://google.com',
method: 'GET',
type: 'temporary'
},
{
endpoint: '/perm/',
destination: 'https://google.com',
method: 'GET',
type: 'permanent'
}
],
theme: {
public: null,
admin: null,
logo: '',
page: {
title: false,
events: false,
projects: false,
blog: false,
about: false,
login: false,
external: []
}
},
copy: {
tagline: 'is a community searching for technological solutions to social challenges.',
description: "We're a bunch of civic-minded technologists, designers, and topic experts using our skills to improve Example and the world."
},
sponsors: [
{
name: 'Microsoft',
url: 'http://microsoft.com',
image: 'https://i.imgur.com/5VUlJN8.png'
},
{
name: 'Slack',
url: 'http://slack.com',
image: 'https://i.imgur.com/Y5L7SgT.png'
},
{
name: 'Zenhub',
url: 'http://zenhub.io',
image: 'https://i.imgur.com/jdbLl87.png'
}
],
landingstats: [],
displayedstats: [],
auth: {
github: {
clientId: process.env.GITHUB_ID,
clientSecret: process.env.GITHUB_SECRET
},
slack: {
clientId: '',
clientSecret: ''
},
meetup: {
consumerKey: process.env.MEETUP_KEY,
consumerSecret: process.env.MEETUP_SECRET
},
google: {
clientId: '',
clientSecret: ''
}
},
auditLog: [
'initial | ' + auditDate + ' | added default brigade details from seeder'
]
}]
}