Skip to content

Commit

Permalink
[CLIENT] Add Favicon & Title (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
yousinix authored Oct 4, 2020
1 parent f86ee21 commit d4d7fa6
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import App from "next/app";
import React from "react";
import App from "next/app";
import Head from "next/head";
import { BaseProvider } from "baseui";
import { Provider as StyletronProvider } from "styletron-react";
import { Provider as UrqlProvider } from "urql";
Expand All @@ -16,6 +17,9 @@ export default class MainApp extends App {
<UrqlProvider value={urqlClient}>
<StyletronProvider value={styletron} debug={debug} debugAfterHydration>
<BaseProvider theme={ItworxTheme}>
<Head>
<title>ITWorx | TPD</title>
</Head>
<Component {...pageProps} />
</BaseProvider>
</StyletronProvider>
Expand Down
19 changes: 19 additions & 0 deletions client/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,25 @@ class MainDocument extends Document<{ stylesheets: Sheet[] }> {
return (
<Html>
<Head>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.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" />

{this.props.stylesheets.map((sheet, i) => (
<style
className="_styletron_hydrate_"
Expand Down
Binary file added client/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 client/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 client/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.
Binary file added client/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 client/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 client/public/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions client/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

0 comments on commit d4d7fa6

Please sign in to comment.