Skip to content

Commit b35a684

Browse files
committed
init openingo website
0 parents  commit b35a684

File tree

308 files changed

+22132
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

308 files changed

+22132
-0
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 2
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
assets/js/index.js
2+
assets/js/katex.js
3+
assets/js/vendor
4+
node_modules

.eslintrc.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
"extends": "eslint:recommended",
9+
"globals": {
10+
"Atomics": "readonly",
11+
"SharedArrayBuffer": "readonly"
12+
},
13+
"parserOptions": {
14+
"ecmaVersion": 2018,
15+
"sourceType": "module"
16+
},
17+
"rules": {
18+
"no-console": 0,
19+
"quotes": ["error", "single"],
20+
"comma-dangle": [
21+
"error",
22+
{
23+
"arrays": "always-multiline",
24+
"objects": "always-multiline",
25+
"imports": "always-multiline",
26+
"exports": "always-multiline",
27+
"functions": "ignore"
28+
}
29+
]
30+
}
31+
}

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: "Bug report \U0001F41E"
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
## Description
8+
9+
Describe the issue that you're seeing.
10+
11+
### Steps to reproduce
12+
13+
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue _much_ easier to diagnose (seriously).
14+
15+
### Expected result
16+
17+
What should happen?
18+
19+
### Actual result
20+
21+
What happened.
22+
23+
### Environment
24+
25+
Paste the information here as shown by `npm run check`

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: Question 🙋
3+
url: https://github.com/openingo/community/discussions/categories/q-a
4+
about: Ask your question in OpeningO Discussions
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: "Feature request \U0001F680"
3+
about: Suggest an idea for OpeninGO
4+
5+
---
6+
7+
## Summary
8+
9+
Brief explanation of the feature.
10+
11+
### Basic example
12+
13+
Include a basic example or links here.
14+
15+
### Motivation
16+
17+
Why are we doing this? What use cases does it support? What is the expected outcome?

.github/pull_request_template.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Summary
2+
3+
Brief explanation of the proposed changes.
4+
5+
## Basic example
6+
7+
Include a basic example, screenshots, or links.
8+
9+
## Motivation
10+
11+
Why are we doing this? What use cases does it support? What is the expected outcome?
12+
13+
## Checks
14+
15+
- [ ] Read [Create a Pull Request](https://openingo.org/docs/contributing-guide)
16+
- [ ] Supports all screen sizes (if relevant)
17+
- [ ] Supports both light and dark mode (if relevant)
18+
- [ ] Passes `npm run test`

.github/workflows/codeql-analysis.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
name: "CodeQL"
7+
8+
on:
9+
push:
10+
branches: [main]
11+
pull_request:
12+
# The branches below must be a subset of the branches above
13+
branches: [main]
14+
schedule:
15+
- cron: '0 11 * * 5'
16+
17+
jobs:
18+
analyze:
19+
name: Analyze
20+
runs-on: ubuntu-latest
21+
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
# Override automatic language detection by changing the below list
26+
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
27+
language: ['javascript']
28+
# Learn more...
29+
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
30+
31+
steps:
32+
- name: Checkout repository
33+
uses: actions/checkout@v2
34+
35+
# Initializes the CodeQL tools for scanning.
36+
- name: Initialize CodeQL
37+
uses: github/codeql-action/init@v1
38+
with:
39+
languages: ${{ matrix.language }}
40+
# If you wish to specify custom queries, you can do so here or in a config file.
41+
# By default, queries listed here will override any specified in a config file.
42+
# Prefix the list here with "+" to use these queries and those in the config file.
43+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
44+
45+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
46+
# If this step fails, then you should remove it and run the build manually (see below)
47+
- name: Autobuild
48+
uses: github/codeql-action/autobuild@v1
49+
50+
# ℹ️ Command-line programs to run using the OS shell.
51+
# 📚 https://git.io/JvXDl
52+
53+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
54+
# and modify them (or add more) to build your code if your project
55+
# uses a compiled language
56+
57+
#- run: |
58+
# make bootstrap
59+
# make release
60+
61+
- name: Perform CodeQL Analysis
62+
uses: github/codeql-action/analyze@v1

.github/workflows/node.js-ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Hyas CI
2+
3+
on:
4+
push:
5+
branches: main
6+
pull_request:
7+
branches: main
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, windows-latest, macos-latest]
16+
node: [16.x, 18.x]
17+
18+
steps:
19+
- name: Check out Hyas project
20+
uses: actions/checkout@v2
21+
22+
- name: Set up Node.js ${{ matrix.node }}
23+
uses: actions/setup-node@v2
24+
with:
25+
node-version: ${{ matrix.node }}
26+
27+
- name: Install dependencies
28+
run: npm ci
29+
30+
- name: Build production website
31+
run: npm run build

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
public
3+
resources
4+
.netlify
5+
.hugo_build.lock

.markdownlint-cli2.jsonc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"config": {
3+
"default": true,
4+
"MD013": false,
5+
"MD024": false,
6+
"MD026": false,
7+
"MD033": false,
8+
"MD034": false
9+
},
10+
"ignores": ["node_modules", "CHANGELOG.md", "README.md"]
11+
}

.stylelintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
assets/scss/components/_syntax.scss
2+
assets/scss/vendor
3+
node_modules

.stylelintrc.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"extends": "stylelint-config-standard-scss",
3+
"rules": {
4+
"no-empty-source": null,
5+
"string-quotes": "double",
6+
"scss/comment-no-empty": null,
7+
"max-line-length": null,
8+
"scss/at-extend-no-missing-placeholder": null,
9+
"scss/dollar-variable-colon-space-after": null,
10+
"scss/dollar-variable-empty-line-before": null,
11+
"color-function-notation": null,
12+
"alpha-value-notation": null,
13+
"selector-id-pattern": null,
14+
"selector-class-pattern": null,
15+
"scss/no-global-function-names": null,
16+
"number-max-precision": null,
17+
"hue-degree-notation": null,
18+
"value-no-vendor-prefix": null,
19+
"property-no-vendor-prefix": null,
20+
"at-rule-no-unknown": [
21+
true,
22+
{
23+
"ignoreAtRules": [
24+
"extend",
25+
"at-root",
26+
"debug",
27+
"warn",
28+
"error",
29+
"if",
30+
"else",
31+
"for",
32+
"each",
33+
"while",
34+
"mixin",
35+
"include",
36+
"content",
37+
"return",
38+
"function",
39+
"tailwind",
40+
"apply",
41+
"responsive",
42+
"variants",
43+
"screen"
44+
]
45+
}
46+
]
47+
}
48+
}

0 commit comments

Comments
 (0)