Skip to content

Commit

Permalink
feat(dashboard): add favicon assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Jun 17, 2024
1 parent ef711ad commit f1f7ab3
Show file tree
Hide file tree
Showing 17 changed files with 267 additions and 1 deletion.
15 changes: 14 additions & 1 deletion dashboard/app/components/layout/Error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,20 @@ const InternalServerError = ({ error }: InternalServerErrorProps) => (
<ErrorPage
label="500"
title="Something went wrong."
description={`We encountered an unexpected error while processing your request. Please report this issue to the developers. ${error ? `Error: ${error}` : ''}`}
description={
<>
We encountered an unexpected error while processing your request. Please
<Anchor
component={Link}
to="https://github.com/medama-io/medama/issues"
className={classes.anchor}
>
report this issue
</Anchor>{' '}
to the developers.
<Text c="red">{error ? `Error: ${error}` : ''}</Text>
</>
}
/>
);

Expand Down
30 changes: 30 additions & 0 deletions dashboard/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,36 @@ export const Document = ({ children }: DocumentProps) => {
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link
rel="icon"
sizes="48x48"
type="image/png"
href="/favicon-48x48.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#17cd8c" />
<meta name="apple-mobile-web-app-title" content="Medama Analytics" />
<meta name="application-name" content="Medama Analytics" />
<meta name="msapplication-TileColor" content="#111111" />
<meta name="theme-color" content="#111111" />
<Meta />
<Links />
<ColorSchemeScript />
Expand Down
Binary file added dashboard/public/android-chrome-192x192.png
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 dashboard/public/android-chrome-512x512.png
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 dashboard/public/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.
10 changes: 10 additions & 0 deletions dashboard/public/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<square310x310logo src="/mstile-310x310.png"/>
<TileColor>#111111</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added dashboard/public/favicon-16x16.png
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 dashboard/public/favicon-32x32.png
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 dashboard/public/favicon-48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dashboard/public/favicon.ico
Binary file not shown.
10 changes: 10 additions & 0 deletions dashboard/public/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 dashboard/public/icon-dark-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions dashboard/public/icon.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 dashboard/public/mstile-150x150.png
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 dashboard/public/mstile-310x310.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
174 changes: 174 additions & 0 deletions dashboard/public/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f1f7ab3

Please sign in to comment.