Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pre-registration link for Android #14

Merged
merged 1 commit into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added landing-page/public/images/android-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added landing-page/public/images/apple-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 20 additions & 8 deletions landing-page/src/components/landing-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,36 @@ export function LandingPage() {
</p>
</div>
<div className="space-x-4">
<a
href="https://play.google.com/store/apps/details?id=com.sa.aceit"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center h-10 px-4 bg-[#458EFF] text-white rounded-md hover:bg-[#3570CC] transition-colors">
<img
src="/images/android-icon.png"
className="h-5 w-5 mr-2"
alt="Android"
/>
<span>Pre-register</span>
</a>
<Popover>
<PopoverTrigger asChild>
<Button className="bg-[#458EFF] text-white">
Download
<Button className="bg-[#458EFF] text-white h-10 inline-flex items-center">
<img
src="/images/apple-icon.png"
className="h-5 w-5"
alt="iOS"
/>
<span>Download</span>
</Button>
</PopoverTrigger>
<PopoverContent className="w-auto">
<div className="text-sm font-semibold">Coming Soon!</div>
<p className="text-xs text-gray-500">
Our app is currently in development.
iOS app is coming to App Store soon.
</p>
</PopoverContent>
</Popover>
<Button
variant="outline"
onClick={() => (location.href = "/#about")}>
Learn More
</Button>
</div>
</div>
</div>
Expand Down
Loading