Skip to content

Commit

Permalink
Add github button
Browse files Browse the repository at this point in the history
  • Loading branch information
minimal-ui-kit committed Aug 24, 2024
1 parent ca6ff82 commit af5777d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@

## Upgrade to PRO Version

| Minimal Free | [Minimal Pro](https://material-ui.com/store/items/minimal-dashboard/) |
| :----------- | :------------------------------------------------------------------------------------------------------- |
| **6** Pages | **70+** Pages |
| - | **Next.js** version |
| - | **TypeScript** version (Standard Plus and Extended license) |
| - | Design **Figma** file (Standard Plus and Extended license) |
| - | Authentication with **Amplify**, **Auth0**, **JWT**, **Firebase** and **Supabase** |
| - | Light/dark mode, Right-to-left, form validation... ([+more components](https://minimals.cc/components) ) |
| - | Complete users flows |
| - | 1 year of free updates / 6 months of technical support |
| - | Learn more: [Package & license](https://docs.minimals.cc/package) |
| Minimal Free | [Minimal Pro](https://material-ui.com/store/items/minimal-dashboard/) |
| :----------- | :------------------------------------------------------------------------------------------------------ |
| **6** Pages | **70+** Pages |
| - | **Next.js** version |
| - | **TypeScript** version (Standard Plus and Extended license) |
| - | Design **Figma** file (Standard Plus and Extended license) |
| - | Authentication with **Amplify**, **Auth0**, **JWT**, **Firebase** and **Supabase** |
| - | Light/dark mode, Right-to-left, form validation... ([+more components](https://minimals.cc/components)) |
| - | Complete users flows |
| - | 1 year of free updates / 6 months of technical support |
| - | Learn more: [Package & license](https://docs.minimals.cc/package) |

## License

Expand Down
25 changes: 25 additions & 0 deletions src/app.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,44 @@
import 'src/global.css';

import Fab from '@mui/material/Fab';

import { Router } from 'src/routes/sections';

import { useScrollToTop } from 'src/hooks/use-scroll-to-top';

import { ThemeProvider } from 'src/theme/theme-provider';

import { Iconify } from 'src/components/iconify';

// ----------------------------------------------------------------------

export default function App() {
useScrollToTop();

const githubButton = (
<Fab
size="medium"
aria-label="Github"
href="https://github.com/minimal-ui-kit/material-kit-react"
sx={{
zIndex: 9,
right: 20,
bottom: 20,
width: 44,
height: 44,
position: 'fixed',
bgcolor: 'grey.800',
color: 'common.white',
}}
>
<Iconify width={24} icon="eva:github-fill" />
</Fab>
);

return (
<ThemeProvider>
<Router />
{githubButton}
</ThemeProvider>
);
}

0 comments on commit af5777d

Please sign in to comment.