Skip to content

Commit 65965c9

Browse files
authored
Merge pull request #10 from AlekShu/bb-314e
2 parents b5a1687 + 0c506ea commit 65965c9

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

src/pages/HomePage/HomePage.tsx

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ export const HomePage = (props: HomePageProps) => {
214214
Monitor trends, track changes, and make informed decisions about your wellness.
215215
</p>
216216

217+
<span className='mt-4 inline-flex items-center gap-1.5 py-1 px-3 rounded-full border border-indigo-200 bg-indigo-50 text-xs font-medium text-indigo-700'>
218+
🤖 AI-friendly: export structured data you can hand to any AI agent
219+
</span>
220+
217221
<div className='mt-4 flex justify-center gap-4 sm:mt-6'>
218222
<Link
219223
className='inline-block rounded border border-indigo-600 bg-indigo-600 py-3 px-4 font-medium text-white shadow-sm transition-all hover:bg-indigo-700 hover:text-white hover:scale-105 active:scale-95'
@@ -247,6 +251,26 @@ export const HomePage = (props: HomePageProps) => {
247251
<div className='max-w-4xl mx-auto'>
248252
<div className='grid md:grid-cols-2 gap-6 lg:gap-12'>
249253
<div className='space-y-6 lg:space-y-10'>
254+
<div className='flex gap-x-5 sm:gap-x-8'>
255+
<svg className='shrink-0 mt-2 size-8 text-gray-800' xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' strokeWidth='2' strokeLinecap='round' strokeLinejoin='round'>
256+
<path d='M12 8V4H8'/>
257+
<rect width='16' height='12' x='4' y='8' rx='2'/>
258+
<path d='M2 14h2'/>
259+
<path d='M20 14h2'/>
260+
<path d='M15 13v2'/>
261+
<path d='M9 13v2'/>
262+
</svg>
263+
<div className='grow'>
264+
<h3 className='text-base sm:text-lg font-semibold text-gray-800'>
265+
AI-Friendly Export
266+
</h3>
267+
<p className='mt-1 text-gray-600'>
268+
Export your full biomarker history with values, units, and reference ranges intact.
269+
Hand the file to ChatGPT, Claude, or any AI agent — no manual retyping.
270+
</p>
271+
</div>
272+
</div>
273+
250274
<div className='flex gap-x-5 sm:gap-x-8'>
251275
<svg className='shrink-0 mt-2 size-8 text-gray-800' xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' strokeWidth='2' strokeLinecap='round' strokeLinejoin='round'>
252276
<path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/>
@@ -683,6 +707,33 @@ export const HomePage = (props: HomePageProps) => {
683707
)}
684708
</div>
685709

710+
<div className='pt-6 pb-3'>
711+
<button
712+
className='group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 focus:outline-none focus:text-gray-500'
713+
onClick={() => {
714+
captureEvent(posthog, 'homepage_faq_toggled', {
715+
faqId: '6',
716+
isOpen: openFaq !== '6',
717+
})
718+
setOpenFaq(openFaq === '6' ? null : '6')
719+
}}
720+
>
721+
Can I use my data with ChatGPT, Claude, or other AI tools?
722+
<svg className={`shrink-0 size-5 text-gray-600 ${openFaq === '6' ? 'rotate-180' : ''} transition-transform`} xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' strokeWidth='2' strokeLinecap='round' strokeLinejoin='round'>
723+
<path d='m6 9 6 6 6-6'/>
724+
</svg>
725+
</button>
726+
{openFaq === '6' && (
727+
<div className='w-full overflow-hidden transition-all duration-300'>
728+
<p className='text-gray-600'>
729+
Yes. Exporting your data gives you every biomarker with its values, units, and reference
730+
ranges in a clean, structured format — no proprietary lock-in, so you can hand it to
731+
ChatGPT, Claude, or any AI agent.
732+
</p>
733+
</div>
734+
)}
735+
</div>
736+
686737
<div className='pt-6 pb-3'>
687738
<button
688739
className='group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 focus:outline-none focus:text-gray-500'

0 commit comments

Comments
 (0)