Skip to content

feat: add quests banner and bump sdk to 0.2.3#66

Merged
marcvelmer merged 1 commit into
mainfrom
f/quests_banner
Apr 7, 2026
Merged

feat: add quests banner and bump sdk to 0.2.3#66
marcvelmer merged 1 commit into
mainfrom
f/quests_banner

Conversation

@marcvelmer

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

@github-actions github-actions Bot temporarily deployed to pull request March 31, 2026 10:54 Inactive

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a new announcement banner component to promote the DAVINCI Quests application and bumps the SDK version to 0.2.3. The changes include a new reusable QuestsAnnouncementBanner component that displays promotional content with a call-to-action button linking to the quests platform, integrated into the home page below the main header.

Changes:

  • Add new QuestsAnnouncementBanner component with responsive design and external link to the quests platform
  • Integrate the banner into the HomePage below the page header
  • Bump @vocdoni/davinci-sdk dependency from 0.2.2 to 0.2.3

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/components/quests-announcement-banner.tsx New announcement banner component with responsive layout, external link, and consistent styling
src/pages/HomePage.tsx Imports and renders the new QuestsAnnouncementBanner component in the page layout
package.json Updates SDK version from ~0.2.2 to ~0.2.3
pnpm-lock.yaml Updates lock file to reflect SDK version change and dependency adjustments
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +4
import { ExternalLink } from 'lucide-react'
import { Button } from '~components/ui/button'
import { Card, CardContent, CardTitle } from '~components/ui/card'
import { cn } from '~lib/utils'

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The component uses client-side UI components (Card, Button, CardTitle from '~components/ui') which all have the 'use client' directive. For consistency with similar components in the codebase (like DavinciInfoCard), and to ensure proper Next.js app router behavior, add the 'use client' directive at the top of this file.

Copilot uses AI. Check for mistakes.
@marcvelmer marcvelmer merged commit 69b6239 into main Apr 7, 2026
6 checks passed
@marcvelmer marcvelmer deleted the f/quests_banner branch April 7, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants