diff --git a/.env b/.env deleted file mode 100644 index 1ee39f6..0000000 --- a/.env +++ /dev/null @@ -1,6 +0,0 @@ -# social-link handles -VITE_USER_GITHUB='webceyhan' -VITE_USER_REDDIT='webceyhan' -VITE_USER_LINKEDIN='webceyhan' -VITE_USER_TWITTER='webceyhan' -VITE_USER_INSTAGRAM='webceyhan' diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..a8a81c3 --- /dev/null +++ b/.env.example @@ -0,0 +1,10 @@ +# social-link handles +USER_GITHUB= +USER_REDDIT= +USER_LINKEDIN= +USER_TWITTER= +USER_INSTAGRAM= + +# github api +GITHUB_API_TOKEN= +GITHUB_API_USERNAME= \ No newline at end of file diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index bd74a04..8ff9148 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -13,7 +13,7 @@ jobs: - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. run: | npm ci - npm run build + npm run generate - name: Deploy uses: JamesIves/github-pages-deploy-action@v4.2.2 diff --git a/.gitignore b/.gitignore index 53f7466..f721e1a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,25 @@ +# Nuxt dev/build outputs +.output +.data +.nuxt +.nitro +.cache +dist +server/mocks + +# Node dependencies node_modules + +# Logs +logs +*.log + +# Misc .DS_Store -dist -dist-ssr -*.local \ No newline at end of file +.fleet +.idea + +# Local env files +.env +.env.* +!.env.example diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..cf04042 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +shamefully-hoist=true +strict-peer-dependencies=false diff --git a/README.md b/README.md index 8e62f11..39face2 100644 --- a/README.md +++ b/README.md @@ -50,11 +50,11 @@ You need to install the [Node.js](https://nodejs.dev/) and `npm` package manager 4. Set your social link handles in .env file. ```sh # social-link handles - VITE_USER_GITHUB= - VITE_USER_REDDIT= - VITE_USER_LINKEDIN= - VITE_USER_TWITTER= - VITE_USER_INSTAGRAM= + USER_GITHUB= + USER_REDDIT= + USER_LINKEDIN= + USER_TWITTER= + USER_INSTAGRAM= ``` 5. Setup your GitHub profile settings to show in header section. ```sh @@ -125,11 +125,10 @@ The workflow will build the project using npm and output the result to the `dist ## References -- [Node.js](https://nodejs.dev/) -- [Vite](https://vitejs.dev/) - [Vue.js](https://vuejs.org/) -- [Tailwind CSS](https://tailwindcss.com/) +- [Nuxt.js](https://nuxtjs.org/) - [DaisyUI](https://daisyui.com/) +- [Tailwind CSS](https://tailwindcss.com/) - [Bootstrap Icons](https://icons.getbootstrap.com/) - [GitHub REST API](https://docs.github.com/en/rest) - [GitHub Actions](https://docs.github.com/en/actions) diff --git a/app.vue b/app.vue new file mode 100644 index 0000000..5a96cb3 --- /dev/null +++ b/app.vue @@ -0,0 +1,8 @@ + diff --git a/src/style.css b/assets/css/main.css similarity index 100% rename from src/style.css rename to assets/css/main.css diff --git a/src/sections/AppFooter.vue b/components/AppFooter.vue similarity index 61% rename from src/sections/AppFooter.vue rename to components/AppFooter.vue index d2a005b..f860b2c 100644 --- a/src/sections/AppFooter.vue +++ b/components/AppFooter.vue @@ -1,8 +1,7 @@ -