From 7b019da1bb9a8de8ff1d1fe6ba17d1d1d9cf05ee Mon Sep 17 00:00:00 2001 From: Oliver Pan <2216991777@qq.com> Date: Mon, 24 Jun 2024 00:33:34 -0500 Subject: [PATCH] chore: linting --- apps/web/components/graphic-visualizer.tsx | 7 +- .../components/visualizer/contact-form.tsx | 50 +++++++------- .../components/visualizer/hero-section.tsx | 69 +++++++------------ .../web/components/visualizer/testimonial.tsx | 7 +- 4 files changed, 59 insertions(+), 74 deletions(-) diff --git a/apps/web/components/graphic-visualizer.tsx b/apps/web/components/graphic-visualizer.tsx index b66b7cc..bd0d912 100644 --- a/apps/web/components/graphic-visualizer.tsx +++ b/apps/web/components/graphic-visualizer.tsx @@ -1,11 +1,12 @@ import SvgGeometry from "@/components/svg/geometry"; -import SvgPattern from "@/components/svg/pattern"; import SvgLanding from "@/components/svg/landing"; import SvgNamecard from "@/components/svg/namecard"; -import SvgArtisticFont from "./svg/artistic-font"; -import DataChart from "./svg/data-chart"; +import SvgPattern from "@/components/svg/pattern"; import { Card } from "@ui/components/card"; import { cn } from "@ui/lib/utils"; + +import SvgArtisticFont from "./svg/artistic-font"; +import DataChart from "./svg/data-chart"; function GraphicVisualizer() { const cardStyle = cn( "flex aspect-[4/3] items-center justify-center p-6 [&>svg]:rounded overflow-hidden", diff --git a/apps/web/components/visualizer/contact-form.tsx b/apps/web/components/visualizer/contact-form.tsx index 35481d8..4443872 100644 --- a/apps/web/components/visualizer/contact-form.tsx +++ b/apps/web/components/visualizer/contact-form.tsx @@ -2,26 +2,26 @@ * v0 by Vercel. * @see https://v0.dev/t/0AwQeZp */ -import { Label } from "@ui/components/label"; -import { Input } from "@ui/components/input"; -import { - SelectValue, - SelectTrigger, - SelectLabel, - SelectItem, - SelectGroup, - SelectContent, - Select, -} from "@ui/components/select"; -import { Textarea } from "@ui/components/textarea"; import { Button } from "@ui/components/button"; import { - CardContent, Card, + CardContent, + CardDescription, CardHeader, CardTitle, - CardDescription, } from "@ui/components/card"; +import { Input } from "@ui/components/input"; +import { Label } from "@ui/components/label"; +import { + Select, + SelectContent, + SelectGroup, + SelectItem, + SelectLabel, + SelectTrigger, + SelectValue, +} from "@ui/components/select"; +import { Textarea } from "@ui/components/textarea"; import { cn } from "@ui/lib/utils"; import { Globe, Mail, Phone } from "lucide-react"; @@ -33,39 +33,39 @@ export default function VisContactForm() {
@@ -80,8 +80,8 @@ export default function VisContactForm() {
Address
@@ -94,8 +94,8 @@ export default function VisContactForm() {
Telephone
@@ -111,8 +111,8 @@ export default function VisContactForm() {
Email
diff --git a/apps/web/components/visualizer/hero-section.tsx b/apps/web/components/visualizer/hero-section.tsx index 0b68fe9..c58c22f 100644 --- a/apps/web/components/visualizer/hero-section.tsx +++ b/apps/web/components/visualizer/hero-section.tsx @@ -1,4 +1,4 @@ -import { cn } from "@ui/lib/utils"; +import { cn } from '@ui/lib/utils' /** * v0 by Vercel. @@ -8,17 +8,17 @@ export default function VisHeroSection() { return (
@@ -28,8 +28,7 @@ export default function VisHeroSection() { Discover Our Unique Features

- Our features are designed to enhance your productivity and - streamline your workflow. + Our features are designed to enhance your productivity and streamline your workflow.

@@ -52,12 +51,9 @@ export default function VisHeroSection() {
-

- Smart Inbox -

+

Smart Inbox

- Our Smart Inbox feature helps you manage your emails - efficiently by prioritizing important emails. + Our Smart Inbox feature helps you manage your emails efficiently by prioritizing important emails.

@@ -79,12 +75,10 @@ export default function VisHeroSection() {
-

- Seamless Integration -

+

Seamless Integration

- Seamless Integration allows you to connect with your - favorite apps and services without leaving your inbox. + Seamless Integration allows you to connect with your favorite apps and services without leaving your + inbox.

@@ -105,12 +99,10 @@ export default function VisHeroSection() {
-

- Advanced Customization -

+

Advanced Customization

- With Advanced Customization, you can personalize your email - client to suit your preferences and work style. + With Advanced Customization, you can personalize your email client to suit your preferences and work + style.

@@ -131,12 +123,9 @@ export default function VisHeroSection() {
-

- Powerful Search -

+

Powerful Search

- Our Powerful Search feature allows you to find any email, - contact, or file in seconds. + Our Powerful Search feature allows you to find any email, contact, or file in seconds.

@@ -157,12 +146,9 @@ export default function VisHeroSection() {
-

- Reliable Security -

+

Reliable Security

- With Reliable Security, your data is always safe and - protected. + With Reliable Security, your data is always safe and protected.

@@ -184,12 +170,9 @@ export default function VisHeroSection() {
-

- Easy Collaboration -

+

Easy Collaboration

- Easy Collaboration allows you to share and edit documents - with your team in real time. + Easy Collaboration allows you to share and edit documents with your team in real time.

@@ -198,5 +181,5 @@ export default function VisHeroSection() { - ); + ) } diff --git a/apps/web/components/visualizer/testimonial.tsx b/apps/web/components/visualizer/testimonial.tsx index d8eb8b1..ed57369 100644 --- a/apps/web/components/visualizer/testimonial.tsx +++ b/apps/web/components/visualizer/testimonial.tsx @@ -1,4 +1,5 @@ import { cn } from "@ui/lib/utils"; + import PeakVentureLogo from "../svg/peak-venture-logo"; export default function VisTestimonials() { @@ -7,14 +8,14 @@ export default function VisTestimonials() {