Skip to content

Commit c8b1aee

Browse files
committed
initial commit
0 parents  commit c8b1aee

File tree

136 files changed

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

136 files changed

+25450
-0
lines changed

.all-contributorsrc

+603
Large diffs are not rendered by default.

.gitattributes

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
* text eol=lf
2+
3+
# Denote all files that are truly binary and should not be modified
4+
*.ttf binary
5+
*.png binary
6+
*.webp binary
7+
*.woff binary
8+

.github/ISSUE_TEMPLATE/bug.yml

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
name: 🐛 Bug report
2+
description: Something isn't working as expected? Here is the right place to report.
3+
labels: ["bug"]
4+
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: Please fill out each section below. This info allows maintainers to diagnose (and fix!) your issue as quickly as possible. Before opening a new issue, please search existing issues [here](https://github.com/saadpasta/developerFolio/issues).
9+
10+
- type: textarea
11+
id: description
12+
attributes:
13+
label: Describe the bug
14+
description: A clear and concise description of what the bug is
15+
validations:
16+
required: true
17+
18+
- type: textarea
19+
id: reproduce
20+
attributes:
21+
label: Steps to reproduce
22+
description: Steps to reproduce the behavior
23+
value: |
24+
1. Go to '...'
25+
2. Click on '....'
26+
3. Scroll down to '....'
27+
4. See error
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: expected
33+
attributes:
34+
label: Expected behavior
35+
description: A clear and concise description of what you expected to happen.
36+
validations:
37+
required: true
38+
39+
- type: input
40+
attributes:
41+
label: Is this responsiveness Issue
42+
description: Write YES/NO in the box below
43+
validations:
44+
required: true
45+
46+
- type: textarea
47+
id: screenshots
48+
attributes:
49+
label: Screenshots
50+
description: Please add screenshots if applicable
51+
validations:
52+
required: false
53+
54+
- type: textarea
55+
attributes:
56+
label: Desktop
57+
description: Please complete the following information
58+
value: |
59+
- OS: [e.g. iOS]
60+
- Browser: [e.g. chrome, safari]
61+
- Version: [e.g. 22]
62+
validations:
63+
required: false
64+
65+
- type: textarea
66+
attributes:
67+
label: Smartphones
68+
description: Please complete the following information
69+
value: |
70+
- Device: [e.g. iPhone6]
71+
- OS: [e.g. iOS8.1]
72+
- Browser [e.g. stock browser, safari]
73+
- Version [e.g. 22]
74+
validations:
75+
required: false
76+
77+
- type: textarea
78+
attributes:
79+
label: Additional context
80+
description: Add any other context about the problem here.
81+
validations:
82+
required: false

.github/ISSUE_TEMPLATE/config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: true
+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: 💡 Feature request
2+
description: Got a suggestion for a new idea/feature ?
3+
labels: ["enhancement"]
4+
body:
5+
- type: textarea
6+
id: summary
7+
attributes:
8+
label: Summary
9+
description: A brief explanation of the feature.
10+
validations:
11+
required: true
12+
13+
- type: textarea
14+
id: whatsnew
15+
attributes:
16+
label: What's new?
17+
description: If the proposal involves a new component or a redesign of a previous component.
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: motivation
23+
attributes:
24+
label: Motivation
25+
description: Why are we doing this? What use cases does it support? What is the expected outcome?
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: extrainfo
31+
attributes:
32+
label: Additional context
33+
description: Add any other context or screenshots about the feature request here.
34+
validations:
35+
required: false
36+

.github/pull_request_template.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Description
2+
3+
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
4+
5+
Fixes # (issue)
6+
7+
## Type of change
8+
9+
<!-- Please delete options that are not relevant.-->
10+
11+
12+
- [ ] Bug fix (non-breaking change which fixes an issue)
13+
- [ ] New feature (non-breaking change which adds functionality)
14+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
15+
- [ ] This change requires a documentation update

.github/workflows/deploy.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build and Deploy
2+
env:
3+
CI: false
4+
GITHUB_USERNAME: ${{ github.repository_owner }}
5+
REACT_APP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This is automatically set by Github Actions
6+
USE_GITHUB_DATA: "true"
7+
MEDIUM_USERNAME: "saadpasta" # Change this to your medium username
8+
on:
9+
workflow_dispatch:
10+
push:
11+
branches:
12+
- master
13+
schedule:
14+
- cron: "0 12 * * 1" # see https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events
15+
jobs:
16+
build-and-deploy:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout 🛎️
20+
uses: actions/checkout@v3 # If you're using actions/checkout@v3 you must set persist-credentials to false in most cases for the deployment to work correctly.
21+
with:
22+
persist-credentials: false
23+
24+
- name: Setup Node.js 🔧
25+
uses: actions/setup-node@v2
26+
with:
27+
node-version: 14.x
28+
29+
- name: Update npm 🚀
30+
run: npm install -g npm@latest
31+
32+
- name: Install and Build 🔧 # Build the Project
33+
run: |
34+
npm install
35+
npm run build
36+
- name: Deploy 🚀
37+
uses: JamesIves/github-pages-deploy-action@v4
38+
with:
39+
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # This is provided by GitHub.
40+
BRANCH: gh-pages # The branch the action should deploy to.
41+
FOLDER: build # The folder the action should deploy.

.github/workflows/prettier.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Check Format
2+
on:
3+
push:
4+
pull_request:
5+
branches:
6+
- master
7+
jobs:
8+
check-format:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout 🛎️
12+
uses: actions/checkout@v2
13+
with:
14+
persist-credentials: false
15+
16+
- uses: actions/setup-node@v2-beta
17+
with:
18+
node-version: '12'
19+
20+
- name: Install Prettier
21+
run: npm install -g prettier
22+
23+
- name: Check Format
24+
run: |
25+
prettier -c "./**/*.{js,css,json}"
26+

.gitignore

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
/build
11+
12+
13+
# misc
14+
.DS_Store
15+
.env
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
25+
#user generated content
26+
public/profile.json
27+
public/blogs.json

.pre-commit-config.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/mirrors-prettier
3+
rev: "v3.0.0-alpha.4" # Use the sha or tag you want to point at
4+
hooks:
5+
- id: prettier
6+
files: ".*.(json|js|css)"
7+
8+

.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
src/serviceWorker.js
2+
package-lock.json
3+
src/assets/lottie
4+

.prettierrc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"trailingComma": "none",
3+
"bracketSpacing": false,
4+
"arrowParens": "avoid",
5+
"singleQuote": false,
6+
"printWidth": 80,
7+
"useTabs": false,
8+
"tabWidth": 2,
9+
"semi": true
10+
}
11+

Dockerfile

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This file is the main docker file configurations
2+
3+
# Official Node JS runtime as a parent image
4+
FROM node:10.16.0-alpine
5+
6+
# Set the working directory to ./app
7+
WORKDIR /app
8+
9+
# Install app dependencies
10+
# A wildcard is used to ensure both package.json AND package-lock.json are copied
11+
# where available (npm@5+)
12+
COPY package.json ./
13+
14+
RUN apk add --no-cache git
15+
16+
# Install any needed packages
17+
RUN npm install
18+
19+
# Audit fix npm packages
20+
RUN npm audit fix
21+
22+
# Bundle app source
23+
COPY . /app
24+
25+
# Make port 3000 available to the world outside this container
26+
EXPOSE 3000
27+
28+
# Run app.js when the container launches
29+
CMD ["npm", "start"]

0 commit comments

Comments
 (0)