Skip to content

Commit 9c80447

Browse files
committed
add new site version
1 parent ac6e8f8 commit 9c80447

File tree

69 files changed

+8504
-1435
lines changed

Some content is hidden

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

69 files changed

+8504
-1435
lines changed

.github/workflows/deploy.js.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches:
5+
- version2
6+
jobs:
7+
build-and-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout 🛎️
11+
uses: actions/[email protected] # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
12+
with:
13+
persist-credentials: false
14+
15+
- name: Install and Build 🔧
16+
run: |
17+
yarn --frozen-lockfile
18+
yarn next build && yarn next export -o dist
19+
20+
- name: Deploy 🚀
21+
uses: JamesIves/[email protected]
22+
with:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
BRANCH: gh-pages # The branch the action should deploy to.
25+
FOLDER: dist # The folder the action should deploy.
26+
CLEAN: true # Automatically remove deleted files from the deploy branch

.gitignore

+34-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1-
_site
2-
.sass-cache
3-
.jekyll-metadata
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+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# local env files
28+
.env.local
29+
.env.development.local
30+
.env.test.local
31+
.env.production.local
32+
33+
# vercel
34+
.vercel

.prettierrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/@youngcapital/eslint-config-yc-base/.prettierrc.js
Binary file not shown.

Gemfile

-5
This file was deleted.

Gemfile.lock

-66
This file was deleted.

README.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2+
changes
3+
4+
## Getting Started
5+
6+
First, run the development server:
7+
8+
```bash
9+
npm run dev
10+
# or
11+
yarn dev
12+
```
13+
14+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
15+
16+
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
17+
18+
## Learn More
19+
20+
To learn more about Next.js, take a look at the following resources:
21+
22+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
23+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
24+
25+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
26+
27+
## Deploy on Vercel
28+
29+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/import?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
30+
31+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

_config.yml

-11
This file was deleted.

_data/navigation.yml

-6
This file was deleted.

_includes/footer.html

-11
This file was deleted.

_includes/navigation.html

-20
This file was deleted.

_includes/pagination.html

-17
This file was deleted.

_includes/post-card.html

-16
This file was deleted.

_layouts/default.html

-21
This file was deleted.

_layouts/post.html

-28
This file was deleted.

_sass/post.scss

-74
This file was deleted.

0 commit comments

Comments
 (0)