add nextjs lint

pull/13/head
mrshmllow 2 years ago committed by marshmallow
parent f6c2dbded2
commit 77507b6971

@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}

@ -36,7 +36,7 @@ const Navbar = () => {
<div className="container flex flex-wrap justify-between items-center mx-auto max-w-7xl"> <div className="container flex flex-wrap justify-between items-center mx-auto max-w-7xl">
<Link href="/"> <Link href="/">
<a className="flex items-center gap-2"> <a className="flex items-center gap-2">
<Image src="/svg/crystal-logo.svg" width={35} height={35} /> <Image src="/svg/crystal-logo.svg" width={35} height={35} alt="" />
<span className="self-center text-xl font-semibold whitespace-nowrap dark:text-white"> <span className="self-center text-xl font-semibold whitespace-nowrap dark:text-white">
Crystal Linux Crystal Linux
</span> </span>

@ -36,6 +36,7 @@ const Home: NextPage = () => {
<a <a
href={entry.link} href={entry.link}
target="_blank" target="_blank"
rel="noreferrer"
className="hover:text-purple-700" className="hover:text-purple-700"
key={entry.link} key={entry.link}
> >
@ -48,7 +49,7 @@ const Home: NextPage = () => {
<div> <div>
<h2>Why Crystal?</h2> <h2>Why Crystal?</h2>
<p> <p>
What's so different about Crystal compared to other distributions? What{"'"}s so different about Crystal compared to other distributions?
</p> </p>
<ul className="list-disc list-inside text-left flex flex-col gap-4 text-xl"> <ul className="list-disc list-inside text-left flex flex-col gap-4 text-xl">
<li>Easy to use package manager</li> <li>Easy to use package manager</li>

Loading…
Cancel
Save