File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"use client" ;
2- import { Dialog , DialogTrigger , DialogContent } from "@/components/ui/dialog" ;
2+ import {
3+ Dialog ,
4+ DialogTrigger ,
5+ DialogContent ,
6+ DialogTitle ,
7+ } from "@/components/ui/dialog" ;
38import { Button } from "@/components/ui/button" ;
49import AlgoliaSearch from "@/components/algolia-search" ;
510import { FaMagnifyingGlass } from "react-icons/fa6" ;
@@ -29,6 +34,9 @@ export default function AlgoliaDialog() {
2934 </ Button >
3035 </ DialogTrigger >
3136 < DialogContent className = "sm:max-w-screen-lg p-0 sm:px-6 " >
37+ < div className = "hidden" >
38+ < DialogTitle > Search</ DialogTitle >
39+ </ div >
3240 < AlgoliaSearch showFacets = { false } setOpen = { setOpen } />
3341 </ DialogContent >
3442 </ Dialog >
Original file line number Diff line number Diff line change @@ -107,7 +107,14 @@ export default function Buy({
107107 </ >
108108 ) ;
109109
110- const hooray = < > You bought this course or are a Pro π</ > ;
110+ const hooray = (
111+ < >
112+ < DialogHeader >
113+ < DialogTitle > Pro</ DialogTitle >
114+ </ DialogHeader >
115+ You bought this course or are a Pro already π
116+ </ >
117+ ) ;
111118
112119 return (
113120 < >
Original file line number Diff line number Diff line change @@ -141,7 +141,14 @@ export default function GoPro({
141141 </ >
142142 ) ;
143143
144- const hooray = < > You are a Pro π</ > ;
144+ const hooray = (
145+ < >
146+ < DialogHeader >
147+ < DialogTitle > Pro</ DialogTitle >
148+ </ DialogHeader >
149+ You are a Pro already π
150+ </ >
151+ ) ;
145152
146153 return (
147154 < Dialog defaultOpen onOpenChange = { ( open ) => setShowGoPro ( open ) } >
You canβt perform that action at this time.
0 commit comments