Skip to content

Commit

Permalink
fix mobile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed Jan 21, 2025
1 parent 566c161 commit 9b2132c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const DNASection = () => {
context={
<div className="flex flex-col gap-y-8">
<Grid
className="relative z-10 grid-cols-2 text-xs md:grid-cols-4"
className="relative z-10 hidden grid-cols-2 text-xs md:grid md:grid-cols-4"
items={[
<span
key="a"
Expand Down Expand Up @@ -43,7 +43,7 @@ export const DNASection = () => {
]}
/>
<Grid
className="grid-cols-2 text-xs md:grid-cols-4 [&>*]:aspect-auto"
className="hidden grid-cols-2 text-xs md:grid md:grid-cols-4 [&>*]:aspect-auto"
items={[
<span key="e">@polar-sh/nextjs</span>,
<span key="f">@polar-sh/fastify</span>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const SlackEntitlement = new EntitlementStrategy()
.revoke(async ctx => slackClient.admin.users.remove(...));
export const POST = Webhooks({
webhookSecret: process.env.WEBHOOK_SECRET,
webhookSecret: process.env.POLAR_WEBHOOK_SECRET,
entitlements: Entitlements.use('slack', SlackEntitlement)
});
`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const IndexSection = () => {
title="Integrating payments is a mess"
context={
<Console
className="flex aspect-video max-w-lg flex-grow"
className="flex aspect-video flex-grow md:max-w-lg"
title="Terminal"
input="> i want to sell my saas online, how to?"
output={`1. Create a Stripe Account
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const OpenSourceSection = () => {
title="Building in public"
context={
<Console
className="flex aspect-video max-w-lg flex-grow"
className="flex aspect-video flex-grow md:max-w-lg"
title="zsh"
input="~/ % git clone [email protected]:polarsource/polar.git"
output="Cloning Polar..."
Expand Down

0 comments on commit 9b2132c

Please sign in to comment.