Skip to content
Merged
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
25 changes: 14 additions & 11 deletions landing/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,8 @@ function App() {
}}
/>
<img
className="absolute top-[14px] right-[14px] cursor-pointer"
className="absolute top-[14px] right-[14px] pointer-events-none"
alt="copy"
onClick={() => {
if (copied) return
setCopied(true)
setTimeout(() => {
setCopied(false)
}, 1000)
navigator.clipboard.writeText("npm install @nfid/identitykit@latest")
}}
src={
copied
? isLightTheme
Expand Down Expand Up @@ -129,8 +121,19 @@ function App() {
</Container>
<Container className="max-w-full flex justify-center">
<img
className="hidden sm:block mt-[-100px] relative sm:max-h-[680px] md:max-h-[900px] lg:max-h-[940px] xl:max-h-[970px]"
src={isLightTheme ? MainImgLight : MainImgDark}
className={clsx(
"hidden mt-[-100px] relative sm:max-h-[680px] md:max-h-[900px] lg:max-h-[940px] xl:max-h-[970px]",
{ "sm:block": isLightTheme }
)}
src={MainImgLight}
alt="Signers modal"
/>
<img
className={clsx(
"hidden mt-[-100px] relative sm:max-h-[680px] md:max-h-[900px] lg:max-h-[940px] xl:max-h-[970px]",
{ "sm:block": !isLightTheme }
)}
src={MainImgDark}
alt="Signers modal"
/>
<img
Expand Down