File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import GetStartedCode from '@/app/components/GetStartedCode'
77import SideBySideIcons from '@/app/components/SideBySideIcons'
88import { settingsQuery } from '@/sanity/lib/queries'
99import { sanityFetch } from '@/sanity/lib/live'
10+ import { dataAttr } from '@/sanity/lib/utils'
1011
1112export default async function Page ( ) {
1213 const { data : settings } = await sanityFetch ( {
@@ -47,7 +48,17 @@ export default async function Page() {
4748 < SideBySideIcons />
4849 < div className = "container relative mx-auto max-w-2xl pb-20 pt-10 space-y-6 lg:max-w-4xl lg:px-12 flex flex-col items-center" >
4950 < div className = "prose sm:prose-lg md:prose-xl xl:prose-2xl text-gray-700 prose-a:text-gray-700 font-light text-center" >
50- { settings ?. description && < PortableText value = { settings . description } /> }
51+ { settings ?. description && (
52+ < div
53+ data-sanity = { dataAttr ( {
54+ id : settings . _id ,
55+ type : 'settings' ,
56+ path : 'description' ,
57+ } ) . toString ( ) }
58+ >
59+ < PortableText value = { settings . description } />
60+ </ div >
61+ ) }
5162 < div className = "flex items-center flex-col gap-4" >
5263 < GetStartedCode />
5364 < Link
You can’t perform that action at this time.
0 commit comments