You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+66-23
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,6 @@
7
7
8
8
An open source blogging (digital gardening) template for developers using [Next.js](https://nextjs.org/) app router, MDX, [Contentlayer](https://contentlayer.dev/), [Tailwind CSS](https://tailwindcss.com/), [@shadcn/ui](https://ui.shadcn.com/) , [Lucide Icons](https://lucide.dev/icons), and more.
9
9
10
-
This project is from developers for developers. Please feel free to report a bug, discuss the current state, submit ideas for improvements, submit a fix, propose new features, or whatever you want. All contributions are welcome! Read more at the [contributing guidelines](./CONTRIBUTING.md).
11
-
12
10
If you love this template and/or use it, please give it a star on GitHub. This will help more people discover it, thus help improving the template.
@@ -32,6 +30,9 @@ If you love this template and/or use it, please give it a star on GitHub. This w
32
30
-[Image optimization](#image-optimization)
33
31
-[Examples](#examples)
34
32
-[Features & Roadmap](#features--roadmap)
33
+
-[Contributing](#contributing)
34
+
-[Contributors](#contributors)
35
+
-[How?](#how)
35
36
-[Inspiration & Mentions](#inspiration--mentions)
36
37
-[Support](#support)
37
38
@@ -47,12 +48,13 @@ If you want to see how I set up this template for my own digital garden, you can
47
48
48
49
1. Use the repo as a template
49
50
2. Install dependencies with `pnpm install`
50
-
3. Edit `utils/metadata.ts` with your information
51
-
4. Edit `utils/usesData.ts` with your information
52
-
5. Edit `utils/projectsData.ts` with your information
53
-
6. Edit `content/pages/now` with your information
54
-
7. Edit `content/pages/about` with your information
55
-
8. Run the development server with `pnpm dev`
51
+
3. Edit `utils/metadata.ts` with your information and general settings
52
+
4. Edit `utils/uses-data.ts` with software & hardware you use
53
+
5. Edit `utils/projects-data.ts` with your projects
54
+
6. Edit `utils/navigation-links.ts` with the links you want in the navigation
55
+
7. Edit `content/pages/now` with your availability
56
+
8. Edit `content/pages/about` with your bio
57
+
9. Run the development server with `pnpm dev`
56
58
57
59
Open [http://localhost:3000](http://localhost:3000) in your browser to see the result.
58
60
@@ -71,8 +73,11 @@ Editing list pages is done in the `lib` folder.
71
73
You can deploy the project with [Vercel](https://vercel.com/) or any other hosting provider. If you want to use Vercel, you can use the button at the top of this README.
72
74
73
75
1. Update `package.json` author information
74
-
2. Set up the `NEXT_PUBLIC_BASE_URL` environment variable on Vercel to point to your website's root URL
75
-
3. Build and deploy
76
+
2. Publish your repo to GitHub
77
+
3. Create a new project on Vercel and import your repo
78
+
4. Set up the `NEXT_PUBLIC_BASE_URL` environment variable on Vercel to point to your website's root URL
79
+
5. If you plan to use [analytics](#analytics) and/or [newsletter](#newsletter-subscription) providers, set up the respective environment variables on Vercel
80
+
6. Build and deploy 🎉
76
81
77
82
## Customization
78
83
@@ -84,9 +89,17 @@ This project uses [Inter](https://rsms.me/inter/) as the default font. You can c
84
89
85
90
The project uses Tailwind colors and @shadcn/ui config. Customize the colors on `globals.css`.
86
91
92
+
### Signature
93
+
94
+
There's a signature component to use in the footer. You can edit the signature on `components/signature.tsx`. I used Figma to write the signature with `Caveat` font and exported it as SVG. You can do the same and update the SVG in the component.
95
+
96
+
### Images
97
+
98
+
Images and other media files are located in `public/` directory. You can use them in your content by using the `/<filename>.<ext>` path.
99
+
87
100
### Metadata
88
101
89
-
You can change the metadata in `utils/metadata.ts`. This will be used around the site for titles, social links, social handles, SEO, etc.
102
+
You can change the metadata and author details in `utils/metadata.ts`. This will be used around the site for titles, social links, social handles, SEO, etc.
90
103
91
104
You can edit navigation links in `lib/navigation-links.ts`.
92
105
@@ -98,14 +111,14 @@ To configure, you need to enable it on [Vercel project dashboard](https://vercel
98
111
99
112
#### Umami
100
113
101
-
Umami is a simple, easy to use, web analytics solution with self-hosting option! You can read more about it on [Umami website](https://umami.is/). (Hint: On [Railway](https://railway.app), you can self-host it low cost or even free)
114
+
Umami is a simple, easy to use, web analytics solution with self-hosting option! You can read more about it on [Umami website](https://umami.is/). _(Hint: On [Railway](https://railway.app), you can self-host it low cost or even free)_.
102
115
103
116
Configure:
104
117
Set `NEXT_PUBLIC_UMAMI_SCRIPT_URL` & `NEXT_PUBLIC_UMAMI_WEBSITE_ID` environment variables on your `.env.local` file and on Vercel dashboard.
105
118
106
119
#### Others
107
120
108
-
Supporting other analytics providers are planned. Feel free to open an issue if you have any suggestions or a PR if you want to implement it yourself.
121
+
Supporting other analytics providers are in progress. Feel free to open an issue if you have any suggestions or a PR if you want to implement it yourself.
109
122
110
123
### Newsletter subscription
111
124
@@ -115,9 +128,10 @@ _WIP_ as I'm still deciding which email tools to support. Feel free to open an i
115
128
116
129
You can choose between 3 different hero variants to use in `app/(site)/page.tsx` by changing the imported hero component.
117
130
118
-
1.`HeroSimple` - A simple centered hero section with image, title, socials, and subtitle.
131
+
1.`HeroSimple` - A simple centered hero section with image, title, and subtitle.
119
132
2.`HeroVideo` - 2 column hero section with Videoask embed on one side and title and subtitle on the other.
120
-
3.`HeroImage` - 2 column hero section with image on one side and title, socials, and subtitle on the other.
133
+
3.`HeroImage` - 2 column hero section with image on one side and title, and subtitle on the other.
134
+
4.`HeroMinimal` - small hero section name & job title
121
135
122
136
### Other tips & tricks
123
137
@@ -131,7 +145,7 @@ Note: DO NOT overdo it. You can easily make images look bad with lossy compressi
This project is from developers for developers. All contributions are welcome! Please feel free to:
216
+
217
+
- Report a bug
218
+
- Discuss the current state and ideas for improvements
219
+
- Submit a fix
220
+
- Propose new features
221
+
222
+
### How?
223
+
224
+
1. Fork the repo and create your branch from `develop`.
225
+
2. Add your code.
226
+
3. Update the documentation.
227
+
4. Make sure your code lints and the app builds.
228
+
5. Open pull request to `develop` branch.
229
+
230
+
Any contributions you make will be under the MIT Software License. In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Code of Conduct can be found [here](https://gist.github.com/thedevdavid/08e306cee9dc1b6b7f3c209827277a82).
0 commit comments