Add meta tags

This commit is contained in:
momo5502
2025-04-22 17:06:37 +02:00
parent c72eb5083e
commit 79303a5ba4
4 changed files with 32 additions and 3 deletions

View File

@@ -2,8 +2,23 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="https://momo5502.com/emulator/pinata.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Maurice Heumann">
<link rel="icon" type="image/png" href="https://momo5502.com/emulator/pinata.png" />
<title>Sogen - Windows User Space Emulator</title>
<meta name="description" content="Sogen is a high-performance Windows user space emulator operating at syscall level that can emulate windows processes. It is ideal for security-, DRM- or malware research." data-react-helmet="true" />
<meta property="og:site_name" content="Sogen - Windows User Space Emulator" data-react-helmet="true" />
<meta property="og:title" content="Sogen - Windows User Space Emulator" data-react-helmet="true" />
<meta property="og:description" content="Sogen is a high-performance Windows user space emulator operating at syscall level that can emulate windows processes. It is ideal for security-, DRM- or malware research." data-react-helmet="true" />
<meta property="og:locale" content="en-us" data-react-helmet="true" />
<meta property="og:type" content="website" data-react-helmet="true" />
<meta name="og:image" content="https://repository-images.githubusercontent.com/842883987/9e56f43b-4afd-464d-85b9-d7e555751a39" data-react-helmet="true" />
<meta name="twitter:card" content="summary" data-react-helmet="true" />
<meta name="twitter:title" content="Sogen - Windows User Space Emulator" data-react-helmet="true" />
<meta name="twitter:description" content="Sogen is a high-performance Windows user space emulator operating at syscall level that can emulate windows processes. It is ideal for security-, DRM- or malware research." data-react-helmet="true" />
<meta name="twitter:image" content="https://repository-images.githubusercontent.com/842883987/9e56f43b-4afd-464d-85b9-d7e555751a39" data-react-helmet="true" />
</head>
<body>
<div id="root"></div>

View File

@@ -2,12 +2,26 @@ import { Helmet } from 'react-helmet';
export interface HeaderProps {
title: string;
description: string;
}
const image = "https://repository-images.githubusercontent.com/842883987/9e56f43b-4afd-464d-85b9-d7e555751a39";
export function Header(props: HeaderProps) {
return (
<Helmet>
<title>{props.title}</title>
<meta name="description" content={props.description} />
<meta property="og:site_name" content={props.title} />
<meta property="og:title" content={props.title} />
<meta property="og:description" content={props.description} />
<meta property="og:locale" content="en-us" />
<meta property="og:type" content="website" />
<meta name="og:image" content={image} />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content={props.title} />
<meta name="twitter:description" content={props.description} />
<meta name="twitter:image" content={image} />
</Helmet>
);
}

View File

@@ -54,7 +54,7 @@ export function LandingPage() {
return (
<>
<Header title="Sogen - Windows User Space Emulator" />
<Header title="Sogen - Windows User Space Emulator" description="Sogen is a high-performance Windows user space emulator operating at syscall level that can emulate windows processes. It is ideal for security-, DRM- or malware research." />
<div className="flex flex-col min-h-screen">
{/* Hero Section */}
<header className="bg-gradient-to-r from-blue-600 to-cyan-500 py-16 md:py-24">

View File

@@ -97,7 +97,7 @@ export function Playground() {
return (
<>
<Header title="Playground - Sogen" />
<Header title="Playground - Sogen" description="Playground to test and run Sogen, the Windows user space emulator, right in your browser." />
<SidebarProvider defaultOpen={false}>
<AppSidebar />
<SidebarInset className="h-[100dvh]">