fixed typo
This commit is contained in:
parent
47d7568156
commit
49fe8dca05
27
.eslintrc.cjs
Normal file
27
.eslintrc.cjs
Normal 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",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
};
|
27
.eslintrc.js
27
.eslintrc.js
|
@ -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',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
packages = builtins.attrValues {
|
packages = builtins.attrValues {
|
||||||
inherit (pkgs) yarn;
|
inherit (pkgs) nodejs yarn;
|
||||||
inherit (pkgs) alejandra nil;
|
inherit (pkgs) alejandra nil;
|
||||||
};
|
};
|
||||||
shellHook = config.pre-commit.installationScript;
|
shellHook = config.pre-commit.installationScript;
|
||||||
|
|
|
@ -61,19 +61,6 @@ import Button from "./ui/button.astro";
|
||||||
.empty-feedback {
|
.empty-feedback {
|
||||||
display: none;
|
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>
|
</style>
|
||||||
|
|
||||||
<script is:inline>
|
<script is:inline>
|
||||||
|
|
|
@ -8,7 +8,7 @@ import Link from "./ui/link.astro";
|
||||||
Join our chat.
|
Join our chat.
|
||||||
</h2>
|
</h2>
|
||||||
<p class="text-slate-400 mt-4 text-lg md:text-xl">
|
<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>
|
</p>
|
||||||
<div class="flex mt-5">
|
<div class="flex mt-5">
|
||||||
<Link href="https://matrix.to/#/#nix-hh:curious.bio" style="inverted">Join</Link>
|
<Link href="https://matrix.to/#/#nix-hh:curious.bio" style="inverted">Join</Link>
|
||||||
|
|
|
@ -25,9 +25,7 @@ const { title, lastItem, children } = Astro.props;
|
||||||
<div
|
<div
|
||||||
class:list={[
|
class:list={[
|
||||||
"lg:absolute w-full lg:w-48 z-10",
|
"lg:absolute w-full lg:w-48 z-10",
|
||||||
lastItem
|
{"lg:right-0 origin-top-right": lastItem, "lg:left-0 origin-top-left": !lastItem},
|
||||||
? "lg:right-0 origin-top-right"
|
|
||||||
: "lg:left-0 origin-top-left",
|
|
||||||
]}>
|
]}>
|
||||||
<div
|
<div
|
||||||
class="px-3 lg:py-2 lg:bg-white lg:rounded-md lg:shadow lg:border flex flex-col">
|
class="px-3 lg:py-2 lg:bg-white lg:rounded-md lg:shadow lg:border flex flex-col">
|
||||||
|
|
|
@ -3,7 +3,7 @@ const { class: className } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<svg
|
<svg
|
||||||
class={className}
|
class:list={className}
|
||||||
viewBox="0 0 24 24"
|
viewBox="0 0 24 24"
|
||||||
fill="none"
|
fill="none"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|
Loading…
Reference in a new issue