-
Notifications
You must be signed in to change notification settings - Fork 537
landing wip #1597
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
Merged
Merged
landing wip #1597
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| import { createFileRoute } from "@tanstack/react-router"; | ||
|
|
||
| export const Route = createFileRoute("/_view/downloads")({ | ||
| component: Component, | ||
| }); | ||
|
|
||
| function Component() { | ||
| return ( | ||
| <div className="bg-linear-to-b from-white via-blue-50/20 to-white min-h-screen"> | ||
| <div className="max-w-4xl mx-auto px-4 sm:px-6 py-12"> | ||
| <section className="py-16 sm:py-24 text-center"> | ||
| <div className="space-y-6 max-w-2xl mx-auto"> | ||
| <h1 className="text-4xl sm:text-5xl font-serif tracking-tight"> | ||
| Download Hyprnote | ||
| </h1> | ||
| <p className="text-lg sm:text-xl text-neutral-600"> | ||
| Choose your platform to get started with Hyprnote | ||
| </p> | ||
| </div> | ||
|
|
||
| <div className="grid gap-6 mt-12 max-w-2xl mx-auto"> | ||
| <DownloadCard | ||
| platform="macOS" | ||
| icon="🍎" | ||
| description="For macOS 11.0 or later" | ||
| downloadUrl="#" | ||
| /> | ||
| <DownloadCard | ||
| platform="Windows" | ||
| icon="🪟" | ||
| description="For Windows 10 or later" | ||
| downloadUrl="#" | ||
| /> | ||
| <DownloadCard | ||
| platform="Linux" | ||
| icon="🐧" | ||
| description="For Ubuntu, Debian, and more" | ||
| downloadUrl="#" | ||
| /> | ||
yujonglee marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| </div> | ||
| </section> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| function DownloadCard({ | ||
| platform, | ||
| icon, | ||
| description, | ||
| downloadUrl, | ||
| }: { | ||
| platform: string; | ||
| icon: string; | ||
| description: string; | ||
| downloadUrl: string; | ||
| }) { | ||
| return ( | ||
| <a | ||
| href={downloadUrl} | ||
| className="group flex items-center justify-between p-6 rounded-xl border border-neutral-200 hover:border-blue-300 hover:bg-blue-50/30 transition-all duration-200" | ||
| > | ||
| <div className="flex items-center gap-4 text-left"> | ||
| <span className="text-4xl">{icon}</span> | ||
| <div> | ||
| <h3 className="text-xl font-serif">{platform}</h3> | ||
| <p className="text-sm text-neutral-600">{description}</p> | ||
| </div> | ||
| </div> | ||
| <svg | ||
| xmlns="http://www.w3.org/2000/svg" | ||
| fill="none" | ||
| viewBox="0 0 24 24" | ||
| strokeWidth="1.5" | ||
| stroke="currentColor" | ||
| className="h-6 w-6 text-neutral-400 group-hover:text-blue-600 group-hover:translate-x-1 transition-all" | ||
| > | ||
| <path | ||
| strokeLinecap="round" | ||
| strokeLinejoin="round" | ||
| d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3" | ||
| /> | ||
| </svg> | ||
| </a> | ||
| ); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.