Skip to content

Commit

Permalink
feat(web): landing new
Browse files Browse the repository at this point in the history
  • Loading branch information
kriptonian1 committed Mar 31, 2024
1 parent 675567e commit 28e2361
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default function RootLayout({
}: {
children: React.ReactNode
}): React.JSX.Element {

return (
<html lang="en">
<body>{children}</body>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/secretSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function SecrectSection(): React.JSX.Element {
<div className="p-6">
<h3 className="text-lg font-medium">{heading}</h3>
<span className="text-base text-[#9394A1]">{description}</span>
</div>
</div>
</Card>
)
})}
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/components/shared/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Link from 'next/link'
import { FooterLogoSVG } from '@public/shared'
import { SparklesCore } from '@/components/ui/sparkles'
import EncryptText from '@/components/ui/encrypt-text'
import Link from 'next/link'
// import EncryptButton from '@/components/ui/encrypt-btn'

function Footer(): React.JSX.Element {
Expand Down
4 changes: 4 additions & 0 deletions apps/web/src/components/ui/encrypt-btn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ interface EncryptButtonProps extends HTMLProps<HTMLButtonElement> {
TARGET_TEXT: string
}

function EncryptButton({ TARGET_TEXT }: EncryptButtonProps): React.JSX.Element {
}

function EncryptButton({ TARGET_TEXT }: EncryptButtonProps): React.JSX.Element {
// const TARGET_TEXT = 'Join Waitlist'
const CYCLES_PER_LETTER = 2
Expand All @@ -18,6 +21,7 @@ function EncryptButton({ TARGET_TEXT }: EncryptButtonProps): React.JSX.Element {

const [text, setText] = useState(TARGET_TEXT)

const scramble = (): void => {
const scramble = (): void => {
let pos = 0

Expand Down

0 comments on commit 28e2361

Please sign in to comment.