Skip to content

Commit 571ed52

Browse files
committed
fix: resolve @eslint errors and remove unnecessary ignorePatterns
1 parent f3e3e20 commit 571ed52

File tree

6 files changed

+12
-18
lines changed

6 files changed

+12
-18
lines changed

.eslintrc.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
{
2-
"extends": [
3-
"next/core-web-vitals",
4-
"standard",
5-
"plugin:tailwindcss/recommended",
6-
"prettier"
7-
],
8-
"ignorePatterns": ["/components/ui/*"]
2+
"extends": ["next/core-web-vitals", "standard", "plugin:tailwindcss/recommended", "prettier"]
93
}

components/design/hero.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const BackgroundCircles = ({
4949
}, []);
5050

5151
return (
52-
<div className="absolute -top-[42.375rem] left-1/2 aspect-square w-[78rem] -translate-x-1/2 rounded-full border border-n-2/5 md:-top-[38.5rem] xl:-top-[32rem]">
52+
<div className="absolute left-1/2 top-[-42.375rem] aspect-square w-[78rem] -translate-x-1/2 rounded-full border border-n-2/5 md:top-[-38.5rem] xl:top-[-32rem]">
5353
<Rings />
5454

5555
{/* Moving background colored circle balls */}
@@ -62,7 +62,7 @@ export const BackgroundCircles = ({
6262
/>
6363
</div>
6464

65-
<div className="absolute bottom-1/2 left-1/2 h-1/2 w-0.25 origin-bottom -rotate-[56deg]">
65+
<div className="absolute bottom-1/2 left-1/2 h-1/2 w-0.25 origin-bottom rotate-[-56deg]">
6666
<div
6767
className={`-ml-1 -mt-32 size-4 rounded-full bg-gradient-to-b from-[#DD734F] to-[#1A1A32] transition-transform duration-500 ease-out ${
6868
mounted ? "translate-y-0 opacity-100" : "translate-y-10 opacity-0"
@@ -72,21 +72,21 @@ export const BackgroundCircles = ({
7272

7373
<div className="absolute bottom-1/2 left-1/2 h-1/2 w-0.25 origin-bottom rotate-[54deg]">
7474
<div
75-
className={`transit -ml-1 mt-[12.9rem] hidden size-4 rounded-full bg-gradient-to-b from-[#B9AEDF] to-[#1A1A32] transition-transform duration-500 ease-out xl:block ${
75+
className={`-ml-1 mt-[12.9rem] hidden size-4 rounded-full bg-gradient-to-b from-[#B9AEDF] to-[#1A1A32] transition-transform duration-500 ease-out xl:block ${
7676
mounted ? "translate-y-0 opacity-100" : "translate-y-10 opacity-0"
7777
}`}
7878
/>
7979
</div>
8080

81-
<div className="absolute bottom-1/2 left-1/2 h-1/2 w-0.25 origin-bottom -rotate-[65deg]">
81+
<div className="absolute bottom-1/2 left-1/2 h-1/2 w-0.25 origin-bottom rotate-[-65deg]">
8282
<div
8383
className={`-ml-1.5 mt-52 size-3 rounded-full bg-gradient-to-b from-[#B9AEDF] to-[#1A1A32] transition-transform duration-500 ease-out ${
8484
mounted ? "translate-y-0 opacity-100" : "translate-y-10 opacity-0"
8585
}`}
8686
/>
8787
</div>
8888

89-
<div className="absolute bottom-1/2 left-1/2 h-1/2 w-0.25 origin-bottom -rotate-[85deg]">
89+
<div className="absolute bottom-1/2 left-1/2 h-1/2 w-0.25 origin-bottom rotate-[-85deg]">
9090
<div
9191
className={`-ml-3 -mt-3 size-6 rounded-full bg-gradient-to-b from-[#88E5BE] to-[#1A1A32] transition-transform duration-500 ease-out ${
9292
mounted ? "translate-y-0 opacity-100" : "translate-y-10 opacity-0"

components/design/roadmap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Image from "next/image";
33

44
export const Gradient = () => {
55
return (
6-
<div className="pointer-events-none absolute -left-[30.375rem] top-[18.25rem] w-[56.625rem] opacity-60 mix-blend-color-dodge">
6+
<div className="pointer-events-none absolute left-[-30.375rem] top-[18.25rem] w-[56.625rem] opacity-60 mix-blend-color-dodge">
77
<div className="absolute left-1/2 top-1/2 size-[58.85rem] -translate-x-3/4 -translate-y-1/2">
88
<Image className="w-full" src={images.gradient} width={942} height={942} alt="Gradient" />
99
</div>

components/design/services.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const VideoChatMessage = () => {
2929
return (
3030
<div className="absolute left-[3.125rem] top-8 w-full max-w-56 rounded-t-xl rounded-br-xl bg-n-6 pb-7 pl-5 pr-2.5 pt-2.5 font-code text-base md:max-w-[17.5rem]">
3131
Video generated!
32-
<div className="absolute -bottom-[1.125rem] left-5 flex size-9 items-center justify-center rounded-xl bg-color-1">
32+
<div className="absolute bottom-[-1.125rem] left-5 flex size-9 items-center justify-center rounded-xl bg-color-1">
3333
<Image src={images.brainwaveWhiteSymbol} width={26} height={26} alt="Brainwave" />
3434
</div>
3535
<p className="tagline absolute bottom-1 right-2.5 text-[0.625rem] uppercase text-n-3">

components/sections/benefits/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const Benefits = (props: Props) => {
2222
{benefits.map((item) => (
2323
<div
2424
key={item.id}
25-
className="relative block bg-[length:100%_100%] bg-no-repeat p-0.5 md:max-w-[24rem]"
25+
className="relative block bg-[length:100%_100%] bg-no-repeat p-0.5 md:max-w-sm"
2626
style={{
2727
backgroundImage: `url(${item.backgroundUrl})`,
2828
}}

components/sections/hero/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ const Hero = (props: Props) => {
6161
src={images.robot}
6262
width={1024}
6363
height={490}
64-
className="w-full translate-y-[8%] scale-[1.7] md:-translate-y-[10%] md:scale-100 lg:-translate-y-[23%]"
64+
className="w-full translate-y-[8%] scale-[1.7] md:translate-y-[-10%] md:scale-100 lg:translate-y-[-23%]"
6565
alt="AI"
6666
/>
6767

6868
<Generating className="absolute inset-x-4 bottom-5 md:bottom-8 md:left-1/2 md:right-auto md:w-[31rem] md:-translate-x-1/2" />
6969

7070
<ScrollParallax isAbsolutelyPositioned>
71-
<ul className="absolute -left-[5.5rem] bottom-[7.5rem] hidden rounded-2xl border border-n-1/10 bg-n-9/40 p-1 backdrop-blur xl:flex">
71+
<ul className="absolute bottom-[7.5rem] left-[-5.5rem] hidden rounded-2xl border border-n-1/10 bg-n-9/40 p-1 backdrop-blur xl:flex">
7272
{heroIcons.map((icon, index) => (
7373
<li className="p-5" key={index}>
7474
<Image src={icon} height={24} width={25} alt={icon} />
@@ -79,7 +79,7 @@ const Hero = (props: Props) => {
7979

8080
<ScrollParallax isAbsolutelyPositioned>
8181
<Notification
82-
className="absolute -right-[5.5rem] bottom-44 hidden w-72 xl:flex"
82+
className="absolute bottom-44 right-[-5.5rem] hidden w-72 xl:flex"
8383
title="Code generation"
8484
/>
8585
</ScrollParallax>

0 commit comments

Comments
 (0)