Skip to content

Commit b4a968e

Browse files
committed
update styling
1 parent 2e09b4b commit b4a968e

File tree

4 files changed

+108
-13
lines changed

4 files changed

+108
-13
lines changed

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"plugins": [
3+
"prettier-plugin-tailwindcss"
4+
]
5+
}

app/services/page.tsx

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const services = [
4343

4444
export default function Home() {
4545
return (
46-
<main className="p-6 grid gap-6 md:gap-12 my-12">
46+
<main className="my-12 grid gap-6 p-6 md:gap-12">
4747
<Hero />
4848
<Pricing />
4949
<Testimonials />
@@ -53,8 +53,8 @@ export default function Home() {
5353

5454
const Hero = () => {
5555
return (
56-
<div className="md:max-w-2xl grid gap-4">
57-
<h1 className="text-4xl font-medium sr-only">9d8 Services</h1>
56+
<div className="grid gap-4 md:max-w-2xl">
57+
<h1 className="sr-only text-4xl font-medium">9d8 Services</h1>
5858
<h2 className="text-2xl">Subscription Services offered by 9d8</h2>
5959
<h3>
6060
We offer a variety of subscription services to help you grow your
@@ -67,7 +67,7 @@ const Hero = () => {
6767

6868
const Pricing = () => {
6969
return (
70-
<div className="md:max-w-2xl grid gap-4">
70+
<div className="grid gap-4 md:max-w-2xl">
7171
<h3 className="text-xl">
7272
<Balancer>
7373
Subscriptions to build your business. Pause or cancel anytime.
@@ -78,12 +78,12 @@ const Pricing = () => {
7878
{services.map((service, index) => (
7979
<li
8080
key={index}
81-
className="bg-muted-background p-6 grid gap-4 rounded-lg border bg-accent/25"
81+
className="bg-muted-background grid gap-4 rounded-lg border bg-accent/25 p-6"
8282
>
8383
<h4>{service.name}</h4>
8484
<p className="text-muted-foreground">{service.description}</p>
8585
<p>
86-
<span className="text-muted-foreground text-lg">Starting at</span>{" "}
86+
<span className="text-muted-foreground">Starting at</span>{" "}
8787
{service.price}
8888
</p>
8989
</li>
@@ -95,15 +95,13 @@ const Pricing = () => {
9595

9696
const Testimonials = () => {
9797
return (
98-
<div className="md:max-w-2xl grid gap-4">
99-
<h3 className="text-2xl mb-6">
100-
We&apos;ve worked with some amazing companies.{" "}
101-
</h3>
102-
<ul className="md:flex gap-2 flex-wrap">
98+
<div className="grid gap-4 md:max-w-2xl">
99+
<h3 className="mb-6">We&apos;ve worked with some amazing companies. </h3>
100+
<ul className="flex-wrap gap-2 md:flex">
103101
{companies.map((company, index) => (
104-
<li className="text-2xl" key={index}>
102+
<li className="" key={index}>
105103
<a
106-
className="hover:text-muted-foreground transition-all"
104+
className="transition-all hover:text-muted-foreground"
107105
href={company.link}
108106
>
109107
{company.name} +{" "}

package-lock.json

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"geist": "^1.2.1",
4848
"lucide-react": "^0.311.0",
4949
"next": "^14.2.0",
50+
"prettier-plugin-tailwindcss": "^0.6.1",
5051
"react": "^18.2.0",
5152
"react-day-picker": "^8.10.0",
5253
"react-dom": "^18.2.0",

0 commit comments

Comments
 (0)