Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions src/components/DocsCalloutQueryGG.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { LogoQueryGGSmall } from '~/components/LogoQueryGGSmall'
import { useQueryGGPPPDiscount } from '~/hooks/useQueryGGPPPDiscount'
import CountdownTimerSmall from '~/components/CountdownTimerSmall'

export function DocsCalloutQueryGG() {
const ppp = useQueryGGPPPDiscount()
Expand All @@ -18,22 +17,13 @@ export function DocsCalloutQueryGG() {
</h6>
<LogoQueryGGSmall className="w-full" />

{/* <blockquote className="text-sm -indent-[.45em] pl-2">
<blockquote className="text-sm -indent-[.45em] pl-2">
“If you’re serious about *really* understanding React Query, there’s
no better way than with query.gg”
<cite className="italic block text-right">—Tanner Linsley</cite>
</blockquote> */}
</blockquote>

{/* <div className="grid justify-center bg-gray-800 dark:bg-gray-100 text-gray-100 dark:text-gray-800 z-10"></div> */}
<div className="p-2 uppercase text-center place-self-center">
<h2 className="mt-1 mb-1 px-2 text-md font-semibold">
Black Friday Sale
</h2>
<p className="normal-case mb-4 text-sm text-balance">
Get 50% off through December 6th
</p>
<CountdownTimerSmall targetDate="2025-12-07" />
</div>
<div className="grid justify-center bg-gray-800 dark:bg-gray-100 text-gray-100 dark:text-gray-800 z-10"></div>

{ppp && (
<>
Expand Down
6 changes: 2 additions & 4 deletions src/routes/_libraries/query.$version.index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import { LazySponsorSection } from '~/components/LazySponsorSection'
import { PartnersSection } from '~/components/PartnersSection'
import { BottomCTA } from '~/components/BottomCTA'
import { StackBlitzEmbed } from '~/components/StackBlitzEmbed'
// import { QueryGGBanner } from '~/components/QueryGGBanner'
import { QueryGGBannerSale } from '~/components/QueryGGBannerSale'
import { QueryGGBanner } from '~/components/QueryGGBanner'
import { queryProject } from '~/libraries/query'
import { Framework, getBranch, getLibrary } from '~/libraries'
import { seo } from '~/utils/seo'
Expand Down Expand Up @@ -60,8 +59,7 @@ function VersionIndex() {
}}
/>
<div className="px-4">
{/* <QueryGGBanner /> */}
<QueryGGBannerSale />
<QueryGGBanner />
</div>

<div className="w-fit mx-auto px-4">
Expand Down
Loading