Skip to content

Commit

Permalink
upload the site
Browse files Browse the repository at this point in the history
  • Loading branch information
JantsoP committed Oct 7, 2023
1 parent 7c9f504 commit 49fda3a
Show file tree
Hide file tree
Showing 636 changed files with 54,971 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:import/react',
'plugin:prettier/recommended',
],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
sourceType: 'module',
ecmaVersion: 12,
},
plugins: ['react'],
rules: {
'react/prop-types': 'off',
},
settings: {
'react': {
version: 'detect',
},
'import/resolver': {
node: {
extensions: ['.js', '.jsx'],
},
},
},
};
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# New Resource PR Template

## Name of Resource:

## Description of Resource:
Your description should be short, objective, and avoid superlatives.

## A Link to the Resource:

## Discord ID(s) of the Creator(s):

This template was automatically added to your pull request.
If you would like to adapt or remove this template to better describe your pull request, feel free to do so.
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

.idea/

*.generated.json
9 changes: 9 additions & 0 deletions .markdownlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
"default": true,
"no-inline-html": false,
"single-h1": false,
"line-length": false,
"strong-style": {
"style": "asterisk"
}
};
11 changes: 11 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
useTabs: true,
singleQuote: true,
trailingComma: "es5",
printWidth: 100,
semi: true,
quoteProps: "consistent",
jsxSingleQuote: true,
bracketSpacing: false,
bracketSameLine: true,
};
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# Discord-Resources-Wiki
About Constantly updated list of the most useful Discord Resources.
<!-- markdownlint-disable MD041 MD033 -->
<p align="center">
<a href="https://discordresources.com/">
<img src="https://raw.githubusercontent.com/Discord-Resources-Wiki/Discord-Resources-Wiki/main/static/img/logo-small.png" height="96">
<h3 align="center">Discord Resources Wiki</h3>
</a>
</p>

<p align="center">
Constantly updated list of the most useful Discord Resources.
</p>

## Discord Resources Wiki

This GitHub repository is the backstage of the **Discord Resources Wiki**, which can be found [here](https://discordresources.com/). <br/>
You can join the official guild of this project [here](https://discordresources.com/discord). <br/>
*feel free to star this repo we won't be mad*
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
27 changes: 27 additions & 0 deletions blog/2021-11-02-changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: The Discord Resources Wiki Website
description: Major updates, minor changes and the announcement of our brand new website.
tags: [changelog]
---

@authors/378537973215657984

_**MASSIVE CHANGES!**_

A lot of things changed the last few days, and today we are super excited to introduce...

**The Discord Resources Wiki Website!**
**<https://discordresources.com/>**

The website is synced and managed through the Wiki GitHub, meaning that any changes made on GitHub will automatically update the website! Due to the awesome release of the new website, the GitHub native Wiki will be closed down.
The link to the website will be in the repo's readme, so you can still refer people to the repo without any problem whatsoever! The repo still exists, and all stars and shares are appreciated.

<!-- truncate -->

Future commits will require a different markdown character for the line break. We previously used `\` though you must now use `<br/>`. There is also the possibility for other markdown inconsistencies between systems (GitHub and Docusaurus). We will be sure to keep you updated on any we find.
The website has links to this Discord server and the GitHub repository in the top right corner, you can also append /github or /discord onto the website URL to access the GitHub repository or discord server!

We are looking forward to hearing all of your feedback regarding the new website!
Keep in mind, this is still WIP and we're constantly looking and working on improving the site from workflow to branding.

Thank you everyone for the support!
15 changes: 15 additions & 0 deletions blog/2021-11-03-changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Search Bar
description: The announcement and addition of the search bar which has now been added to the website!
tags: [changelog]
---

@authors/378537973215657984

Heya all!

We’re so happy to announce that the Discord Resources Wiki website just got a ` Search Bar `!
This means it'll be so much easier to navigate between the hundreds of resources on the website.
Unfortunately, there are some bugs with the search bar which will hopefully be resolved after we upgrade our system.

Enjoy the new changes!
15 changes: 15 additions & 0 deletions blog/2021-11-08-changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

# Introducing our latest feature: The Discord Resources Blog

@authors/378537973215657984
We have just released yet another superb feature courtesy of @386861188891279362, our website wizard. <br/>
You'll now be able to find all news regarding the current, and future state of the project, along with more information within the new blog. <br/>
We look forward to hearing your feedback and ideas about the blog; we might add more to it in the near future! <br/>

## STAFF OPENINGS

**Copywriter** *who will be apart of the community team and help create, review and edit our upcoming blog-posts, announcements and more! If you're interested in this, DM* @378537973215657984. <br/>
**Marketing Specialist** *who will work on strategic marketing and advertising our project. DM* @755792681313108018 *if you’re interested in this position.*

**More Updates Soon**
Core Team
18 changes: 18 additions & 0 deletions blog/2022-05-04-changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: New Languages Support Coming To The Discord Resources Wiki
description: Announcing the begninnig of translation for the website to many new languages.
tags: [changelog]
---

@authors/755792681313108018
**SEEKING TRANSLATORS**

Hey Everyone!

We are currently looking for volunteers who would like to contribute to the project though translating the wiki in different languages.

You must speak this language fluently or at a level of C2. If interested, please let us know through our official guild at **discord.gg/resources** in the appropriate thread.

If anybody has any questions, ask away in that same thread too!

More updates regarding translations soontm.
30 changes: 30 additions & 0 deletions blog/2022-08-10-changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: 1st Wave Of Languages Is Here!
description: Announcing our latest news regarding new language support, and our plans to the future.
tags: [changelog]
---

@authors/378537973215657984
**Introducing New Language Support!**

We are more than pleased to announce that the Discord Resources Wiki now supports 3 new languages. Over the past few months, our volunteer translators have worked hard to make our website more accessible to people whose first language isn't english, so be sure to thank them in #Chat . Every two months we will have a polish week to update all the languages to the most updated version of the wiki.

**The following languages are now available:**
> — 🇩🇪 ` Deutsch ` <br/>
> — 🇪🇸 ` Español ` <br/>
> — 🇹🇷 ` Turkish ` <br/>
> — 🇫🇷 ` Français ` <br/>
**(HELP WANTED) Upcoming Languages:**
Over the next month(s) we will be adding the languages listed below. We are looking for extra translators for all the below languages. Please contact @378537973215657984, if you can help.
> — 🇵🇹 ` Portuguese (Portugal) ` <br/>
> — 🇺🇦 ` Ukrainian ` <br/>
> — 🇮🇳 ` Hindi ` <br/>
> — 🇳🇱 ` Dutch ` <br/>
> — 🇳🇴 ` Norwegian ` <br/>
> — 🇸🇪 ` Swedish ` <br/>
> — 🇮🇱 ` Hebrew ` <br/>
> — 🇸🇦 ` Arabic ` <br/>
> — 🇧🇩 ` Bengali ` <br/>
If anybody has any question, ask away in [our guild](https://discord.com/invite/AJX6cVWeJg)! And if you notice any issues, feel free to report it or PR it!
16 changes: 16 additions & 0 deletions blog/2023-10-07-changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: New maintainer and lead
description: Announcing our latest news regarding our plans to the future.
tags: [changelog]
---

@authors/135877336804360194
**Introducing new project maintainer and lead**

Hello everyone. As you might have noticed, this project has been drifting for some quite time now and getting little to none updates. But that will change today.

As of today, I will be taking over as project lead and maintainer. Nothing major will change.

GitHub will be moved to a new org, since the old was locked behind Rydix account and they are no where to be seen.

Thats pretty much it. Have nice day!
137 changes: 137 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const themes = require('prism-react-renderer').themes;
const lightCodeTheme = themes.github;
const darkCodeTheme = themes.dracula;

const userWidgetInlinePlugin = require('./src/plugins/userWidgetInlinePlugin');
const inviteWidgetPlugin = require('./src/plugins/inviteWidgetPlugin');
const linebreakPlugins = require('./src/plugins/linebreakPlugin');
const blogAuthorWidgetPlugin = require('./src/plugins/blogAuthorWidgetPlugin');

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Discord Resources',
tagline:
'A list of tons of useful discord resources and utilities for all types of users, from beginners to power users.',
url: 'https://discordresources.com',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'Discord-Resources-Wiki',
projectName: 'Discord-Resources-Wiki',

i18n: {
defaultLocale: "en",
locales: ["en", "fr", "de", "es", "tr", "nl", "hi", "sv", "pl"]
},

presets: [
[
'@docusaurus/preset-classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/DC-Resources-Wiki/Discord-Resources-Wiki/edit/main/',
path: 'wiki',
routeBasePath: '/',
remarkPlugins: [linebreakPlugins, inviteWidgetPlugin, userWidgetInlinePlugin],
},
blog: {
path: 'blog',
routeBasePath: '/blog/',
showReadingTime: true,
remarkPlugins: [
linebreakPlugins,
inviteWidgetPlugin,
blogAuthorWidgetPlugin,
userWidgetInlinePlugin,
],
},
theme: {
customCss: [
require.resolve('inter-ui/inter.css'),
require.resolve('./src/css/custom.css'),
],
},
}),
],
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// We don't set the description and title here to assure that the right og:tags will be delivered per page.
metadata: [
{
name: 'og:image',
content: 'https://discordresources.com/img/logo-background.png',
},
{
name: 'theme-color',
content: '#C272CC',
},
{
name: 'twitter:card',
content: 'summary',
},
],
colorMode: {
defaultMode: 'dark',
disableSwitch: false,
respectPrefersColorScheme: true,
},
navbar: {
title: 'Discord Resources',
logo: {
alt: 'Discord Resources Logo',
src: 'img/logo-small.png',
href: '/',
},
items: [
{
to: '/',
label: 'Wiki',
position: 'left',
},
{
to: 'blog',
label: 'Blog',
position: 'left',
},
{
href: 'https://github.com/DC-Resources-Wiki/Discord-Resources-Wiki',
className: 'navbar-item-github',
position: 'right',
},
{
href: 'https://discord.gg/AJX6cVWeJg',
className: 'navbar-item-discord',
position: 'right',
},
{
type: 'localeDropdown',
position: 'right',
}
],
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
algolia: {
// The application ID provided by Algolia
appId: 'KO08RT1BUB',

// Public API key: it is safe to commit it
apiKey: '90b11a8ac9c24d6fc6aa7aa88c159215',

indexName: 'discordresources',
},
}),
};

module.exports = config;
Loading

0 comments on commit 49fda3a

Please sign in to comment.