fixed typo

This commit is contained in:
Sebastian Wendel 2023-04-24 17:31:15 +02:00
parent 47d7568156
commit 49fe8dca05
No known key found for this signature in database
GPG key ID: 14ED8B1EC3371ECE
7 changed files with 31 additions and 46 deletions

27
.eslintrc.cjs Normal file
View file

@ -0,0 +1,27 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ["plugin:astro/all"],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["@typescript-eslint"],
rules: {},
overrides: [
{
files: ["*.astro"],
parser: "astro-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
extraFileExtensions: [".astro"],
},
rules: {
"astro/no-set-html-directive": "off",
},
},
],
};

View file

@ -1,27 +0,0 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ['plugin:astro/all'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
rules: {},
overrides: [
{
files: ['*.astro'],
parser: 'astro-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
extraFileExtensions: ['.astro'],
},
rules: {
'astro/no-set-html-directive': 'off',
},
},
],
};

View file

@ -44,7 +44,7 @@
devShells.default = pkgs.mkShell {
packages = builtins.attrValues {
inherit (pkgs) yarn;
inherit (pkgs) nodejs yarn;
inherit (pkgs) alejandra nil;
};
shellHook = config.pre-commit.installationScript;

View file

@ -61,19 +61,6 @@ import Button from "./ui/button.astro";
.empty-feedback {
display: none;
}
.was-validated :placeholder-shown:invalid ~ .empty-feedback {
display: block;
}
.was-validated :not(:placeholder-shown):invalid ~ .invalid-feedback {
display: block;
}
.is-invalid,
.was-validated :invalid {
border-color: #dc3545;
}
</style>
<script is:inline>

View file

@ -8,7 +8,7 @@ import Link from "./ui/link.astro";
Join our chat.
</h2>
<p class="text-slate-400 mt-4 text-lg md:text-xl">
We use Matrix, because is decentralized, end-to-end encrypted and open source.
We use Matrix, because it's decentralized, end-to-end encrypted and open source.
</p>
<div class="flex mt-5">
<Link href="https://matrix.to/#/#nix-hh:curious.bio" style="inverted">Join</Link>

View file

@ -25,9 +25,7 @@ const { title, lastItem, children } = Astro.props;
<div
class:list={[
"lg:absolute w-full lg:w-48 z-10",
lastItem
? "lg:right-0 origin-top-right"
: "lg:left-0 origin-top-left",
{"lg:right-0 origin-top-right": lastItem, "lg:left-0 origin-top-left": !lastItem},
]}>
<div
class="px-3 lg:py-2 lg:bg-white lg:rounded-md lg:shadow lg:border flex flex-col">

View file

@ -3,7 +3,7 @@ const { class: className } = Astro.props;
---
<svg
class={className}
class:list={className}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"