Skip to content

Commit 2c1120f

Browse files
Ashish KumarAshish Kumar
authored andcommitted
chore: fixed bugs and updated readme
1 parent c112a8b commit 2c1120f

File tree

4 files changed

+20
-16
lines changed

4 files changed

+20
-16
lines changed

.github/workflows/gh-pages.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,24 @@ jobs:
1515
uses: actions/setup-node@v3
1616
with:
1717
node-version: 20
18-
cache: "pnpm"
1918

2019
- name: Install pnpm
2120
run: npm install -g pnpm
2221

22+
- name: Setup pnpm cache
23+
uses: actions/setup-node@v3
24+
with:
25+
node-version: 20
26+
cache: "pnpm"
27+
2328
- name: Install dependencies
2429
run: pnpm install
2530

2631
- name: Build
2732
run: pnpm run build
2833

2934
- name: Deploy
30-
uses: JamesIves/github-pages-deploy-action@v4
35+
uses: JamesIrons/gh-pages-deploy-action@master
3136
with:
32-
branch: gh-pages # The branch to deploy to
33-
folder: build # The output directory
37+
branch: gh-pages
38+
folder: out

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
build
22
node_modules
3-
.next
3+
.next
4+
out

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
[![GitHub forks](https://img.shields.io/github/forks/dev-ashishk/github-profile-builder)](https://github.com/dev-ashishk/github-profile-builder/network)
55
[![GitHub issues](https://img.shields.io/github/issues/dev-ashishk/github-profile-builder)](https://github.com/dev-ashishk/github-profile-builder/issues)
66
[![GitHub license](https://img.shields.io/github/license/dev-ashishk/github-profile-builder)](https://github.com/dev-ashishk/github-profile-builder/blob/main/LICENSE)
7-
[![Vercel deployment](https://img.shields.io/badge/vercel-deployed-brightgreen.svg)](https://github-profile-builder-dev-ashishk.vercel.app)
87

98
Create beautiful, customizable GitHub profile READMEs with ease. No coding required!
109

@@ -44,10 +43,10 @@ git clone https://github.com/dev-ashishk/github-profile-builder.git
4443
cd github-profile-builder
4544

4645
# Install dependencies
47-
npm install
46+
pnpm install
4847

4948
# Start the development server
50-
npm run dev
49+
pnpm run dev
5150
\`\`\`
5251

5352
Open [http://localhost:3000](http://localhost:3000) in your browser to see the application.
@@ -68,11 +67,7 @@ Open [http://localhost:3000](http://localhost:3000) in your browser to see the a
6867
- [React](https://reactjs.org/) - UI library
6968
- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework
7069
- [shadcn/ui](https://ui.shadcn.com/) - UI component library
71-
- [Vercel](https://vercel.com/) - Deployment platform
7270

73-
## 📊 Analytics
74-
75-
This project uses [Vercel Analytics](https://vercel.com/analytics) for privacy-friendly website analytics. No personal data is collected, and no cookies are used.
7671

7772
## 🤝 Contributing
7873

app/layout.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,13 @@ export default function RootLayout({
5858
>
5959
<Suspense>{children}</Suspense>
6060
<Toaster />
61-
{/* Add Google Analytics */}
62-
<GoogleAnalytics
63-
GA_MEASUREMENT_ID={process.env.NEXT_PUBLIC_GA_MEASUREMENT_ID || ""}
64-
/>
61+
<Suspense>
62+
<GoogleAnalytics
63+
GA_MEASUREMENT_ID={
64+
process.env.NEXT_PUBLIC_GA_MEASUREMENT_ID || ""
65+
}
66+
/>
67+
</Suspense>
6568
</ThemeProvider>
6669
</body>
6770
</html>

0 commit comments

Comments
 (0)