Skip to content

Commit 987b4e0

Browse files
committed
fixed broken tailwind media query
1 parent 434845e commit 987b4e0

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

src/pages/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function LandingPage() {
6969

7070
{/* Links */}
7171
<section class="py-20 max-w-none bg-gray size-full dark:bg-base-900">
72-
<div className="tw-container max-w-7xl flex flex-col mx-auto gap-y-12 lg:flex-row w-fit lg:w-full lg:justify-between gap-x-12">
72+
<div className="tw-container max-w-7xl flex flex-col mx-auto gap-y-12 lg:flex-row w-fit lg:w-full md:justify-between gap-x-12">
7373
{/* Quick Links */}
7474
<div className="flex flex-col gap-4 w-fit">
7575
<h2 class="font-normal mb-0 lg:mb-8 text-2xl lg:text-3xl">
@@ -124,12 +124,12 @@ function LandingPage() {
124124
<img
125125
src={videoPlaceholder}
126126
alt="revenuecat welcome"
127-
class="size-full mx-auto"
127+
class="size-full mx-auto max-w-[600px] lg:max-w-none"
128128
/>
129129
</div>
130130

131131
<div class="size-full text-center lg:text-left flex flex-col">
132-
<h2 className="text-3xl lg:text-4xl lg:mb-6 max-w-[420px]">
132+
<h2 className="text-3xl lg:text-4xl lg:mb-6 max-w-[420px] mx-auto">
133133
Enable Subscriptions In Your App Today
134134
</h2>
135135
<p className="max-w-[520px] mx-auto lg:mx-0 text-grayLight dark:text-[#e3e3e3] font-body">

src/theme/Footer/index.js

-6
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ function Footer() {
2121
}
2222
const { copyright, links, logo, style } = footer;
2323
return (
24-
// <FooterLayout
25-
// style={style}
26-
// links={links && links.length > 0 && <FooterLinks links={links} />}
27-
// logo={logo && <FooterLogo logo={logo} />}
28-
// copyright={copyright && <FooterCopyright copyright={copyright} />}
29-
// />
3024
<footer class="bg-slate-900 pt-20 pb-4 px-4 doc-lg:px-16">
3125
<div className="flex flex-col items-center gap-16 max-w-xl mx-auto doc-lg:flex-row doc-lg:justify-between w-full doc-lg:max-w-7xl">
3226
<div className="w-fit mx-auto doc-lg:w-full">

tailwind.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ module.exports = {
6262
"'Segoe UI Symbol'",
6363
],
6464
},
65-
},
66-
screens: {
67-
"doc-lg": "997px",
65+
screens: {
66+
"doc-lg": "997px",
67+
},
6868
},
6969
},
7070
plugins: [],

0 commit comments

Comments
 (0)