mobile opt

This commit is contained in:
Arunavo Ray
2025-07-09 00:37:39 +05:30
parent d6de431902
commit 638554c93a
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ export function Screenshots() {
onTouchMove={onTouchMove}
onTouchEnd={onTouchEnd}
>
<div className="aspect-[16/10] overflow-hidden rounded-lg sm:rounded-2xl bg-card border shadow-lg">
<div className="aspect-[9/16] sm:aspect-[16/10] overflow-hidden rounded-lg sm:rounded-2xl bg-card border shadow-lg">
<picture>
<source media="(max-width: 640px)" srcSet={current.mobile} />
<img

View File

@@ -96,7 +96,7 @@ const structuredData = {
<meta name="apple-mobile-web-app-title" content="Gitea Mirror" />
<!-- Structured Data -->
<script type="application/ld+json" set:html={JSON.stringify(structuredData)} />
<script type="application/ld+json" is:inline set:html={JSON.stringify(structuredData)} />
<!-- Preconnect to external domains -->
<link rel="preconnect" href="https://fonts.googleapis.com" />