diff --git a/node_modules/@capacitor/android/capacitor/.classpath b/node_modules/@capacitor/android/capacitor/.classpath new file mode 100644 index 00000000..0a3280e2 --- /dev/null +++ b/node_modules/@capacitor/android/capacitor/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/node_modules/@capacitor/android/capacitor/.project b/node_modules/@capacitor/android/capacitor/.project new file mode 100644 index 00000000..4b5c7f38 --- /dev/null +++ b/node_modules/@capacitor/android/capacitor/.project @@ -0,0 +1,34 @@ + + + capacitor-android + Project capacitor-android created by Buildship. + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.buildship.core.gradleprojectbuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.buildship.core.gradleprojectnature + + + + 1770649924853 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + + diff --git a/node_modules/@capacitor/android/capacitor/.settings/org.eclipse.buildship.core.prefs b/node_modules/@capacitor/android/capacitor/.settings/org.eclipse.buildship.core.prefs new file mode 100644 index 00000000..68c9fab2 --- /dev/null +++ b/node_modules/@capacitor/android/capacitor/.settings/org.eclipse.buildship.core.prefs @@ -0,0 +1,2 @@ +connection.project.dir=../../../../android +eclipse.preferences.version=1 diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index a6c00235..39263ac9 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -87,6 +87,15 @@ export const Hero = ({ onGenerate, generatedSheet, isGenerating }) => { setAge(idea.age); setSelectedSection(validSection); + // Track Surprise Me button click with Umami + if (typeof umami !== 'undefined') { + umami.track('surprise_me_click', { + theme: idea.theme, + age: idea.age, + activity_type: validSection + }); + } + // Auto-generate for surprise - use validSection directly, not state if (onGenerate) { onGenerate({ @@ -116,6 +125,14 @@ export const Hero = ({ onGenerate, generatedSheet, isGenerating }) => { const handleCreate = () => { if (onGenerate && !isGenerating) { + // Track Create Sheet button click with Umami + if (typeof umami !== 'undefined') { + umami.track('create_sheet_click', { + theme: theme || 'empty', + age: age, + activity_type: selectedSection + }); + } onGenerate({ theme, age, sections: [selectedSection] }); } };