Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/src/app/[lang]/(mods-pages)/apps/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const AppList = () => {
))}
</div>
{pinnedApps.length == 0 && (
<p className="text-muted-foreground text-center">
<p data-nosnippet className="text-muted-foreground text-center">
{dict.applist.empty_pinned_apps_reminder}
</p>
)}
Expand Down
5 changes: 4 additions & 1 deletion apps/web/src/app/[lang]/(mods-pages)/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export default function Error({
const isSumtingWong = Math.random() < 0.1;

return (
<div className="h-[--content-height] w-full overflow-x-hidden grid place-items-center px-4">
<div
data-nosnippet
className="h-[--content-height] w-full overflow-x-hidden grid place-items-center px-4"
>
<Alert variant="destructive" color="danger">
<AlertOctagon />
<AlertTitle>
Expand Down
5 changes: 4 additions & 1 deletion apps/web/src/app/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ export default function Error({
const finalLang = (lang as string) ?? "zh";

return (
<div className="h-screen w-screen grid place-items-center px-4">
<div
data-nosnippet
className="h-screen w-screen grid place-items-center px-4"
>
<div className="flex flex-col gap-4 max-w-[90vw]">
<div className="flex flex-col md:flex-row gap-4">
<NTHUModsLogo width={64} height={64} />
Expand Down
6 changes: 3 additions & 3 deletions apps/web/src/components/SEOHead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ const SEOHead = ({
content={noindex ? "noindex, nofollow" : "index, follow"}
/>
<link rel="canonical" href={canonicalUrl} />
<link rel="alternate" hreflang="zh" href={zhUrl} />
<link rel="alternate" hreflang="en" href={enUrl} />
<link rel="alternate" hreflang="x-default" href={zhUrl} />
<link rel="alternate" hrefLang="zh-TW" href={zhUrl} />
<link rel="alternate" hrefLang="en" href={enUrl} />
<link rel="alternate" hrefLang="x-default" href={zhUrl} />

<meta property="og:type" content={ogType} />
<meta property="og:title" content={fullTitle} />
Expand Down
Loading
Loading