Skip to content

Commit 043f43b

Browse files
danielfurtclaude
andcommitted
fix: move Notion integration to Convex and adjust loading GIF position
- Remove hardcoded Notion API key from Deco action (security) - Notion integration runs securely via Convex internalAction using env var - Deploy Convex functions to production (watchful-capybara-907) - Shift loading GIF slightly lower (padding-bottom 25vh -> 15vh) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 04028db commit 043f43b

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

actions/submitActivation.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ export default async function SubmitActivationAction(
3939
marcas: marcas.trim(),
4040
});
4141

42-
// Notion integration is now handled inside Convex (convex/notion.ts)
43-
4442
return {
4543
success: true,
4644
message: "Ativação registrada com sucesso!",

sections/ActivationForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export default function ActivationForm({
186186
</div>
187187

188188
{/* Loading screen */}
189-
<div id="loading-screen" class="absolute inset-0 z-50 flex items-center justify-center" style="background-color: #1D1B1D; padding-bottom: 25vh;">
189+
<div id="loading-screen" class="absolute inset-0 z-50 flex items-center justify-center" style="background-color: #1D1B1D; padding-bottom: 15vh;">
190190
<div class="h-40 lg:h-48" style="mix-blend-mode: screen;">
191191
<img id="loading-gif" src="https://assets.decocache.com/deriva-earth/82ec37fa-e57d-4e56-ac80-f12eea23b03d/animation-ezgif.com-video-to-gif-converter.gif" alt="Loading" style="height: 100%; width: auto;" />
192192
</div>

0 commit comments

Comments
 (0)