53 lines
1.8 KiB
Markdown
53 lines
1.8 KiB
Markdown
# Radiant
|
|
|
|
Radiant is a [Tailwind Plus](https://tailwindcss.com/plus) site template built using [Tailwind CSS](https://tailwindcss.com) and [Next.js](https://nextjs.org), with a blog powered by [Sanity](https://www.sanity.io).
|
|
|
|
## Getting started
|
|
|
|
To get started with this template, first install the npm dependencies:
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
Next, create a new Sanity project to power the blog within this template:
|
|
|
|
```bash
|
|
npm create sanity@latest -- --env=.env.local --create-project "Radiant Blog" --dataset production
|
|
```
|
|
|
|
This will prompt you to create a new Sanity account if you don't have one already. When asked "Would you like to add configuration files for a Sanity project in this Next.js folder?", choose "n".
|
|
|
|
Next, optionally import the demo seed data for the blog:
|
|
|
|
```bash
|
|
npx sanity@latest dataset import seed.tar.gz
|
|
```
|
|
|
|
Next, run the development server:
|
|
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
Finally, open [http://localhost:3000](http://localhost:3000) in your browser to view the website.
|
|
|
|
To manage your blog content, visit the embedded Sanity Studio at [http://localhost:3000/studio](http://localhost:3000/studio).
|
|
|
|
## Customizing
|
|
|
|
You can start editing this template by modifying the files in the `/src` folder. The site will auto-update as you edit these files.
|
|
|
|
## License
|
|
|
|
This site template is a commercial product and is licensed under the [Tailwind Plus license](https://tailwindcss.com/plus/license).
|
|
|
|
## Learn more
|
|
|
|
To learn more about the technologies used in this site template, see the following resources:
|
|
|
|
- [Tailwind CSS](https://tailwindcss.com/docs) - the official Tailwind CSS documentation
|
|
- [Next.js](https://nextjs.org/docs) - the official Next.js documentation
|
|
- [Headless UI](https://headlessui.dev) - the official Headless UI documentation
|
|
- [Sanity](https://www.sanity.io) - the Sanity website
|