Skip to content

Commit 22d995c

Browse files
committed
feat(init): Initial Commit
0 parents  commit 22d995c

File tree

122 files changed

+9576
-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.

122 files changed

+9576
-0
lines changed

.editorconfig

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

.eslintrc

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"extends": [
3+
"next",
4+
"next/core-web-vitals"
5+
],
6+
"rules": {
7+
"@next/next/no-img-element": "off",
8+
"react/jsx-max-props-per-line": [
9+
1,
10+
{
11+
"maximum": 1
12+
}
13+
],
14+
"react/jsx-first-prop-new-line": [
15+
1,
16+
"multiline"
17+
],
18+
"react/jsx-closing-bracket-location": [
19+
1,
20+
"tag-aligned"
21+
],
22+
"object-curly-newline": [
23+
1,
24+
{
25+
"multiline": true,
26+
"consistent": true
27+
}
28+
],
29+
"object-property-newline": [
30+
1,
31+
{
32+
"allowAllPropertiesOnSameLine": false
33+
}
34+
],
35+
"no-unused-vars": [
36+
1
37+
]
38+
}
39+
}

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
.next
3+
.env
4+
5+
build
6+
dist
7+
8+
package.lock
9+
package-lock.json
10+
11+
node_modules
12+
13+
.DS_Store
14+
._.DS_Store
15+
16+
.vercel

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @jacobsfletch

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Metro Guide
2+
Official User Guide/Documentation for Metro Reviews
3+
4+
> Made with: Next.js & Faceless UI
5+
6+
---
7+
8+
## Sample
9+
![Screenshot](https://react.makes-me-horny.wtf/9f24d5.png)

cssVariables.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
breakpoints: {
3+
s: 768,
4+
m: 1024,
5+
l: 1680,
6+
xl: 1920
7+
}
8+
}

next-env.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/basic-features/typescript for more information.

next.config.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
reactStrictMode: true,
5+
webpack: (config) => {
6+
const configCopy = { ...config };
7+
configCopy.resolve.alias = {
8+
...config.resolve.alias,
9+
'@components': path.resolve(__dirname, './src/components/'),
10+
'@icons': path.resolve(__dirname, './src/icons/'),
11+
'@layout': path.resolve(__dirname, './src/layout/'),
12+
'@root': path.resolve(__dirname, './src'),
13+
'@scss': path.resolve(__dirname, './src/scss/'),
14+
// IMPORTANT: the next lines are for development only
15+
// keep them commented out unless actively developing local react modules
16+
// "@faceless-ui/grid": path.resolve(__dirname, "../../faceless-ui/grid"),
17+
react: path.join(__dirname, "node_modules/react"),
18+
"react-dom": path.join(__dirname, "node_modules/react-dom")
19+
};
20+
21+
return configCopy;
22+
},
23+
extensions: ['.js', '.jsx', '.ts', '.tsx'],
24+
redirects: async () => ([
25+
{
26+
source: '/docs',
27+
destination: '/docs/getting-started',
28+
permanent: false
29+
}
30+
])
31+
}

package.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "@metro/guide",
3+
"version": "1.0.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "next lint"
10+
},
11+
"dependencies": {
12+
"@faceless-ui/collapsibles": "^1.0.5",
13+
"@faceless-ui/css-grid": "^1.0.9",
14+
"@faceless-ui/jumplist": "^1.0.9",
15+
"@faceless-ui/modal": "^1.1.8",
16+
"@faceless-ui/mouse-info": "^1.2.6",
17+
"@faceless-ui/scroll-info": "^1.2.7",
18+
"@faceless-ui/window-info": "^2.0.4",
19+
"@types/react-syntax-highlighter": "^13.5.2",
20+
"next": "^12.1.6",
21+
"react": "18.0.0",
22+
"react-dom": "18.0.0",
23+
"react-syntax-highlighter": "^15.4.5",
24+
"sass": "^1.42.1"
25+
},
26+
"devDependencies": {
27+
"@types/node": "^17.0.27",
28+
"@types/react": "18.0.0",
29+
"eslint": "7.32.0",
30+
"eslint-config-next": "11.1.2",
31+
"typescript": "^4.6.4"
32+
}
33+
}

public/favicon.ico

25.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)