Skip to content

Commit 3eb0fef

Browse files
committed
Add page titles to all routes
1 parent 4bd93f1 commit 3eb0fef

20 files changed

Lines changed: 140 additions & 0 deletions

app/routes/aes-encryption.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ import { Input } from '../components/ui/input/input';
99
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../components/ui/select/select';
1010
import styles from './aes-encryption.module.css';
1111

12+
export function meta() {
13+
return [
14+
{ title: "AES Encryption - Netveris" },
15+
{ name: "description", content: "Encrypt and decrypt data with AES algorithm" },
16+
];
17+
}
18+
1219
export default function AESEncryption() {
1320
const [mode, setMode] = useState<'encrypt' | 'decrypt'>('encrypt');
1421
const [algorithm, setAlgorithm] = useState('AES-GCM');

app/routes/analyze.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ import { exportAsJSON, exportAsText } from '../utils/export';
1010
import { addToHistory } from '../utils/storage';
1111
import styles from './analyze.module.css';
1212

13+
export function meta() {
14+
return [
15+
{ title: "Security Analyzer - Netveris" },
16+
{ name: "description", content: "Comprehensive security analysis for websites" },
17+
];
18+
}
19+
1320
export default function SecurityAnalyzer() {
1421
const [url, setUrl] = useState('');
1522
const [analysisResult, setAnalysisResult] = useState<SecurityAnalysisResult | null>(null);

app/routes/api-security.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ import { Input } from "~/components/ui/input/input";
77
import { Card } from "~/components/ui/card/card";
88
import styles from "./api-security.module.css";
99

10+
export function meta() {
11+
return [
12+
{ title: "API Security Tester - Netveris" },
13+
{ name: "description", content: "Test API endpoints for security vulnerabilities" },
14+
];
15+
}
16+
1017
interface SecurityTest {
1118
name: string;
1219
status: "passed" | "failed" | "warning";

app/routes/base-converter.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ import { Badge } from "~/components/ui/badge/badge";
66
import { Binary, Copy, Check, Trash2, RefreshCw, ArrowDown } from "lucide-react";
77
import styles from "./base-converter.module.css";
88

9+
export function meta() {
10+
return [
11+
{ title: "Base Converter - Netveris" },
12+
{ name: "description", content: "Convert between binary, hex, decimal, and more" },
13+
];
14+
}
15+
916
type BaseType = "text" | "hex" | "decimal" | "binary" | "octal" | "base64";
1017

1118
interface ConversionResult {

app/routes/caesar-cipher.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ import { Slider } from "~/components/ui/slider/slider";
77
import { RotateCcw, Copy, Check, ArrowRightLeft, Trash2, Zap } from "lucide-react";
88
import styles from "./caesar-cipher.module.css";
99

10+
export function meta() {
11+
return [
12+
{ title: "Caesar Cipher - Netveris" },
13+
{ name: "description", content: "Encrypt and decrypt with Caesar cipher" },
14+
];
15+
}
16+
1017
export default function CaesarCipher() {
1118
const [input, setInput] = useState("");
1219
const [shift, setShift] = useState(13); // Default ROT13

app/routes/color-converter.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ import { Input } from "~/components/ui/input/input";
77
import { Palette, Copy, Check, RefreshCw, Pipette, Plus, Trash2 } from "lucide-react";
88
import styles from "./color-converter.module.css";
99

10+
export function meta() {
11+
return [
12+
{ title: "Color Converter - Netveris" },
13+
{ name: "description", content: "Convert colors between HEX, RGB, HSL, and more" },
14+
];
15+
}
16+
1017
interface ColorValue {
1118
hex: string;
1219
rgb: { r: number; g: number; b: number };

app/routes/cors-checker.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ import { Label } from '../components/ui/label/label';
88
import { Badge } from '../components/ui/badge/badge';
99
import styles from './cors-checker.module.css';
1010

11+
export function meta() {
12+
return [
13+
{ title: "CORS Checker - Netveris" },
14+
{ name: "description", content: "Test and validate CORS configurations" },
15+
];
16+
}
17+
1118
interface CORSResult {
1219
url: string;
1320
status: 'success' | 'error' | 'warning';

app/routes/dashboard.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ import { Button } from '~/components/ui/button/button';
1717
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '~/components/ui/card/card';
1818
import styles from './dashboard.module.css';
1919

20+
export function meta() {
21+
return [
22+
{ title: "Dashboard - Netveris" },
23+
{ name: "description", content: "Your security tools dashboard with usage stats and quick access" },
24+
];
25+
}
26+
2027
export default function Dashboard() {
2128
const [history, setHistory] = useState<ToolHistory[]>([]);
2229
const [favorites, setFavorites] = useState<Favorite[]>([]);

app/routes/data-sanitizer.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ import { Card } from "~/components/ui/card/card";
1010
import { Tabs, TabsContent, TabsList, TabsTrigger } from "~/components/ui/tabs/tabs";
1111
import styles from "./data-sanitizer.module.css";
1212

13+
export function meta() {
14+
return [
15+
{ title: "Data Sanitizer - Netveris" },
16+
{ name: "description", content: "Sanitize and clean user input data" },
17+
];
18+
}
19+
1320
export default function DataSanitizer() {
1421
const [input, setInput] = useState("");
1522
const [output, setOutput] = useState("");

app/routes/docs.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ import { Link } from "react-router";
3333
import { CodeWindow } from "~/components/code-window";
3434
import styles from "./docs.module.css";
3535

36+
export function meta() {
37+
return [
38+
{ title: "Documentation - Netveris" },
39+
{ name: "description", content: "Complete guide to Netveris security tools" },
40+
];
41+
}
42+
3643
export default function Docs() {
3744
return (
3845
<div className={styles.container}>

0 commit comments

Comments
 (0)