Skip to content

Commit

Permalink
♻️refactor: update banner image paths in post files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleepyico committed Jun 27, 2024
1 parent 42bd674 commit d7718fc
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 13 deletions.
32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,38 @@ Construct
bun build
```

## 📄 Posts

Add your files posts in the `src/content` folder, and name them with the following format: `post.mdx.example`

```mdx
---
title: # title
description: # description
banner: # /posts/yourimage.png in public folder
tags:
- # tag 1
- # tag 2
- # tag 3
related:
- # related post slug aka (file name)
date: # date (year-month-day hour:minute:second)
published: # boolean (optional)
featured: # boolean (optional)
indicatorsHidden: # boolean (optional)
special: # boolean (optional)(has no use for now)
color: # color (optional)(changes the color for SEO and etc...)
---

# your post content here
```

## 📷 Screenshots

<img width="1471" alt="Website UI" src="./.github/images/Bloggy.png">
<img width="600" alt="Website UI" src="./.github/images/Bloggy-Demo.png">
<img width="600" alt="Website UI" src="./.github/images/Bloggy-Demo-1.png">
<img width="600" alt="Website UI" src="./.github/images/Bloggy-Demo-2.png">
<img width="1471" alt="Website UI" src="./.github/images/Bloggy-Demo.png">
<img width="1471" alt="Website UI" src="./.github/images/Bloggy-Demo-1.png">
<img width="1471" alt="Website UI" src="./.github/images/Bloggy-Demo-2.png">

## 🧑‍💻 Author

Expand Down
21 changes: 16 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
"name": "bloggy",
"description": "Bloggy is a blogging platform built with Next.js and Tailwind CSS. Made by Iconical aka Sleepyico.",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"keywords": [ "blog", "bloggy", "nextjs", "tailwindcss", "rss", "blogging" ],
"keywords": [
"blog",
"bloggy",
"nextjs",
"tailwindcss",
"rss",
"blogging"
],
"homepage": "https://iconical.dev",
"repository": {
"type": "git",
Expand All @@ -20,13 +27,17 @@
},
"https://ko-fi.com/iconical",
"https://iconical.dev/donate"
],

],
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"g:tag": "git tag -s v$(node -p 'require(\"./package.json\").version') -m \"🔖tag: v$(node -p 'require(\"./package.json\").version') release\"",
"g:push": "git push && git push --follow-tags",
"v:major": "npm version major --no-git-tag-version",
"v:minor": "npm version minor --no-git-tag-version",
"v:patch": "npm version patch --no-git-tag-version"
},
"dependencies": {
"@ducanh2912/next-pwa": "^10.2.7",
Expand Down
File renamed without changes.
File renamed without changes
2 changes: 1 addition & 1 deletion public/sw.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/content/Introduction-To-Testing-In-JavaScript.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Introduction to Testing in JavaScript
description: Ensuring that your code behaves as expected, performs optimally, and remains maintainable with JavaScript testing.
banner: /blog/Introduction-To-Testing-In-JavaScript.webp
banner: /posts/Introduction-To-Testing-In-JavaScript.webp
tags:
- Testing
- JavaScript
Expand Down
2 changes: 1 addition & 1 deletion src/content/My-first-blog.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Creating a Free, Open-Source Blog
description: Join me as i'm creating an open-source blog, sharing the process and my passion for community and creativity
banner: /blog/myfirstblog.png
banner: /posts/myfirstblog.png
tags:
- first
- blog
Expand Down
2 changes: 1 addition & 1 deletion src/content/Resources-to-learn-Rust.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Resources to learn Rust
description: A curated collection of materials designed to assist learners at various stages of their journey with the Rust.
banner: /blog/Resources-to-learn-Rust.webp
banner: /posts/Resources-to-learn-Rust.webp
tags:
- Rust
- Roadmap
Expand Down
2 changes: 1 addition & 1 deletion src/content/post.mdx.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: # title
description: # description
banner: # /blog/yourimage.png in public folder
banner: # /posts/yourimage.png in public folder
tags:
- # tag 1
- # tag 2
Expand Down

0 comments on commit d7718fc

Please sign in to comment.