-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add campsite links * Optimised images with calibre/image-actions --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
cfb57a1
commit 30ec61a
Showing
9 changed files
with
54 additions
and
6 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 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,24 @@ | ||
import Image from 'next/image' | ||
import Link from 'next/link' | ||
|
||
export function Campsite({ referrer }: { referrer?: string }) { | ||
return ( | ||
<Link | ||
href={`https://campsite.co?ref=brianlovin${referrer}`} | ||
className="flex gap-2 md:gap-3 md:justify-center items-start md:items-center rounded-lg w-full px-4 bg-gray-50 dark:bg-gray-900 dark:border-gray-800 py-3 hover:bg-gray-100 text-tertiary text-balance text-[15px] dark:hover:bg-gray-800" | ||
> | ||
<Image | ||
src="/static/img/desktop-app-icon.png" | ||
alt="Campsite app icon" | ||
width={200} | ||
height={200} | ||
quality={100} | ||
className="flex-none w-7 h-7 self-start" | ||
/> | ||
<span> | ||
<span className="text-primary font-medium">Campsite</span> — your team’s | ||
posts, calls, docs, and chat in one app. Try it for free. | ||
</span> | ||
</Link> | ||
) | ||
} |
This file contains 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 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 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 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