diff --git a/FUNDING.yml b/.github/FUNDING.yml similarity index 100% rename from FUNDING.yml rename to .github/FUNDING.yml diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml new file mode 100644 index 0000000..8ec72e3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml @@ -0,0 +1,80 @@ +name: "🐛 Bug Report" +description: Create a new ticket for a bug. +title: "🐛 [BUG] - " +labels: [ + "bug" +] +body: + - type: textarea + id: description + attributes: + label: "Description" + description: Please enter an explicit description of your issue + placeholder: Short and explicit description of your incident... + validations: + required: true + - type: input + id: reprod-url + attributes: + label: "Reproduction URL" + description: Please enter your GitHub URL to provide a reproduction of the issue + placeholder: ex. https://github.com/USERNAME/REPO-NAME + validations: + required: true + - type: textarea + id: reprod + attributes: + label: "Reproduction steps" + description: Please enter an explicit description of your issue + value: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + render: bash + validations: + required: true + - type: textarea + id: screenshot + attributes: + label: "Screenshots" + description: If applicable, add screenshots to help explain your problem. + value: | + ![DESCRIPTION](LINK.png) + render: bash + validations: + required: false + - type: textarea + id: logs + attributes: + label: "Logs" + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: bash + validations: + required: false + - type: dropdown + id: browsers + attributes: + label: "Browsers" + description: What browsers are you seeing the problem on ? + multiple: true + options: + - Firefox + - Chrome + - Safari + - Microsoft Edge + - Opera + validations: + required: false + - type: dropdown + id: os + attributes: + label: "OS" + description: What is the impacted environment ? + multiple: true + options: + - Windows + - Linux + - Mac + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml b/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml new file mode 100644 index 0000000..9951fde --- /dev/null +++ b/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml @@ -0,0 +1,63 @@ +name: "💡 Feature Request" +description: Create a new ticket for a new feature request +title: "💡 [REQUEST] - <title>" +labels: [ + "question" +] +body: + - type: input + id: start_date + attributes: + label: "Start Date" + description: Start of development + placeholder: "month/day/year" + validations: + required: false + - type: textarea + id: implementation_pr + attributes: + label: "Implementation PR" + description: Pull request used + placeholder: "#Pull Request ID" + validations: + required: false + - type: textarea + id: reference_issues + attributes: + label: "Reference Issues" + description: Common issues + placeholder: "#Issues IDs" + validations: + required: false + - type: textarea + id: summary + attributes: + label: "Summary" + description: Provide a brief explanation of the feature + placeholder: Describe in a few lines your feature request + validations: + required: true + - type: textarea + id: basic_example + attributes: + label: "Basic Example" + description: Indicate here some basic examples of your feature. + placeholder: A few specific words about your feature request. + validations: + required: true + - type: textarea + id: drawbacks + attributes: + label: "Drawbacks" + description: What are the drawbacks/impacts of your feature request ? + placeholder: Identify the drawbacks and impacts while being neutral on your feature request + validations: + required: true + - type: textarea + id: unresolved_question + attributes: + label: "Unresolved questions" + description: What questions still remain unresolved ? + placeholder: Identify any unresolved issues. + validations: + required: false \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..94f2140 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,36 @@ +<!-- If your PR fixes an open issue, use `Closes #999` to link your PR with the issue. #999 stands for the issue number you are fixing --> + +## Fixes Issue + +<!-- Remove this section if not applicable --> + +<!-- Example: Closes #31 --> + +## Changes proposed + +<!-- List all the proposed changes in your PR --> + +<!-- Mark all the applicable boxes. To mark the box as done follow the following conventions --> +<!-- +[x] - Correct; marked as done +[X] - Correct; marked as done + +[ ] - Not correct; marked as **not** done +--> + +## Check List (Check all the applicable boxes) <!-- Follow the above conventions to check the box --> + +- [ ] My code follows the code style of this project. +- [ ] My change requires changes to the documentation. +- [ ] I have updated the documentation accordingly. +- [ ] All new and existing tests passed. +- [ ] This PR does not contain plagiarized content. +- [ ] The title of my pull request is a short description of the requested changes. + +## Screenshots + +<!-- Add all the screenshots which support your changes --> + +## Note to reviewers + +<!-- Add notes to reviewers if applicable --> diff --git a/.github/workflows/autocommit.yml b/.github/workflows/autocommit.yml index 254a444..52e664d 100644 --- a/.github/workflows/autocommit.yml +++ b/.github/workflows/autocommit.yml @@ -15,7 +15,7 @@ jobs: - name: Checkout 🛎️ uses: actions/checkout@v3 with: - ref: master + ref: develop - name: Print github secret ☢️ run: echo "GITHUB_TOKEN=${{ secrets.REST_API_TOKEN }}" > .env diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..5d3bf75 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,74 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of experience, +education, socio-economic status, nationality, personal appearance, race, +religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team in [here](https://agung2001.github.io). All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..acbee4d --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,11 @@ +# 🎉 Contributing + +There are many ways to contribute to this repo. Here's a few ideas to get started: + +- Simply give a 🌟 stars to this repo. +- 🤠 Add your name to list who uses this repository into [DISTRO](DISTRO.md). +- Find a 🐛 bug and report as an issue. Please report a single bug per issue. + +## 📝 License + +By contributing to Svelte, you agree that your contributions will be licensed under its [MIT license](LICENSE). \ No newline at end of file diff --git a/DISTRO.md b/DISTRO.md new file mode 100644 index 0000000..83ed3be --- /dev/null +++ b/DISTRO.md @@ -0,0 +1,108 @@ +| [A](#a) | [B](#b) | [C](#c) | [D](#d) | [E](#e) | [F](#f) | [G](#g) | [H](#h) | [I](#i) | [J](#j) | [K](#k) | [L](#l) | [M](#m) | [N](#n) | [O](#o) +| [P](#p) | [Q](#q) | [R](#r) | [S](#s) | [T](#t) | [U](#u) | [V](#v) | [W](#w) | [X](#x) | [Y](#y) | [Z](#z) | + +- ### **A** + + - [Agung Sundoro](https://agung2001.github.io) + +| [Back To Top](#contents) | + +- ### **B** + +| [Back To Top](#contents) | + +- ### **C** + +| [Back To Top](#contents) | + +- ### **D** + +| [Back To Top](#contents) | + +- ### **E** + +| [Back To Top](#contents) | + +- ### **F** + +| [Back To Top](#contents) | + +- ### **G** + +| [Back To Top](#contents) | + +- ### **H** + +| [Back To Top](#contents) | + +- ### **I** + +| [Back To Top](#contents) | + +- ### **J** + +| [Back To Top](#contents) | + +- ### **K** + +| [Back To Top](#contents) | + +- ### **L** + +| [Back To Top](#contents) | + +- ### **M** + +| [Back To Top](#contents) | + +- ### **N** + +| [Back To Top](#contents) | + +- ### **O** + +| [Back To Top](#contents) | + +- ### **P** + +| [Back To Top](#contents) | + +- ### **Q** + +| [Back To Top](#contents) | + +- ### **R** + +| [Back To Top](#contents) | + +- ### **S** + +| [Back To Top](#contents) | + +- ### **T** + +| [Back To Top](#contents) | + +- ### **U** + +| [Back To Top](#contents) | + +- ### **V** + +| [Back To Top](#contents) | + +- ### **W** + +| [Back To Top](#contents) | + +- ### **X** + +| [Back To Top](#contents) | + +- ### **Y** + +| [Back To Top](#contents) | + +- ### **Z** + +| [Back To Top](#contents) | \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ffb0c5e --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Agung Sundoro + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE \ No newline at end of file diff --git a/README.md b/README.md index d36cd30..26bad94 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ ![Screenshot](screenshot.png) -My GitHub profile page. You can change the configuration of the page by changing [config.json](config.json) file and run the install. -See the [demo][website]. +😎 a Fantasitc developer profile website using GitHub pages, SvelteJS, VisJS and Tailwind CSS. + +See the live [🌐 website][website]. ![Stars](https://img.shields.io/github/stars/agung2001/agung2001.github.io?style=social) ![Size](https://img.shields.io/github/repo-size/agung2001/agung2001.github.io) @@ -36,14 +37,14 @@ docker run -d -p 80:80 \ ``` - NOTE: Don't forget to change the `/path/to/` accordingly -## 📝 Notes +## 📝 Notes -### How to Generate GitHub Tokens -Please refer to [GitHub Docs - Creating a personal access token](https://docs.github.com/en/enterprise-server@3.4/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) to create personal access token. -Please set the expiration to `no expiration` and enable : `Repo` and `User` scope to see the [screenshot](assets/img/scopes.jpg). +### Distro +I made [DISTRO](DISTRO.md) to list a profile and customization you made to this repo. -### Live Reload -This repo comes with livereload module, to learn more please goto [gruntjs/grunt-contrib-watch](https://github.com/gruntjs/grunt-contrib-watch/blob/main/docs/watch-examples.md#enabling-live-reload-in-your-html) +### Google Analytics +To easily track visitors I use Google Analytics and put the code inside [index.html](index.html) +You can change the code with your own, if you also want to track the visitors coming to the website. ## 🔥 Development - Install node package `npm install` @@ -51,6 +52,13 @@ This repo comes with livereload module, to learn more please goto [gruntjs/grunt - Build asset `grunt build` - Watch `grunt watch` +### How to Generate GitHub Tokens +Please refer to [GitHub Docs - Creating a personal access token](https://docs.github.com/en/enterprise-server@3.4/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) to create personal access token. +Please set the expiration to `no expiration` and enable : `Repo` and `User` + +### Live Reload +This repo comes with livereload module, to learn more please goto [gruntjs/grunt-contrib-watch](https://github.com/gruntjs/grunt-contrib-watch/blob/main/docs/watch-examples.md#enabling-live-reload-in-your-html) + ## 📚 Resources - [Official Repo](https://github.com/agung2001/agung2001.github.io) - [GitHub REST API Docs](https://docs.github.com/en/rest) @@ -61,13 +69,16 @@ This repo comes with livereload module, to learn more please goto [gruntjs/grunt - [Animate.style](https://animate.style/) - [Dotenv](https://www.npmjs.com/package/dotenv) - [Fontawesome](https://fontawesome.com/) +- [GitHub Action - JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) +- [GitHub Action - docker/build-push-action](https://github.com/docker/build-push-action) - [Grunt JS](https://gruntjs.com/) - [Octokit.js](https://github.com/octokit/octokit.js) - [Svelte JS](https://svelte.dev/) - [TailwindCSS](https://tailwindcss.com/) - [Vis JS](https://visjs.org/) -## ⭐️ Support -Help support me by giving a star or [donate][website] +## ⭐️ Support & Contribution +- Help support me by giving a star or [donate][website] +- Please refer to [CONTRIBUTING](CONTRIBUTING.md) to see a way to contribute to this repo [website]: https://agung2001.github.io \ No newline at end of file diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..6429f8f --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,4 @@ +## Reporting a Vulnerability + +- Please do not create GitHub issues to report security vulnerabilities. +- Instead, contact me via https://agung2001.github.io \ No newline at end of file diff --git a/assets/img/scopes.jpg b/assets/img/scopes.jpg deleted file mode 100644 index f821c3e..0000000 Binary files a/assets/img/scopes.jpg and /dev/null differ diff --git a/index.html b/index.html index 056deac..01ae089 100644 --- a/index.html +++ b/index.html @@ -35,5 +35,15 @@ <!--Live Reload--> <script src="//localhost:35729/livereload.js"></script> +<!-- Google tag (gtag.js) --> +<script async src="https://www.googletagmanager.com/gtag/js?id=G-6W92JJ1VT6"></script> +<script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'G-6W92JJ1VT6'); +</script> + </body> </html> \ No newline at end of file