mirror of
https://github.com/zen-browser/astro-site-test.git
synced 2025-07-07 22:29:59 +02:00
chore: update README, fix formatting in config files, and add biome configuration
This commit is contained in:
parent
a260c23b9a
commit
047ce9cdf1
9 changed files with 2423 additions and 1076 deletions
|
@ -1,13 +0,0 @@
|
|||
|
||||
/** @type {import("prettier").Config} */
|
||||
export default {
|
||||
plugins: ['prettier-plugin-astro', 'prettier-plugin-tailwindcss'],
|
||||
overrides: [
|
||||
{
|
||||
files: '*.astro',
|
||||
options: {
|
||||
parser: 'astro',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
|
@ -1,2 +1,3 @@
|
|||
# astro-site-test
|
||||
|
||||
cheff its a test dont delete
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
import tailwind from '@astrojs/tailwind';
|
||||
import { defineConfig } from "astro/config";
|
||||
import tailwind from "@astrojs/tailwind";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
integrations: [tailwind()],
|
||||
integrations: [tailwind()],
|
||||
});
|
||||
|
|
33
biome.json
Normal file
33
biome.json
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
||||
"vcs": {
|
||||
"enabled": false,
|
||||
"clientKind": "git",
|
||||
"useIgnoreFile": false
|
||||
},
|
||||
"files": {
|
||||
"ignoreUnknown": false,
|
||||
"ignore": []
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"indentStyle": "space"
|
||||
},
|
||||
"organizeImports": {
|
||||
"enabled": true
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true,
|
||||
"nursery": {
|
||||
"useSortedClasses": "info"
|
||||
}
|
||||
}
|
||||
},
|
||||
"javascript": {
|
||||
"formatter": {
|
||||
"quoteStyle": "double"
|
||||
}
|
||||
}
|
||||
}
|
3426
pnpm-lock.yaml
generated
3426
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
@ -1,12 +1,13 @@
|
|||
<section id="hero">
|
||||
<section id="hero" class="section">
|
||||
<h2>Stay focused, browse faster</h2>
|
||||
<p class="max-w-prose text-lg text-muted">
|
||||
Zen is beautifully designed, privacy-focused, and packed with features. We
|
||||
care about your experience, not your data.
|
||||
</p>
|
||||
<div class="vstack gap-sm">
|
||||
<div class="center flex flex-col gap-sm">
|
||||
<a href="/download" class="btn-base">Download Zen</a>
|
||||
<p class="text-sm text-muted/95">Available on Windows, Mac, and Linux</p>
|
||||
</div>
|
||||
<img src="https://media.discordapp.net/attachments/1302453497651925082/1302664349655240825/nI0zVqK.png?ex=6728f037&is=67279eb7&hm=a307a77de19d56eb9165f3333a22ba5ea40e0ebb43fa1f03ecb11204ddc7e218&=&format=webp&quality=lossless&width=809&height=698" alt="Zen Logo" />
|
||||
</section>
|
||||
|
|
@ -18,21 +18,20 @@ module.exports = {
|
|||
plugins: [
|
||||
plugin(function ({ addBase, addComponents, addUtilities, theme }) {
|
||||
addBase({
|
||||
section: {
|
||||
"@apply flex flex-col justify-center items-center gap-md text-center":
|
||||
{},
|
||||
},
|
||||
h2: {
|
||||
"@apply text-7xl font-bold text-primary": {},
|
||||
},
|
||||
});
|
||||
addComponents({
|
||||
".vstack": {
|
||||
".section": {
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
gap: theme("spacing.sm"),
|
||||
gap: theme("spacing.md"),
|
||||
alignItems: "center",
|
||||
},
|
||||
".center": {
|
||||
"@apply text-center place-items-center": {},
|
||||
},
|
||||
".btn-base": {
|
||||
"@apply bg-black text-white font-semibold py-3 px-6 rounded-full w-fit":
|
||||
{},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue