Skip to content

Commit

Permalink
Adding Contributors page
Browse files Browse the repository at this point in the history
  • Loading branch information
nitya committed Apr 19, 2022
1 parent f2e1fdf commit d03e983
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 23 deletions.
18 changes: 2 additions & 16 deletions www/blog/2021-08-26-welcome/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,7 @@ authors: [slorber, yangshun]
tags: [facebook, hello, docusaurus]
---

[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).
![Image Credit: Unsplash @bel2000a](https://images.unsplash.com/photo-1533745848184-3db07256e163)

Simply add Markdown files (or folders) to the `blog` directory.

Regular blog authors can be added to `authors.yml`.

The blog post date can be extracted from filenames, such as:

- `2019-05-30-welcome.md`
- `2019-05-30-welcome/index.md`

A blog post folder can be convenient to co-locate blog post images:

![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)

The blog supports tags as well!

**And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config.
_Use this post to introduce project and say hello to first time visitors. This is the Hello World post of your project blog_.
4 changes: 3 additions & 1 deletion www/docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
sidebar_position: 1
---

# Tutorial Intro
# Learn By Doing

![Image Credit Unsplash @markuswinkler](https://images.unsplash.com/photo-1585829365343-ea8ed0b1cb5b)

Let's discover **Docusaurus in less than 5 minutes**.

Expand Down
6 changes: 4 additions & 2 deletions www/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const config = {
navbar: {
title: '#30DaysOf',
logo: {
alt: 'My Site Logo',
alt: '30 Days of Learning Logo',
src: 'img/logo.svg',
},
items: [
Expand All @@ -60,9 +60,11 @@ const config = {
label: 'Exercises',
},
{to: '/showcase', label: 'Showcase', position: 'left'},
{to: '/contributors', label: 'Contribute', position: 'left'},
{
href: 'https://github.com/fearlessly-dev/30days',
label: 'GitHub',
className: 'header-github-link',
'aria-label': 'GitHub repository',
position: 'right',
},
],
Expand Down
10 changes: 6 additions & 4 deletions www/src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,22 @@ import styles from './styles.module.css';

const FeatureList = [
{
title: 'Building Blocks',
title: 'Core Concepts',
Svg: require('@site/static/img/blocks.svg').default,
description: (
<>
Start by learning the core concepts behind a technology or framework. Familiarize yourself with key terms.
Learn the building blocks and core terminology of this technology.
Complete the quickstart, setup dev environment.
</>
),
},
{
title: 'Code in Action',
title: 'Concepts in Practice',
Svg: require('@site/static/img/action.svg').default,
description: (
<>
See those concepts in action by completing short tutorials or exercises that help reinforce ideas in real-world contexts.
Learn to put concepts to work or understand practical usage by example.
Complete short tutorials and activities.
</>
),
},
Expand Down
20 changes: 20 additions & 0 deletions www/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,23 @@
[data-theme='dark'] .docusaurus-highlight-code-line {
background-color: rgba(0, 0, 0, 0.3);
}

/* GitHub logo in header - adapted from docusaurus*/

.header-github-link:hover {
opacity: 0.6;
}

.header-github-link::before {
content: '';
width: 24px;
height: 24px;
display: flex;
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
no-repeat;
}

[data-theme='dark'] .header-github-link::before {
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
no-repeat;
}
24 changes: 24 additions & 0 deletions www/src/pages/contributors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Contributing To The Project

![Image credit: Unsplash @chrislawton](https://images.unsplash.com/photo-1477414348463-c0eb7f1359b6)

## How can you contribute?

_Use this section to provide guidance on how people can contribute to the project, and what some good first-time contributor tasks could be_.

* Read the contribution guidelines (add link)
* Check out open issues (add link)
* Provide feedback via discussions (add link)
* Fork project and provide PRs (add link)

---

## Thank you for contributing!

_Use this section to list the various contributors and acknowledge their contributions_.

| Name | Contribution | Profiles |
|:---|:---|:---|
| Alice XYZ | Author, Maintainer | [@twitter](https://twitter.com/xyz)|
| Bob DEF | Author, Bug Fixer | [@github](https://github.com/xyz)|
| Charlie GHI | Code Contributor | [@linkedin](https://linkedin.com/in/xyz)|

0 comments on commit d03e983

Please sign in to comment.