|
1 | | -# Astro Starter Kit: Minimal |
| 1 | +# 🌟 Astro Flexoki |
2 | 2 |
|
3 | | -```sh |
4 | | -npm create astro@latest -- --template minimal |
5 | | -``` |
| 3 | +A minimalist, fast, and elegant blog theme built with [Astro](https://astro.build), [Tailwind CSS](https://tailwindcss.com), and the warm, beautiful [Flexoki](https://stephango.com/flexoki) color palette. |
| 4 | + |
| 5 | +> ✨ Ideal for developers, writers, and creators who value simplicity, performance, and timeless design. |
| 6 | +
|
| 7 | + |
6 | 8 |
|
7 | | -[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal) |
8 | | -[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal) |
9 | | -[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json) |
| 9 | +--- |
10 | 10 |
|
11 | | -> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun! |
| 11 | +## 🚀 Features |
12 | 12 |
|
13 | | -## 🚀 Project Structure |
| 13 | +- ⚡ **Blazing fast** with Astro’s static site generation |
| 14 | +- 🎨 **Custom theming** using Flexoki’s harmonious color tokens |
| 15 | +- 🌗 **Light/Dark mode** toggle with `data-theme` |
| 16 | +- 🧠 **SEO optimized** with dynamic `<meta>` tags and OG support |
| 17 | +- ✍️ **Markdown-powered** posts, notes*, and pages |
| 18 | +- 📱 Fully **responsive** and mobile-first |
| 19 | +- 🔗 Configurable **navigation, social, and footer links** |
| 20 | +- 📦 No heavy dependencies — just Astro and Tailwind CSS |
| 21 | +- 🖼️ Ready for dynamic **OG image generation** via Astro API (in progress) |
14 | 22 |
|
15 | | -Inside of your Astro project, you'll see the following folders and files: |
| 23 | +--- |
16 | 24 |
|
17 | | -```text |
18 | | -/ |
19 | | -├── public/ |
| 25 | +## 🗂️ Folder Structure |
| 26 | + |
| 27 | +```bash |
| 28 | +astro-flexoki/ |
20 | 29 | ├── src/ |
21 | | -│ └── pages/ |
22 | | -│ └── index.astro |
23 | | -└── package.json |
| 30 | +│ ├── components/ # Reusable UI components (Header, Footer, etc.) |
| 31 | +│ ├── content/ # Markdown content for blog, notes, etc. |
| 32 | +│ ├── layouts/ # Layouts used by pages |
| 33 | +│ ├── pages/ # Routes like /, /about, /articles |
| 34 | +│ ├── styles/ # Tailwind and theme styles |
| 35 | +├── public/ # Static assets |
| 36 | +├── site.config.ts # Global site configuration |
| 37 | +├── tailwind.config.ts # Tailwind CSS configuration |
| 38 | +``` |
| 39 | + |
| 40 | +--- |
| 41 | + |
| 42 | +## 🛠️ Getting Started |
| 43 | + |
| 44 | +```bash |
| 45 | +# Clone the repo |
| 46 | +git clone https://github.com/ak0r/astro-flexoki.git |
| 47 | +cd astro-flexoki |
| 48 | + |
| 49 | +# Install dependencies |
| 50 | +npm install |
| 51 | + |
| 52 | +# Start the dev server |
| 53 | +npm run dev |
| 54 | +``` |
| 55 | + |
| 56 | +Then visit `http://localhost:4321` in your browser. |
| 57 | + |
| 58 | +--- |
| 59 | + |
| 60 | +## ⚙️ Configuration |
| 61 | + |
| 62 | +All your site settings live in `site.config.ts`: |
| 63 | + |
| 64 | +```ts |
| 65 | +export const siteConfig = { |
| 66 | + title: 'Astro Flexoki', |
| 67 | + description: 'A Astro starter template built with TailwindCSS and Flexoki colour pallette', |
| 68 | + author: 'John Doe', |
| 69 | + url: 'https://example.com', |
| 70 | + settings: { |
| 71 | + accentColor: 'orange', |
| 72 | + postsPerPage: 6, |
| 73 | + enableDarkMode: true, |
| 74 | + showNewsletterSignup: true, |
| 75 | + }, |
| 76 | +}; |
24 | 77 | ``` |
25 | 78 |
|
26 | | -Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. |
| 79 | +--- |
| 80 | + |
| 81 | +## 📸 Screenshots |
| 82 | + |
| 83 | +| Light Theme | Dark Theme | |
| 84 | +|-------------|------------| |
| 85 | +|  |  | |
| 86 | + |
| 87 | +--- |
| 88 | + |
| 89 | +## 🔮 Roadmap |
| 90 | + |
| 91 | +- [ ] Update MDX contents |
| 92 | +- [ ] Add full-text search |
| 93 | +- [ ] Add Projects / Notes content collections |
| 94 | +- [ ] OG-image generation |
| 95 | +- [ ] CMS integration (Tina, Notion, Contentlayer) |
| 96 | +- [ ] RSS feed and sitemap |
| 97 | + |
| 98 | +--- |
27 | 99 |
|
28 | | -There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. |
| 100 | +## 🙌 Credits |
29 | 101 |
|
30 | | -Any static assets, like images, can be placed in the `public/` directory. |
| 102 | +- [Astro](https://astro.build) — the static site builder |
| 103 | +- [Tailwind CSS](https://tailwindcss.com) — utility-first CSS |
| 104 | +- [Steph Ango](https://stephango.com/flexoki) — the color palette |
| 105 | +- [Astro Pure](https://github.com/cworld1/astro-theme-pure) — References |
31 | 106 |
|
32 | | -## 🧞 Commands |
| 107 | +--- |
33 | 108 |
|
34 | | -All commands are run from the root of the project, from a terminal: |
| 109 | +## 📄 License |
35 | 110 |
|
36 | | -| Command | Action | |
37 | | -| :------------------------ | :----------------------------------------------- | |
38 | | -| `npm install` | Installs dependencies | |
39 | | -| `npm run dev` | Starts local dev server at `localhost:4321` | |
40 | | -| `npm run build` | Build your production site to `./dist/` | |
41 | | -| `npm run preview` | Preview your build locally, before deploying | |
42 | | -| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | |
43 | | -| `npm run astro -- --help` | Get help using the Astro CLI | |
| 111 | +MIT © [Amit K](https://github.com/ak0r) |
| 112 | +Free to use, modify, and share. |
44 | 113 |
|
45 | | -## 👀 Want to learn more? |
| 114 | +--- |
46 | 115 |
|
47 | | -Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). |
| 116 | +> Made with 💛 using Astro, Tailwind, and Flexoki. |
0 commit comments