refactor: rmove tsx prefixes from imports

This commit is contained in:
me
2026-05-08 09:54:28 +05:30
parent 143b992391
commit 55583255bc
7 changed files with 24 additions and 22 deletions
+7 -7
View File
@@ -25,7 +25,7 @@ import { ReactLenis } from "lenis/react";
import { AnimatePresence, motion, useScroll, useTransform } from "motion/react";
import { useEffect, useRef, useState } from "react";
import stamp from "../assets/envelope/stamp.png";
import Logo from "../components/Logo.tsx";
import Logo from "../components/Logo";
import { Modal } from "../components/ui/Modal";
import "@fontsource/kavivanar/index.css";
@@ -35,7 +35,7 @@ import "@fontsource/architects-daughter/index.css";
import { useNavigate } from "react-router-dom";
function HorizontalScroll({ children }: { children: React.ReactNode }) {
const ref = useRef(null);
const ref = useRef<HTMLDivElement>(null);
const { scrollYProgress } = useScroll({ target: ref });
const x = useTransform(scrollYProgress, [0, 1], ["0%", "-50%"]);
@@ -257,7 +257,7 @@ function SpecsSection() {
</a>{" "}
for the <span className="font-hand text-primary">keys</span>.
</h2>
<p className="text-sm md:text-xl leading-relaxed">
<div className="text-sm md:text-xl leading-relaxed">
This means, both the{" "}
<span className="font-display text-info">encryption</span> and{" "}
<span className="font-display text-info">decryption</span> runs on
@@ -288,8 +288,8 @@ function SpecsSection() {
<span className="italic">only you</span>&mdash;hold the very thing
that opens that box,{" "}
<span className="font-mono text-accent">your password</span>.
</p>
<p className="text-xs md:text-lg text-right w-full flex items-center justify-end gap-4 leading-relaxed text-neutral-content/80">
</div>
<div className="text-xs md:text-lg text-right w-full flex items-center justify-end gap-4 leading-relaxed text-neutral-content/80">
<span>
Nothing on the server is readable without your actual password.
<br />
@@ -304,14 +304,14 @@ function SpecsSection() {
(unless this happens)
</a>
</span>
<div className="w-18 h-18 flex shrink-0 items-center justify-center bg-success/20 rounded-full p-0 ">
<div className="w-18 h-18 flex shrink-0 items-center justify-end bg-success/20 rounded-full p-0 ">
<VaultIcon
size={36}
weight="duotone"
className="text-neutral-content"
/>
</div>
</p>
</div>
<button
type={"button"}