mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2025-12-09 04:56:45 +03:00
mobile opt
This commit is contained in:
@@ -113,7 +113,7 @@ export function Screenshots() {
|
|||||||
onTouchMove={onTouchMove}
|
onTouchMove={onTouchMove}
|
||||||
onTouchEnd={onTouchEnd}
|
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>
|
<picture>
|
||||||
<source media="(max-width: 640px)" srcSet={current.mobile} />
|
<source media="(max-width: 640px)" srcSet={current.mobile} />
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const structuredData = {
|
|||||||
<meta name="apple-mobile-web-app-title" content="Gitea Mirror" />
|
<meta name="apple-mobile-web-app-title" content="Gitea Mirror" />
|
||||||
|
|
||||||
<!-- Structured Data -->
|
<!-- 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 -->
|
<!-- Preconnect to external domains -->
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
|||||||
Reference in New Issue
Block a user