Skip to content

Commit fb10942

Browse files
committed
personalized data
1 parent a6f096a commit fb10942

22 files changed

+307
-212
lines changed

README.md

Lines changed: 2 additions & 161 deletions
Original file line numberDiff line numberDiff line change
@@ -1,163 +1,4 @@
1-
# Modern Developer Digital Garden Starter
1+
# My digital garden
22

3-
![Image2](/screenshots/garden2.png)
4-
[More screenshots here](/screenshots/)
3+
Based on [https://github.com/thedevdavid/digital-garden](https://github.com/thedevdavid/digital-garden)
54

6-
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/thedevdavid/digital-garden)
7-
8-
An open source 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-
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-
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.
13-
14-
[![GitHub stars](https://img.shields.io/github/stars/thedevdavid/digital-garden?style=social)](
15-
16-
**Note: This project is always evolving and it's far from being perfect or even done.** I'm always open to suggestions and contributions. Feel free to open an issue or a PR if you have any ideas or suggestions. You can also see the [roadmap](#features--roadmap) for planned features if you want to contribute.
17-
18-
## Table of Contents
19-
20-
- [Motivation](#motivation)
21-
- [Getting Started](#getting-started)
22-
- [Writing content](#writing-content)
23-
- [Deployment](#deployment)
24-
- [Customization](#customization)
25-
- [Fonts](#fonts)
26-
- [Colors](#colors)
27-
- [Metadata](#metadata)
28-
- [Analytics](#analytics)
29-
- [Newsletter subscription](#newsletter-subscription)
30-
- [Hero section](#hero-section)
31-
- [Other tips & tricks](#other-tips--tricks)
32-
- [Image optimization](#image-optimization)
33-
- [Examples](#examples)
34-
- [Features & Roadmap](#features--roadmap)
35-
36-
## Motivation
37-
38-
As a developer who creates content, I want to have a digital garden where I can share my thoughts and ideas with the world. Now, there's not really a "perfect solution" for this currently. With included analytics, SEO, email subscribtions, modern tooling, simple design, etc. We either have to build one from scratch, use a design template and code the features, or use a CMS/no-code tool.
39-
40-
So I decided to build a solution that I would use myself. This is the result.
41-
42-
## Getting Started
43-
44-
1. Use the repo as a template
45-
2. Install dependencies with `pnpm install`
46-
3. Edit `utils/metadata.ts` with your information
47-
4. Edit `utils/usesData.ts` with your information
48-
5. Edit `utils/projectsData.ts` with your information
49-
6. Edit `content/pages/now` with your information
50-
7. Edit `content/pages/about` with your information
51-
8. Run the development server with `pnpm dev`
52-
53-
Open [http://localhost:3000](http://localhost:3000) in your browser to see the result.
54-
55-
### Writing content
56-
57-
You can write content in Markdown or MDX. The content is located in `content/` and is organized in folders. The `pages` folder contains the pages. The `posts` folder contains the blogposts. The `projects` folder contains the projects.
58-
59-
### Deployment
60-
61-
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.
62-
63-
1. Update `package.json` author information
64-
2. Set up the `NEXT_PUBLIC_BASE_URL` environment variable on Vercel to point to your digital garden's root URL
65-
3. Build and deploy
66-
67-
## Customization
68-
69-
### Fonts
70-
71-
This project uses [Inter](https://rsms.me/inter/) as the default font. You can change it on `app/layout.tsx` using the `next/fonts` package.
72-
73-
### Colors
74-
75-
The project uses Tailwind colors and @shadcn/ui config. Customize the colors on `globals.css`.
76-
77-
### Metadata
78-
79-
You can change the metadata in `utils/metadata.ts`. This will be used around the site for social links, handles, SEO, and OG.
80-
81-
### Analytics
82-
83-
_WIP_ as I'm still deciding which analytics tools to support. Feel free to open an issue if you have any suggestions or a PR if you want to implement it yourself.
84-
85-
### Newsletter subscription
86-
87-
_WIP_ as I'm still deciding which email tools to support. Feel free to open an issue if you have any suggestions or a PR if you want to implement it yourself.
88-
89-
### Hero section
90-
91-
You can choose between 3 different hero variants to use in `app/(site)/layout.tsx`.
92-
93-
1. `Simple` - A simple centered hero section with image, title, socials, and subtitle.
94-
2. `Video` - 2 column hero section with Videoask embed on one side and title and subtitle on the other.
95-
3. `Image` - 2 column hero section with image on one side and title, socials, and subtitle on the other.
96-
97-
### Other tips & tricks
98-
99-
#### Image optimization
100-
101-
Optimize images in seconds for free with ImageOptim. Install on your Mac, then open the `public` folder in Finder. Select all images, right-click, and choose "Open with > ImageOptim". This will optimize all images in the folder.
102-
103-
## Examples
104-
105-
- [https://davidlevai.com/](https://davidlevai.com/)
106-
107-
Create a PR and add your digital garden to this list if you're using the template!
108-
109-
## Features & Roadmap
110-
111-
- [x] Basic functionality of reading pages and posts
112-
- [x] Basic design dark/light mode
113-
- [x] MDX code highlighting
114-
- [x] Readme.md
115-
- [x] `robots.txt` & `sitemap.xml`
116-
- [x] RSS Feed
117-
- [x] Reading time estimate
118-
- [x] LICENSE
119-
- [x] contributing.md
120-
- [x] MDX components (TOC & footnotes)
121-
- [x] general config & metadata (author, URL, socials, etc.)
122-
- [x] uses page
123-
- [x] Link in bio page
124-
- [x] OG image generation
125-
- [x] projects page
126-
- [x] about section on homepage
127-
- [ ] Design improvements (whitespace, layout, etc.)
128-
- [ ] `manifest.json`
129-
- [ ] search & command bar
130-
- [ ] newsletter integration
131-
- [ ] Post series
132-
- [ ] Hidden content (behind email subscription)
133-
- [ ] 100 lighthouse score
134-
- [ ] Command bar fuzzy search in content
135-
- [ ] Pagination
136-
- [ ] SEO improvements
137-
- [ ] analytics (fathom, simplelytics, vercel)
138-
- [ ] Accessibility audit
139-
- [ ] TypeScript fixes
140-
- [ ] Redesign uses page
141-
- [ ] Redesign projects page
142-
- [ ] general refactor
143-
- [ ] general cleanup
144-
- [ ] implement content security policies
145-
- [ ] implement a videoask-like solution for the hero section
146-
- [ ] Post like counter (?)
147-
- [ ] Visitor counter (?)
148-
- [ ] code playground instead of code highlighting (?)
149-
- [ ] Categories and/or tags (?)
150-
- [ ] Commenting system (?)
151-
- [ ] Social sharing buttons (?)
152-
- [ ] keyboard-based navigation with hotkeys (?)
153-
- [ ] multiple layouts (sidebar, full-width, etc.) (?)
154-
- [ ] multilang support (?)
155-
156-
## Inspiration & Mentions
157-
158-
- [Delba Oliveira Personal Blog](https://github.com/delbaoliveira/website) - Using and structuring table of contents with Contentlayer
159-
- [timlrx/tailwind-nextjs-starter-blog](https://github.com/timlrx/tailwind-nextjs-starter-blog) - Idea
160-
161-
## Support
162-
163-
If you love this template and/or use it, please give it a star on GitHub.

app/(site)/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default async function Home() {
3333
<div className="pb-10">
3434
<HeroSimple
3535
title="Building hackin’ cool digital products around the world 🌴."
36-
subtitle="I'm Amy. Frontend engineer writing code and blog on the internet."
36+
subtitle="Digital nomad creating content about being a solopreneur and building production-ready apps."
3737
/>
3838
<div className="container mt-12 max-w-6xl">
3939
<div className="grid grid-cols-1 place-items-start justify-between gap-12 lg:grid-cols-3">
@@ -74,7 +74,7 @@ export default async function Home() {
7474
<CTA />
7575
{aboutPage && (
7676
<div className="container max-w-6xl">
77-
<h2 className="mb-8 font-heading text-4xl font-bold">Who&apos;s this girl again?</h2>
77+
<h2 className="mb-8 font-heading text-4xl font-bold">Who&apos;s this guy again?</h2>
7878
<div className="grid grid-cols-1 place-items-start justify-between gap-12 lg:grid-cols-3">
7979
<div className="col-span-1 mx-auto flex flex-col items-center justify-center">
8080
<Image

app/(site)/posts/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export default async function PostPage({ params }: PostProps) {
169169
<div className="flex items-center rounded-md pl-2">
170170
<ol className="list-none space-y-2" role="list">
171171
{post.headings.map((heading: PostHeading) => (
172-
<li key={heading.slug} className="list-none">
172+
<li key={heading.slug} className="line-clamp-1 list-none">
173173
<Link
174174
className={cn("text-sm font-bold", heading.heading === 3 && "pl-6 font-normal")}
175175
href={`#${heading.slug}`}

components/command-dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export function CommandDialogComponent({ ...props }: DialogProps) {
107107
}}
108108
>
109109
<Mail className="mr-2 h-4 w-4" />
110-
<span>Newsletter</span>
110+
<span>Developreneur</span>
111111
</CommandItem>
112112
</CommandGroup>
113113
</CommandList>

components/home-sidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export function Sidebar({ className, ...props }: CardProps) {
2424
<MapPin />
2525
<p className="ml-2 mr-auto text-sm font-medium leading-none">Los Angeles</p>
2626
<Image
27-
src="/losangeles.jpg"
28-
alt="Los Angeles"
27+
src="/barcelona.jpg"
28+
alt="Barcelona"
2929
width={56}
3030
height={56}
3131
className="h-16 w-16 rounded-md object-cover"

components/navbar.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const content: { title: string; href: string; description: string }[] = [
1919
{
2020
title: "Blog",
2121
href: "/posts",
22-
description: "Blogposts. Mostly about web development. Or chicken fingers",
22+
description: "Essays, guides, smol tips & tricks, and other written content.",
2323
},
2424
{
2525
title: "Speaking",
@@ -29,17 +29,22 @@ const content: { title: string; href: string; description: string }[] = [
2929
{
3030
title: "Videos",
3131
href: defaultAuthor.social.youtube,
32-
description: "My YouTube channel where I talk about web development.",
32+
description: "Videos about web development, solopreneurship, and other related topics.",
3333
},
3434
{
3535
title: "Newsletter",
3636
href: siteMetadata.newsletterUrl,
37-
description: "My newsletter about software development",
37+
description: "Aka Developreneur",
3838
},
3939
{
4040
title: "Teaching",
4141
href: "/teaching",
42-
description: "I teach others. Sometimes for free, sometimes for money.",
42+
description: "Mentoring, courses, tutorials, and other educational content.",
43+
},
44+
{
45+
title: "418 Podcast",
46+
href: "https://podcasters.spotify.com/pod/show/418-developreneur",
47+
description: "A podcast. Well, it will be eventually. Right now it's just one episode. But it's coming. I promise.",
4348
},
4449
];
4550

components/signature.tsx

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

content/pages/about.mdx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,19 @@ status: published
55
description: This is me.
66
---
77

8-
Hey, I'm Amy, a frontend engineer, content creator, and digital nomad.
9-
I create content about frontend engineering and UI Design apps on Twitter, and this blog. I've freelanced as a full-stack developer since my teenage years, and in 2023, I started writing this blog. Let's learn and support each other on this journey!
8+
I'm a Content Creator, indie developer, and digital nomad.
109

11-
## What's the point of blogging?
10+
I create content about **being a solopreneur and production-ready apps**. [Twitter](https://twitter.com/thedevdavid), [YouTube](https://youtube.com/@thedevdavid), and [my blog](https://davidlevai.com/).
11+
12+
Since my teenage years, I have worked as a freelance full-stack developer mostly with startups and small businesses. In 2020 I decided to use this knowledge to scale a digital agency and try to build something for myself. **As of 2023, I'm building businesses in public, and helping developers become entrepreneurs.**
13+
14+
## What's the point of doing these in public?
1215

1316
- I believe you can learn a lot by following other people's journeys. I'm following a lot of other creators too.
1417
- Through social media and public building, I get to meet interesting people and we can support each other.
1518

19+
While I'm away from the internet, I work out a lot and travel to see more and more of the world. _(Soon maybe another planet?)_
20+
1621
## What kind of stuff do you find here?
1722

18-
Videos, blogs, tips, and discussions. I'm also planning to start a podcast soon.
23+
Videos, blogs, tips, and discussions. Learn how to build an international digital product agency, develop production-ready apps, and be mindful and productive as an IT entrepreneur.

content/pages/now.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ description: Quick way to check what I'm up to these days.
77

88
## Where am I?
99

10-
I'm a digital nomad, currently in my home, the US. Spending my days in the beautiful city of LA.
10+
I'm a digital nomad, but I'm not traveling much these days. I'm currently spending most of my time in Europe, living a habit-based life.
1111

1212
## What I'm working on currently?
1313

14-
1. Working at my day job as a frontend engineer
15-
2. Developing indie-projects [like this developer blogging platform](https://github.com/thedevdavid/digital-garden)
14+
1. Building a shit-ton of free stuff on YouTube
15+
2. Mentoring developers to become solopreneurs
16+
3. Developing indie-projects [like this developer blogging platform](https://github.com/thedevdavid/digital-garden)
1617

1718
## I am available for:
1819

@@ -23,8 +24,11 @@ I'm a digital nomad, currently in my home, the US. Spending my days in the beaut
2324

2425
Currently, I'm **not** available for employment-based work. I'm only considering unique/exciting projects for freelance work or consulting.
2526

27+
For consulting I'm available maximum 3 days a week. My daily rate is $800.
28+
For freelance projects, it depends on the requirements. Minimum project engagement is $25,000
29+
2630
### How do I decide about a project if it sounds exciting?
2731

28-
I follow the **"Hell yeah! or No** principle.
32+
I follow the **"Hell yeah! or No"** principle.
2933

3034
_This page was inspired by [Derek Sivers](https://nownownow.com/about). It works as a public declaration and a reminder to myself._

content/posts/draft-post.mdx

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)