Skip to content

Commit ab37faa

Browse files
committed
Fix icons page
1 parent 32d28a7 commit ab37faa

File tree

5 files changed

+22
-18
lines changed

5 files changed

+22
-18
lines changed

public/favicon.png

2.5 KB
Loading

public/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,19 @@
88
/>
99
<meta
1010
name="description"
11-
content="React Material Admin Full created by Flatlogic CRUD Generator"
11+
content="React Material Admin Full"
1212
/>
1313
<meta name="theme-color" content="#000000" />
1414
<meta name="referrer" content="no-referrer-when-downgrade" />
1515
<link
1616
rel="stylesheet"
1717
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
1818
/>
19-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
19+
<link rel="icon" href="favicon.png" sizes="16x16" type="image/png">
20+
<link rel="icon" href="favicon.png" sizes="32x32" type="image/png">
21+
<link rel="icon" href="favicon.png" sizes="48x48" type="image/png">
22+
<link rel="icon" href="favicon.png" sizes="62x62" type="image/png">
23+
<link rel="icon" href="favicon.png" sizes="80x80" type="image/png">
2024
<!--
2125
manifest.json provides metadata used when your web app is installed on a
2226
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/

src/config.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
const hostApi =
2-
process.env.NODE_ENV === 'development' ? 'http://localhost' : '';
3-
const portApi = process.env.NODE_ENV === 'development' ? 8080 : '';
1+
const hostApi = process.env.NODE_ENV === "development"
2+
? "http://localhost"
3+
: "https://sing-generator-node.herokuapp.com";
4+
const portApi = process.env.NODE_ENV === "development" ? 8080 : "";
45
const baseURLApi = `${hostApi}${portApi ? `:${portApi}` : ``}/api`;
5-
const redirectUrl =
6-
process.env.NODE_ENV === 'development'
7-
? 'http://localhost:3000'
8-
: 'https://flatlogic.github.io/react-material-admin-full';
6+
const redirectUrl = process.env.NODE_ENV === "development" ? "http://localhost:3000" : "https://flatlogic.github.io/react-material-admin-full";
97

108
export default {
119
hostApi,
1210
portApi,
1311
baseURLApi,
1412
redirectUrl,
15-
remote: 'https://sing-generator-node.herokuapp.com',
13+
remote: "https://sing-generator-node.herokuapp.com",
1614
isBackend: process.env.REACT_APP_BACKEND,
1715
auth: {
1816

src/pages/icons/Icons.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useState } from "react";
22
import { Typography, Grid, Tabs, Tab, Paper } from "@mui/material";
33
import * as Icons from "@mui/icons-material";
4-
4+
import Widget from "../../components/Widget";
55
// styles
66
import useStyles from "./styles";
77

@@ -28,8 +28,8 @@ export default function IconsPage() {
2828
<Tab label="Font Awesome" classes={{ root: classes.tab }} />
2929
</Tabs>
3030
{activeTabId === 0 && (
31-
<div>
32-
<Grid container spacing={2} className="icon-list">
31+
<Widget>
32+
<Grid container spacing={2} className={classes.iconList}>
3333
<Grid
3434
className={classes.materailIcon}
3535
item
@@ -12442,12 +12442,12 @@ export default function IconsPage() {
1244212442
</Typography>
1244312443
</Grid>
1244412444
</Grid>
12445-
</div>
12445+
</Widget>
1244612446
)}
1244712447

1244812448
{activeTabId === 1 && (
12449-
<div>
12450-
<Grid container spacing={2} className="icon-list">
12449+
<Widget>
12450+
<Grid container spacing={2} className={classes.iconList}>
1245112451
<Grid
1245212452
className={classes.materailIcon}
1245312453
item
@@ -13613,7 +13613,7 @@ export default function IconsPage() {
1361313613
</Typography>
1361413614
</Grid>
1361513615
</Grid>
13616-
</div>
13616+
</Widget>
1361713617
)}
1361813618
</Paper>
1361913619
</>

src/pages/icons/styles.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ export default makeStyles(theme => ({
55
fontWeight: 600
66
},
77
iconsBar: {
8-
marginBottom: theme.spacing(4),
98
borderBottom: "1px solid",
109
borderBottomColor: theme.palette.text.hint + "80"
1110
},
11+
iconList: {
12+
paddingTop: theme.spacing(2),
13+
},
1214
tab: {
1315
color: theme.palette.primary.light + "CC"
1416
},

0 commit comments

Comments
 (0)