Skip to content

Commit

Permalink
fix: white input box on safari
Browse files Browse the repository at this point in the history
  • Loading branch information
ng-jayson committed Dec 5, 2024
1 parent a095079 commit f1e5c88
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 15 deletions.
40 changes: 26 additions & 14 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,31 @@ const fontSatoshi = localFont({
variable: "--font-satoshi",
});



export const metadata: Metadata = {
metadataBase: new URL("https://mlbb.fyi"),
icons: [
{
rel: "icon",
type: "image/png",
sizes: "32x32",
url: "/favicon.png",
},
{
rel: "apple-touch-icon",
type: "image/png",
sizes: "180x180",
url: "/apple-touch-icon.png",
},
],
// icons: [
// {
// rel: "icon",
// type: "image/x-icon",
// sizes: "16x16",
// url: "/icons/favicon.ico",
// },

// {
// rel: "icon",
// type: "image/svg+xml",
// sizes: "16x16",
// url: "/icons/favicon.svg",
// },
// {
// rel: "apple-touch-icon",
// type: "image/png",
// sizes: "180x180",
// url: "/icons/apple-touch-icon.png",
// },
// ],
title: {
template: "%s - mlbb.fyi",
default: "mlbb.fyi - Elevate Your Mobile Legends Game",
Expand Down Expand Up @@ -137,6 +146,9 @@ export default async function RootLayout({
<body
className={cn("relative mx-auto mb-8 mt-24 bg-deepocean text-cloud")}
>
<link rel="icon" href="/icons/mlbb.ico?v=2" sizes="16x16" type="image/x-icon" />
<link rel="icon" href="/icons/favicon.svg?v=2" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png?v=2" sizes="180x180" />
<ToasterProvider />
<Navbar currentUser={currentUser} />
<div className="relative mx-auto max-w-[1080px] px-4">{children}</div>
Expand Down
2 changes: 1 addition & 1 deletion components/shared/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
return (
<input
className={cn(
"text-xs flex h-10 w-full rounded-lg border border-cloud/10 bg-cloud/5 px-3 py-2 text-sm backdrop-blur-lg placeholder:text-cloud/50 focus:outline-none focus:ring-1 focus:ring-cloud/30 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50",
"text-xs flex h-10 w-full rounded-lg border border-cloud/10 bg-cloud/5 px-3 py-2 text-sm placeholder:text-cloud/50 focus:outline-none focus:ring-1 focus:ring-cloud/30 focus:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50",
className
)}
ref={ref}
Expand Down
Binary file removed public/apple-touch-icon.png
Binary file not shown.
Binary file removed public/favicon.png
Binary file not shown.
Binary file added public/icons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/icons/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/mlbb.ico
Binary file not shown.

1 comment on commit f1e5c88

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for mlbb-fyi ready!

✅ Preview
https://mlbb-qwptrezuz-jinjays.vercel.app

Built with commit f1e5c88.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.