-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
165 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PUBLIC_GOOGLE_SITE_VERIFICATION=7vlGZmcQOc0US8lHfVRJnE_w0zaDoEif0NXLD6Fh6rw | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: cache | ||
id: cache-frontend | ||
uses: actions/cache@v3 | ||
with: | ||
key: frontend-$NODE_ENV-${{ hashFiles('**/package-lock.json') }} | ||
path: | | ||
node_modules | ||
restore-keys: | | ||
frontend-$NODE_ENV- | ||
frontend- | ||
- run: npm install | ||
|
||
deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
deployments: write | ||
pull-requests: write | ||
needs: build | ||
name: Deploy | ||
env: | ||
NODE_ENV: production | ||
outputs: | ||
preview_url: ${{ steps.cloudflare-deploy.outputs.url }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 19 | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
key: frontend-$NODE_ENV-${{ hashFiles('**/package-lock.json') }} | ||
path: | | ||
node_modules | ||
restore-keys: | | ||
frontend-$NODE_ENV- | ||
frontend- | ||
- run: npm run build | ||
|
||
- name: Deploy | ||
id: cloudflare-deploy | ||
uses: cloudflare/pages-action@1 | ||
with: | ||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
projectName: erison-work # e.g. 'my-project' | ||
directory: dist # e.g. 'dist' | ||
gitHubToken: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
comment: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- deploy | ||
name: Add comment in Pull request | ||
steps: | ||
- name: Comment PR | ||
if: github.event_name == 'pull_request' | ||
uses: mshick/add-pr-comment@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PREVIEW_URL: ${{ steps.cloudflare-deploy.outputs.url }} | ||
with: | ||
message: | | ||
🚀 This branch can be previewed at ${{ needs.deploy.outputs.preview_url }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ pnpm-debug.log* | |
|
||
|
||
# environment variables | ||
.env | ||
# .env | ||
.env.production | ||
|
||
# macOS-specific files | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -174,6 +174,8 @@ All commands are run from the root of the project, from a terminal: | |
|
||
> **_Warning!_** Windows PowerShell users may need to install the [concurrently package](https://www.npmjs.com/package/concurrently) if they want to [run diagnostics](https://docs.astro.build/en/reference/cli-reference/#astro-check) during development (`astro check --watch & astro dev`). For more info, see [this issue](https://github.com/satnaing/astro-paper/issues/113). | ||
> Warning! Windows PowerShell users may need to install the [concurrently package](https://www.npmjs.com/package/concurrently) if they want to [run diagnostics](https://docs.astro.build/en/reference/cli-reference/#astro-check) during development (`astro check --watch & astro dev`). For more info, see [this issue](https://github.com/satnaing/astro-paper/issues/113). | ||
## ✨ Feedback & Suggestions | ||
|
||
If you have any suggestions/feedback, you can contact me via [my email](mailto:[email protected]). Alternatively, feel free to open an issue if you find bugs or want to request new features. | ||
|
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,34 +3,58 @@ layout: ../layouts/AboutLayout.astro | |
title: "About" | ||
--- | ||
|
||
AstroPaper is a minimal, responsive and SEO-friendly Astro blog theme. I designed and crafted this based on [my personal blog](https://satnaing.dev/blog). | ||
Hello Hello, | ||
|
||
This theme is aimed to be accessible out of the box. Light and dark mode are supported by | ||
default and additional color schemes can also be configured. | ||
I'm Erison Silva and I've been working in the past 10 years as Software developer. | ||
|
||
This theme is self-documented \_ which means articles/posts in this theme can also be considered as documentations. So, see the documentation for more info. | ||
## 📋 Resume | ||
|
||
<div> | ||
<img src="/assets/dev.svg" class="sm:w-1/2 mx-auto" alt="coding dev illustration"> | ||
</div> | ||
Here you can download my last [resume](https://bucket.myprofile.pro/users/eerison/resume-default.pdf) version. | ||
|
||
## Tech Stack | ||
## ♥️ Open Source | ||
|
||
This theme is written in vanilla JavaScript (+ TypeScript for type checking) and a little bit of ReactJS for some interactions. TailwindCSS is used for styling; and Markdown is used for blog contents. | ||
Open source has been a topic that I always want to be be involved, and in Octuber 2020 I did my first Pull request for [Sonata User Bundle][first_pr_sonata_user]! | ||
and Since there I ejoyed more and more contribute with OSS projects, Thanks Sonata Project for be so receptive and helpfull in my first contribuition <3. | ||
|
||
## Features | ||
### Myprofile project | ||
|
||
Here are certain features of this site. | ||
[Myprofile][myprofile_project], It is a open source project mantained by me, and I will dedicate a article just for this, it commes soon. | ||
|
||
- fully responsive and accessible | ||
- SEO-friendly | ||
- light & dark mode | ||
- fuzzy search | ||
- super fast performance | ||
- draft posts | ||
- pagination | ||
- sitemap & rss feed | ||
- highly customizable | ||
### Sonata page bundle 4 | ||
|
||
If you like this theme, you can star/contribute to the [repo](https://github.com/satnaing/astro-paper). | ||
Or you can even give any feedback via my [email](mailto:[email protected]). | ||
This new major was one of the most exited contribution that I have a plasure to be part of, everything started since one of the last companies that I worked uses this bundle and it was stuck on symfony version 4, and I pushed foword the initiative to relase the new major version. | ||
|
||
It was a really huge amount of work and it toke aound 4 months the have this released, and I have learned a lot, maybe thing that I never learn in any company. | ||
You can see this long effort in this [issue][sonata_page_bundle_4_issue] | ||
|
||
> a special thank you for [Vincent Langlet][vincent_github] and [Jordi Sala Morales][jordi_gthub], for all support that you gave me. | ||
### Rector phpunit | ||
|
||
Rector is another php community really friendly, I started to contribute with this project since I was working in a phpunit upgrade, and I faced some code that I need to refactor manually and it was a pain, then I introduce a rule to make this automatic and I've adding more rules to help me with this automatic refactor. | ||
|
||
> Thank you ractor for this amazing project, it is a really good example that community works <3 | ||
- [Rector][rector_src_prs] | ||
- [Rector Phpunit][rector_phpunit_prs] | ||
|
||
### All contributions | ||
|
||
- [Myprofile project][myprofile_project] | ||
- [Sonata Page Bundle][sonata_page_bundle_github_prs] | ||
- [Sonata Page Bundle 4 recipe (Symfony flex)][github_prs_sonata_page_bundle_flex] | ||
- [Sonata User Bundle][first_pr_sonata_user] | ||
- [Rector][rector_src_prs] | ||
- [Rector Phpunit][rector_phpunit_prs] | ||
- [LexikJWTAuthenticationBundle][github_prs_jwt_authentication] | ||
|
||
[first_pr_sonata_user]: https://github.com/sonata-project/SonataUserBundle/pull/1247 | ||
[sonata_page_bundle_4_issue]: https://github.com/sonata-project/SonataPageBundle/issues/1495 | ||
[sonata_page_bundle_github_prs]: https://github.com/sonata-project/SonataPageBundle/pulls?q=is%3Apr+author%3Aeerison+is%3Amerged | ||
[vincent_github]: https://github.com/VincentLanglet | ||
[jordi_gthub]: https://github.com/jordisala1991 | ||
[github_prs_jwt_authentication]: https://github.com/lexik/LexikJWTAuthenticationBundle/pulls?q=is%3Apr+eerison | ||
[github_prs_sonata_page_bundle_flex]: https://github.com/symfony/recipes-contrib/pull/1440 | ||
[rector_phpunit_prs]: https://github.com/rectorphp/rector-phpunit/pulls?q=is%3Apr+author%3Aeerison | ||
[rector_src_prs]: https://github.com/rectorphp/rector-src/pulls?q=is%3Apr+author%3Aeerison+ | ||
[myprofile_project]: https://github.com/shield-wall/myprofile |
Oops, something went wrong.