diff --git a/web/public/media/attention.png b/web/public/media/attention.png new file mode 100644 index 0000000..1f9485b Binary files /dev/null and b/web/public/media/attention.png differ diff --git a/web/public/media/synonyms.png b/web/public/media/synonyms.png new file mode 100644 index 0000000..5a5741a Binary files /dev/null and b/web/public/media/synonyms.png differ diff --git a/web/public/media/translation.png b/web/public/media/translation.png new file mode 100644 index 0000000..0d0293c Binary files /dev/null and b/web/public/media/translation.png differ diff --git a/web/src/App.tsx b/web/src/App.tsx index a1da1c5..74c025f 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -6,6 +6,13 @@ import "bulma/css/bulma.css"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faGithub } from "@fortawesome/free-brands-svg-icons"; +import { + Card, + CardContent, + CardFooter, + CardHeader, + CardTitle, +} from "@/components/ui/card.tsx"; function App() { return ( @@ -80,6 +87,82 @@ function App() { +
+
+
+
+

Key Features

+
+
+ + + Scientific Specificity + + + {"Scientific + + + +

+ Our translator is specialized for scientific content, + handling LaTeX expressions and terminology from arXiv + papers. +

+
+
+
+
+ + + Cross-attention visualization + + + {"Cross-attention + + + +

+ Dynamic hover-highlighting reveals word-to-word + connections between original and translated text. This + feature helps you compare and validate translations + visually, enhancing comprehension between languages. +

+
+
+
+
+ + + Synonyms suggestions + + + {"Synonyms + + + +

+ Hover over translated words to uncover synonyms. Unveil + the model's comprehension, revealing alternate terms and + offering a glimpse into the model's linguistic choices. +

+
+
+
+
+
+
+
+
+
diff --git a/web/src/components/ui/card.tsx b/web/src/components/ui/card.tsx new file mode 100644 index 0000000..afa13ec --- /dev/null +++ b/web/src/components/ui/card.tsx @@ -0,0 +1,79 @@ +import * as React from "react" + +import { cn } from "@/lib/utils" + +const Card = React.forwardRef< + HTMLDivElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +
+)) +Card.displayName = "Card" + +const CardHeader = React.forwardRef< + HTMLDivElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +
+)) +CardHeader.displayName = "CardHeader" + +const CardTitle = React.forwardRef< + HTMLParagraphElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +

+)) +CardTitle.displayName = "CardTitle" + +const CardDescription = React.forwardRef< + HTMLParagraphElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +

+)) +CardDescription.displayName = "CardDescription" + +const CardContent = React.forwardRef< + HTMLDivElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +

+)) +CardContent.displayName = "CardContent" + +const CardFooter = React.forwardRef< + HTMLDivElement, + React.HTMLAttributes +>(({ className, ...props }, ref) => ( +
+)) +CardFooter.displayName = "CardFooter" + +export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }