Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated webkit components #2

Open
wants to merge 128 commits into
base: site/ngi-summit-wip2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
ea7dbfb
Fix form submission for registration
gdpelican Feb 29, 2020
97df810
Merge pull request #43 from gdpelican/fix-form-submission
owengot Mar 1, 2020
3a0bb3f
Updated webkit components
owengot Apr 13, 2020
ddb19d1
Update config.json
louisnesta Apr 14, 2020
2e197b3
updating copy
louisnesta Apr 14, 2020
6ffac77
removing policy lab section
louisnesta Apr 14, 2020
a53aebe
Update config.json
aerugo Apr 14, 2020
8d0f07e
adding contact us
louisnesta Apr 14, 2020
2c52c71
updating favicons
louisnesta Apr 14, 2020
f7ad8c7
updating favicons
louisnesta Apr 14, 2020
1c0b1f8
updating about copy
louisnesta Apr 14, 2020
a75b966
removing programme event filters
louisnesta Apr 14, 2020
02c70db
commas
louisnesta Apr 14, 2020
a6499aa
commas again
louisnesta Apr 14, 2020
9ffac0c
remove contact us image
louisnesta Apr 14, 2020
091c9bd
moving organised by section
louisnesta Apr 14, 2020
1607d58
updating organisers text
louisnesta Apr 14, 2020
bd30987
updating organiser text again
louisnesta Apr 14, 2020
cbbe7ea
updating strongness
louisnesta Apr 14, 2020
c1eed9b
adding correctly sized topic description
louisnesta Apr 14, 2020
08d6e1b
escaping double quotes
louisnesta Apr 14, 2020
d449afb
adding contact us title
louisnesta Apr 14, 2020
0ae9834
moving topics text back
louisnesta Apr 14, 2020
a8f211c
uploading adobe pics for testing
louisnesta Apr 14, 2020
503177f
updating hero image with test
louisnesta Apr 14, 2020
da1252b
Delete 500_F_311024400_MkrZsRie21DUG0Gq7vn0YZR0qcfd2pTF.jpg
louisnesta Apr 14, 2020
b58ff75
Delete 500_F_317646489_xM75U6uWiRmGD17V1es7XyGzGs3u347q.jpg
louisnesta Apr 14, 2020
a271cf5
Delete 500_F_320403829_IMlfct30maNg4J01oX474uz6BQLHyZJ6.jpg
louisnesta Apr 14, 2020
2b6462a
adding test adobe images
louisnesta Apr 14, 2020
8ee411f
updating hero image
louisnesta Apr 14, 2020
070022d
updating contact us text
louisnesta Apr 14, 2020
32e0849
underline link
louisnesta Apr 14, 2020
3a89664
making hero image text background transparent
louisnesta Apr 14, 2020
a6dd1bf
link underlines
louisnesta Apr 14, 2020
c9265da
changing to roboto
louisnesta Apr 14, 2020
5f623ec
Update ngi.scss
louisnesta Apr 14, 2020
d74b627
changing back to non transparent
louisnesta Apr 14, 2020
050eb59
changing back to non transparent
louisnesta Apr 14, 2020
43cbeb0
finally figured out rgba
louisnesta Apr 14, 2020
b6a296a
changing hero image
louisnesta Apr 14, 2020
1e868cd
uploading hero bg
louisnesta Apr 15, 2020
c9d4373
Delete 500_F_311024400_MkrZsRie21DUG0Gq7vn0YZR0qcfd2pTF.jpg
louisnesta Apr 15, 2020
b0daae0
Delete 500_F_317646489_xM75U6uWiRmGD17V1es7XyGzGs3u347q.jpg
louisnesta Apr 15, 2020
2167127
Delete 500_F_320403829_IMlfct30maNg4J01oX474uz6BQLHyZJ6.jpg
louisnesta Apr 15, 2020
3ffab7c
update hero bg
louisnesta Apr 15, 2020
ba95920
Delete AdobeStock_317646489.jpeg
louisnesta Apr 15, 2020
c7e93d6
Add files via upload
louisnesta Apr 15, 2020
19c7b09
Update config.json
louisnesta Apr 15, 2020
8898bfb
Delete summit hero image.jpg
louisnesta Apr 15, 2020
20ff28a
Add files via upload
louisnesta Apr 15, 2020
36baf44
Update Hero.vue
louisnesta Apr 15, 2020
497be54
Update Terms.vue
louisnesta Apr 15, 2020
3e1fedd
Update config.json
louisnesta Apr 15, 2020
aaf5483
updating exchange copy
louisnesta Apr 15, 2020
7f8b1fe
Update config.json
louisnesta Apr 15, 2020
de74803
Update config.json
louisnesta Apr 15, 2020
2f4ce17
Create test
louisnesta Apr 15, 2020
d43dbc8
Add files via upload
louisnesta Apr 15, 2020
1862627
Delete test
louisnesta Apr 15, 2020
d7191c5
Create test
louisnesta Apr 15, 2020
b58afd8
Add files via upload
louisnesta Apr 15, 2020
653ebf0
Add files via upload
louisnesta Apr 15, 2020
345cf1d
Add files via upload
louisnesta Apr 15, 2020
55cc8b4
Add files via upload
louisnesta Apr 16, 2020
13142aa
Add files via upload
louisnesta Apr 16, 2020
083a3ab
Add files via upload
louisnesta Apr 16, 2020
bb3baf3
Add files via upload
louisnesta Apr 16, 2020
f749835
Add files via upload
owengot Apr 18, 2020
b68cf7a
Add files via upload
owengot Apr 18, 2020
5ae7fba
Add files via upload
owengot Apr 18, 2020
744e1fd
Add files via upload
owengot Apr 18, 2020
e36f385
New Mobile Views & Profile Data
owengot Apr 20, 2020
87a1078
Added mobile views & profile data.
owengot Apr 20, 2020
bc88507
updating widths
louisnesta Apr 20, 2020
f2a2ae9
Add files via upload
owengot Apr 20, 2020
87bd78b
Update config.json
louisnesta Apr 20, 2020
3495e12
Update config.json
louisnesta Apr 20, 2020
da02a4d
Update config.json
louisnesta Apr 20, 2020
2b93f0a
Update config.json
louisnesta Apr 20, 2020
f3e77a5
Update config.json
louisnesta Apr 20, 2020
de5691a
Update config.json
louisnesta Apr 20, 2020
482baee
Update config.json
louisnesta Apr 20, 2020
bcf40fd
Add files via upload
louisnesta Apr 20, 2020
d5c209a
Add files via upload
louisnesta Apr 20, 2020
51a4108
Add files via upload
louisnesta Apr 20, 2020
4573e95
Delete Geert-Jan Bogaerts.jpg
louisnesta Apr 20, 2020
c627557
Add files via upload
louisnesta Apr 20, 2020
5c12683
Add files via upload
louisnesta Apr 20, 2020
a2904ae
Add files via upload
louisnesta Apr 20, 2020
fc7f1ab
Update config.json
louisnesta Apr 20, 2020
2f81f1c
Add files via upload
louisnesta Apr 20, 2020
9fa3e4b
Update config.json
louisnesta Apr 20, 2020
d8c414a
Add files via upload
louisnesta Apr 20, 2020
d3562e6
Add files via upload
louisnesta Apr 20, 2020
fe293ab
Added getAsset global method.
owengot Apr 20, 2020
06c933d
Moved speakers to assets folder
owengot Apr 20, 2020
b063394
Changes how local images are displayed for speakers.
owengot Apr 20, 2020
b083cc2
Add files via upload
owengot Apr 20, 2020
02e9114
Add files via upload
owengot Apr 20, 2020
30fedde
Add files via upload
owengot Apr 20, 2020
72dc7c5
Add files via upload
owengot Apr 20, 2020
74d54eb
Add files via upload
louisnesta Apr 20, 2020
5c79a65
Add files via upload
louisnesta Apr 20, 2020
a544237
photo update
Apr 20, 2020
0e88e18
moving hero image
Apr 20, 2020
de51df2
update hero image location
Apr 20, 2020
ae8ab16
updating anna
louisnesta Apr 20, 2020
e38a4b4
Add files via upload
owengot Apr 20, 2020
4190b07
Add files via upload
owengot Apr 20, 2020
9a15e19
rename paul
Apr 20, 2020
61fbb05
rename geertjan
Apr 20, 2020
770b098
updating width
Apr 20, 2020
42fccbf
updating image locations
Apr 20, 2020
0df86bc
Merge branch 'owengot-update' of https://github.com/Edgeryders-Partic…
Apr 21, 2020
0ac023d
Removed duplicate src folder
owengot Apr 22, 2020
32b6450
Changed style options
owengot Apr 22, 2020
1d8f03a
Changed style options
owengot Apr 22, 2020
ab3f807
Changed style options
owengot Apr 22, 2020
2e43539
Add files via upload
owengot Apr 22, 2020
918aefa
Add files via upload
owengot Apr 22, 2020
a1fe450
1
owengot Apr 22, 2020
fa5468a
1
owengot Apr 22, 2020
e4b1f3d
fixed directory
owengot Apr 22, 2020
876cea1
Add files via upload
louisnesta Apr 23, 2020
f420f31
updated ingrid
Apr 23, 2020
3371e74
Merge branch 'owengot-update' of https://github.com/Edgeryders-Partic…
Apr 23, 2020
22f9508
adding original pics
Apr 29, 2020
76a3cfb
Delete Ingrid_Schneider.png
louisnesta Apr 29, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Edgeryders

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
235 changes: 235 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,241 @@ Styling uses Tailwind utilities, [read more here](https://tailwindcss.com/docs/a
- Edgeryders
- Terms

## Configuring Components

All components are configured in @/data/config.json with the following properties:

```
{
"type": "", // [string, required]
"title": "", // [string, optional]
"id": "", // [string, optional], enables scroll to and includes link in the nav component with the "title" as the link text
}
```

### Hero

Displays a hero banner at the top of the site.

```
{
"type": "hero" // [string, required]
"background": {
"color": "" // [string, required], ex: '#00000' or 'blue'
},
"text": {
"content": "", // [string, optional], hero text
"align": "", // [string, optional], aligns text "left" or "right" of main image
"buttons": // [array, optional], displays action buttons included below main text
[
{
"text": "", // [string, required], button text
"url": "", // [string, optional], button url
"background": "" // [string, optional], ex: '#00000' or 'blue'
}
]
},
"image": {
"url": "", // [string, require], url of image src
"width": 450 // [integer, optional], sets max_width of image
}
}
```

### Custom

Displays text alongside an optional image or video

```
{
"type": "custom" // [string, required]
"image": {
"url": "", // [string, required], url of image src
"width": 420 // [integer, optional], sets max_width of image
},
"video": {
"src": "", // [string, required], url of the video
"poster": "", // [string, optional], url of image for video poster
},
"text": {
"content": "", // [string, optional], main text content
"position": "left", // [string, optional], positions text "left" or "right" in relation to image or video
"buttons": [{
"text": "", // [string, required], button text
"url": "", // [string, required], button url
"background": "" [string, optional], background color of button in CSS, ex: '#00000' or 'blue'
}]
}
}
```

### Topics

Displays topics either as a slideshow or scrollable row of cards

```
{
"type": "topics", // [string, required]
"view": "", // [string, required], "featured" displays topics as slideshow, "cards" displays topics in row of cards
"tag": "", // [string, required], the tag of topics to display from the platform
"sort_by": {
"property": "", // [string, required], the property ["title", "created_at"] to sort topics by
"order": "ascending" // [string, required], the order ["ascending", "descending"] to sort topics by
},
"display": ["title", "author", "date"] // [array, optional], determines whether to display author, date and title of topic
"image": {
"url": "" // [string, optional]
},
"video": {
"src": "", // [string, optional], src url of video
"poster": "" // [string, optional], url of image for video poster
},
"text": {
"content": "", // [string, optional]
"position": ""// [string, optional], position content "left" or "right" of video or image
}
}
```

### Events

Displays topics in a calendar view. Topics from discourse must include an ```event``` property.

```
{
"tag": "", // [string, required] tag of topics on platform to be included as events
"types": {
"event_type": "", [string, optional], color of event_type ex: '#00000' or 'blue'
}
}
```

### Users

Displays Discourse users from a specific category

```
{
"type": "users", // required
"category": "campfire", // [string, required] category slug from which to display users from the platform
"only_bios": true // [boolean, optional] display only users with a bio on the platform
}
```

### People

Displays topics in the format of the 'Users' component for people with no Discourse account

```
{
"tag": "" // [string, required] tag of topics on platform to be included as a bio
}
```

### Partners

Displays a slider of partners with logos and dates

```
{
"type": "partners",
"display": {
"slides": 3 // [integer, required] number of slides to display in rotation
},
"content": [
{
"title": "", // [string] name of publication/partner
"date": "", // [string] date of quote
"url": "", // [string] url of partner/publication
"logo": "", // [string] image to be displayed in the slide
"excerpt": "" // [string] text to be displayed in the slide
}
]
}
```

### Edgeryders

Displays the Edgeryders about section

```
{
"type": "edgeryders", // [string, required]
"title": "" // [string, optional]
}
```

### Form

Displays a form for signing up and/or posting to the platform

```
{
"type": "form", // [string, required]
"content": "", // [string, optional]
"settings": {
"createTopic": false // [boolean, required] determines if a topic is posted to platform on signup
},
"slideDefaults": {
"title": "Q{{index}}", // [string, required]
"backText": "", // [string, required] back button text
"nextText": "", // [string, required] next button text
"backTitle": "", // [string, required] title to go back
"nextTitle": "", // [string, required] title to continue
"fields": [
{
"name": "message", // [string, required] input field to enter text
"type": "textarea", // [string, required] input type
"placeholder": "write here...", // [string, optional] input placeholder text
"required": true, // [boolean, required] determines if input text is required to continue
"autofocus": true, // [boolean, required] determines if input is focused on by default
"error": "Please write a response!" // [string, required] determines error text
}
],
"diagram": {},
"settings": { "omitFields": true }
},
"slides": [
{
"index": 1, // [integer, required] slide index number determines order
"title": "", // [string, required]
"nextTitle": "SIGN UP", // [string, required] title of next slide
"body": "", // [string, optional] body text of slide
"fields": [{
"name": "", // [string, required] field name
"type": "text", // [string, required] field type
"placeholder": "", // [string, optional] input placeholder text
"half": true, // [boolean, optional]
"required": true, // [boolean, required]
"autofocus": false, // [boolean, required]
"error": "" // [string, optional]
},
{
"nextText": "SEND", // [string, optional] final submit button
"submit": true, // [boolean, required] submits the form
"settings": {
"omitBody": true
}
],
"errorMessages": {
"networkError": "", [string, optional] // error message if network is down
"username": "", // [string, optional] error message if username is already taken
"email": "", // [string, optional] error message if email is already taken
"default": "" // [string, optional] defauolt error message
}
}
```

### Terms

Displays Edgeryders terms and conditions.

```
{
"type": "terms" // [string, required]
}
```

## Project setup

```
Expand Down
Loading