Syntro

R
Renaudil y a 2 jours
0

Description

A sleek, minimal landing page template built with Astro and Tailwind CSS — perfect for SaaS and startups.

npx boilerapp syntro

文档

SaaS & Startup Astro & Tailwind CSS Template

License

This template is open-source software licensed under the GPL-3.0 license. You are free to fork, modify, and use it in your projects.

Attribution

Originally created by Michael Andreuzza. Modified, extended, and redistributed by Bektur Aslan with added sections and updated UI/UX for broader usage.

This template is using Tailwind CSS V4

Now we are using only a CSS file. It's called global.css and it's located in the src/styles folder. Now we are eimporting Tailwind CSS on the same file instead of using the tailwind.config.cjs file. Like this:

// Importing Tailwind CSS
@import "tailwindcss";
// Importing Tailwind plugins
@plugin "@tailwindcss/typography";
@plugin "@tailwindcss/forms";

Then to add your styles you will use the @theme directive. Like this:

@theme {
  /* Your CSS goes here, see how styles are written on the global.css file */
}

Remember this is just in Alpha version, so you can use it as you want. Just keep an eye on the changes that Tailwind CSS is going to make.

Template Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
├── src/
│   └── pages/
│       └── index.astro
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

Commands

All commands are run from the root of the project, from a terminal:

CommandAction
npm installInstalls dependencies
npm run devStarts local dev server at localhost:3000
npm run buildBuild your production site to ./dist/
npm run previewPreview your build locally, before deploying
npm run astro ...Run CLI commands like astro add, astro check
npm run astro --helpGet help using the Astro CLI

Want to learn more?

Feel free to check Astro's documentation

Deploy

Deploy with Vercel


Maintained & updated by Bektur Aslan. Contributions welcome.

Prix

Gratuit

FREE

评论 (0)

常见问题

常见问题解答 (FAQ)

有问题?我们有答案。如果您找不到想要的答案,请随时联系我们。

Boilerapp 是一个专门用于分享 Boilerplates、入门套件(Starter Kits)和项目模版的开发者社区平台。我们的目标很简单:为您节省初始配置(Setup)的时间,让您可以专注于真正重要的代码。无论您是在寻找简单的代码库还是完整的 SaaS 项目,都能在这里找到。

还有其他问题?

我们的团队随时为您提供帮助。联系我们,我们将尽快回复。