run prettier
This commit is contained in:
parent
08fe5000a7
commit
f1a1b83b45
|
@ -0,0 +1,2 @@
|
||||||
|
npx prettier --end-of-line auto --write "**/*.tsx"
|
||||||
|
npx prettier --end-of-line auto --write "**/*.ts"
|
|
@ -11,7 +11,9 @@ export default function Popup(props: PopupProps): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`fixed inset-0 z-50 grid place-content-center transition-[backdrop-filter] duration-500 ${
|
className={`fixed inset-0 z-50 grid place-content-center transition-[backdrop-filter] duration-500 ${
|
||||||
props.state ? "[backdrop-filter:blur(2px)]" : "pointer-events-none touch-none"
|
props.state
|
||||||
|
? "[backdrop-filter:blur(2px)]"
|
||||||
|
: "pointer-events-none touch-none"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -18,7 +18,9 @@ export default function Home(props: HomeProps): JSX.Element {
|
||||||
<div className="grid place-items-center place-content-center w-full gap-5 text-center">
|
<div className="grid place-items-center place-content-center w-full gap-5 text-center">
|
||||||
<div className="[mask:url('/icons/accords.svg')] [mask-size:contain] [mask-repeat:no-repeat] [mask-position:center] w-32 aspect-square mobile:w-[50vw] bg-black" />
|
<div className="[mask:url('/icons/accords.svg')] [mask-size:contain] [mask-repeat:no-repeat] [mask-position:center] w-32 aspect-square mobile:w-[50vw] bg-black" />
|
||||||
<h1 className="text-5xl mb-0">Accord’s Library</h1>
|
<h1 className="text-5xl mb-0">Accord’s Library</h1>
|
||||||
<h2 className="text-xl -mt-5">Discover • Analyse • Translate • Archive</h2>
|
<h2 className="text-xl -mt-5">
|
||||||
|
Discover • Analyse • Translate • Archive
|
||||||
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
{post.translations.length > 0 && (
|
{post.translations.length > 0 && (
|
||||||
<Markdawn text={post.translations[0].body} />
|
<Markdawn text={post.translations[0].body} />
|
||||||
|
|
Loading…
Reference in New Issue