feat(SW-66, SW-348): search functionality and ui
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
import Blocks from "@/components/Blocks"
|
||||
import Hero from "@/components/Hero"
|
||||
import Intro from "@/components/Intro"
|
||||
import { Blocks } from "@/components/Loyalty/Blocks"
|
||||
import Sidebar from "@/components/Loyalty/Sidebar"
|
||||
import MaxWidth from "@/components/MaxWidth"
|
||||
import Sidebar from "@/components/Sidebar"
|
||||
import Preamble from "@/components/TempDesignSystem/Text/Preamble"
|
||||
import Title from "@/components/TempDesignSystem/Text/Title"
|
||||
import TrackingSDK from "@/components/TrackingSDK"
|
||||
@@ -41,7 +40,9 @@ export default async function LoyaltyPage() {
|
||||
/>
|
||||
) : null}
|
||||
</header>
|
||||
{loyaltyPage.blocks ? <Blocks blocks={loyaltyPage.blocks} /> : null}
|
||||
{loyaltyPage.blocks.length ? (
|
||||
<Blocks blocks={loyaltyPage.blocks} />
|
||||
) : null}
|
||||
</MaxWidth>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user