mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-31 08:21:03 +00:00
Add meta tags
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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]">
|
||||
|
||||
Reference in New Issue
Block a user