Skip to content

Commit d06f765

Browse files
authored
Merge branch 'master' into image-correction
2 parents 4ffb250 + e8038bd commit d06f765

File tree

2 files changed

+29
-22
lines changed

2 files changed

+29
-22
lines changed

CONTRIBUTING.md

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,37 @@ Please follow these steps and note these guidelines to begin contributing:
5050
1. A good way to easily start contributing is to pick and work on a [good first issue](https://github.com/layer5io/layer5/labels/good%20first%20issue). We try to make these issues as clear as possible and provide basic info on how the code should be changed, and if something is unclear feel free to ask for more information on the issue.
5151
1. We regularly discuss new issues to work on in our [discussion forum](https://discuss.layer5.io/c/landscape/7) and the [#websites](https://layer5io.slack.com/archives/C015QJKUMPU) channel. Feel free to join and discuss any issue or any idea that you may have.
5252

53-
# Contributing to Layer5's Blogs
53+
# Contributing to Layer5's Blogs Section
5454

5555
If you'd like to contribute a post to layer5.io/blog, please open an issue and suggest a topic. If you don't have a topic, then hop into the [#blog-kitchen](https://layer5io.slack.com/archives/C0210TZRF88) channel, and we'll help you find one.
5656

57+
## Things to keep in mind
58+
1. We use inbuilt components called Call to Action(CTAs), prominently in our MarkDown(.mdx) files. Check out our [guide to CTAs](https://github.com/layer5io/layer5/blob/master/src/components/Call-To-Actions/README.md).
59+
60+
## Adding a Blog Post
61+
62+
1. In order to contribute a blog post, fork this repository, clone it, create a new branch and navigate to the `src/collections/blog` directory.
63+
2. Create a copy of the [blog template](https://github.com/layer5io/layer5/tree/master/src/collections/blog/blog-template).
64+
3. Follow the instructions included in the blog template and name the new file after the title of the blog article.
65+
4. Entries will be listed in chronological order automatically.
66+
67+
## Adding a Resource
68+
69+
1. In order to contribute a resource, fork this repository, clone it, create a new branch and navigate to the `src/collections/resources` directory.
70+
2. Create a copy of the [resource template](https://github.com/layer5io/layer5/tree/master/src/collections/resources/resources-template).
71+
3. Follow the instructions included in the resource template and name the new file after the title of the resource.
72+
4. Please note that different types of resources like `article`,`tutorial`, `webinars` are organized into separate folders inside the `/resource` collection. Add your entries in the respective folders.
73+
5. To qualify any post as a resource, the field `resource: true` must be added. This applies for `/news`, `/blog`, `/events` as well.
74+
6. Each resource can be associated with 4 additional fields: `type`, `mesh`, `technology` and `product`. The current list of values can be found from these [options](https://github.com/layer5io/layer5/blob/master/src/sections/Resources/Resources-grid/options.js).
75+
76+
## Adding News
77+
78+
1. In order to add/update news items, fork this repository, clone it, create a new branch, and navigate to the `src/collections/news` directory.
79+
2. Create a copy of the [news template](https://github.com/layer5io/layer5/tree/master/src/collections/news/news-template/0000-00-00-news-title).
80+
3. Follow the instructions included in the news template and name the new file after the title of the news article.
81+
4. Entries will be listed in chronological order automatically.
82+
83+
5784
# Common Types of Site Contributions
5885

5986
The following list of instructions pertains to commonplace site updates by contributors.
@@ -137,28 +164,7 @@ Procedure of changing the image for the gatsby-image is the same as we change fo
137164
2. It is recommended to use Gatsby's `<StaticImage>` instead of `<img>` tag to display static images on the site. This performs automatic image optimization, thereby improving site performance.
138165
3. Avoid creating duplicate copies of the same image under different folders. All images must be imported from `/assets/images` folder.
139166

140-
## Adding a Blog Post
141-
142-
1. In order to contribute a blog post, fork this repository, clone it, create a new branch and navigate to the `src/collections/blog` directory.
143-
2. Create a copy of the [blog template](https://github.com/layer5io/layer5/tree/master/src/collections/blog/blog-template).
144-
3. Follow the instructions included in the blog template and name the new file after the title of the blog article.
145-
4. Entries will be listed in chronological order automatically.
146-
147-
## Adding News
148167

149-
1. In order to add/update news items, fork this repository, clone it, create a new branch, and navigate to the `src/collections/news` directory.
150-
2. Create a copy of the [news template](https://github.com/layer5io/layer5/tree/master/src/collections/news/news-template/0000-00-00-news-title).
151-
3. Follow the instructions included in the news template and name the new file after the title of the news article.
152-
4. Entries will be listed in chronological order automatically.
153-
154-
## Adding a Resource
155-
156-
1. In order to contribute a resource, fork this repository, clone it, create a new branch and navigate to the `src/collections/resources` directory.
157-
2. Create a copy of the [resource template](https://github.com/layer5io/layer5/tree/master/src/collections/resources/resources-template).
158-
3. Follow the instructions included in the resource template and name the new file after the title of the resource.
159-
4. Please note that different types of resources like `article`,`tutorial`, `webinars` are organized into separate folders inside the `/resource` collection. Add your entries in the respective folders.
160-
5. To qualify any post as a resource, the field `resource: true` must be added. This applies for `/news`, `/blog`, `/events` as well.
161-
6. Each resource can be associated with 4 additional fields: `type`, `mesh`, `technology` and `product`. The current list of values can be found from these [options](https://github.com/layer5io/layer5/blob/master/src/sections/Resources/Resources-grid/options.js).
162168

163169
## Updating/Creating a Community Member Profile
164170

src/sections/Community/Newcomers-guide/NewcomersPageWrapper.style.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export const NewcomersGuideWrapper = styled.section`
9090
margin: 0 auto;
9191
width: 21.875rem;
9292
text-align: center;
93+
margin-top:1rem;
9394
}
9495
}
9596
.community-collage {

0 commit comments

Comments
 (0)