mirror of
https://github.com/zen-browser/astro-site-test.git
synced 2025-07-08 00:49:58 +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
|
# astro-site-test
|
||||||
|
|
||||||
cheff its a test dont delete
|
cheff its a test dont delete
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from "astro/config";
|
||||||
import tailwind from '@astrojs/tailwind';
|
import tailwind from "@astrojs/tailwind";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -20,4 +20,4 @@
|
||||||
"prettier-plugin-tailwindcss": "^0.6.8",
|
"prettier-plugin-tailwindcss": "^0.6.8",
|
||||||
"tailwindcss": "3.2.7"
|
"tailwindcss": "3.2.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
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>
|
<h2>Stay focused, browse faster</h2>
|
||||||
<p class="max-w-prose text-lg text-muted">
|
<p class="max-w-prose text-lg text-muted">
|
||||||
Zen is beautifully designed, privacy-focused, and packed with features. We
|
Zen is beautifully designed, privacy-focused, and packed with features. We
|
||||||
care about your experience, not your data.
|
care about your experience, not your data.
|
||||||
</p>
|
</p>
|
||||||
<div class="vstack gap-sm">
|
<div class="center flex flex-col gap-sm">
|
||||||
<a href="/download" class="btn-base">Download Zen</a>
|
<a href="/download" class="btn-base">Download Zen</a>
|
||||||
<p class="text-sm text-muted/95">Available on Windows, Mac, and Linux</p>
|
<p class="text-sm text-muted/95">Available on Windows, Mac, and Linux</p>
|
||||||
</div>
|
</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" />
|
<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>
|
</section>
|
||||||
|
|
|
@ -18,21 +18,20 @@ module.exports = {
|
||||||
plugins: [
|
plugins: [
|
||||||
plugin(function ({ addBase, addComponents, addUtilities, theme }) {
|
plugin(function ({ addBase, addComponents, addUtilities, theme }) {
|
||||||
addBase({
|
addBase({
|
||||||
section: {
|
|
||||||
"@apply flex flex-col justify-center items-center gap-md text-center":
|
|
||||||
{},
|
|
||||||
},
|
|
||||||
h2: {
|
h2: {
|
||||||
"@apply text-7xl font-bold text-primary": {},
|
"@apply text-7xl font-bold text-primary": {},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
addComponents({
|
addComponents({
|
||||||
".vstack": {
|
".section": {
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
gap: theme("spacing.sm"),
|
gap: theme("spacing.md"),
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
},
|
},
|
||||||
|
".center": {
|
||||||
|
"@apply text-center place-items-center": {},
|
||||||
|
},
|
||||||
".btn-base": {
|
".btn-base": {
|
||||||
"@apply bg-black text-white font-semibold py-3 px-6 rounded-full w-fit":
|
"@apply bg-black text-white font-semibold py-3 px-6 rounded-full w-fit":
|
||||||
{},
|
{},
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"extends": "astro/tsconfigs/base"
|
"extends": "astro/tsconfigs/base"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue