Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
emiriko committed Feb 5, 2024
1 parent f2cd7dc commit aca8b93
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}
run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"trailingComma": "es5",
"singleQuote": true,
"semi": false
}
}
15 changes: 7 additions & 8 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { METADATA, VIEWPORT } from '@/configs'
import type { Metadata } from 'next'
import { AppRouterCacheProvider } from '@mui/material-nextjs/v13-appRouter'
import { ThemeProvider } from '@mui/material/styles';
import theme from '@/styles/theme';
import { ThemeProvider } from '@mui/material/styles'
import theme from '@/styles/theme'

export const metadata: Metadata = {...METADATA, ...VIEWPORT}
export const metadata: Metadata = { ...METADATA, ...VIEWPORT }

export default function RootLayout({
children,
Expand All @@ -14,11 +14,10 @@ export default function RootLayout({
return (
<html lang="en">
<body>
<AppRouterCacheProvider>
<ThemeProvider theme={theme}>
{children} </ThemeProvider>
</AppRouterCacheProvider>
</body>
<AppRouterCacheProvider>
<ThemeProvider theme={theme}>{children} </ThemeProvider>
</AppRouterCacheProvider>
</body>
</html>
)
}
6 changes: 1 addition & 5 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
export default function Home() {
return (
<main>

</main>
)
return <main></main>
}
4 changes: 2 additions & 2 deletions src/configs/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from "./metadata"
export * from "./viewport"
export * from './metadata'
export * from './viewport'
30 changes: 15 additions & 15 deletions src/configs/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
export const METADATA = {
title: {
default: 'Revelio',
template: '%s | Revelio',
title: {
default: 'Revelio',
template: '%s | Revelio',
},
description: 'Event Planner App',
icons: {
icon: ['favicon/favicon-32x32.png', 'favicon/favicon-16x16.png'],
apple: {
href: '/favicon/apple-touch-icon.png',
rel: 'apple-touch-icon',
url: '/',
},
description: 'Event Planner App',
icons: {
icon: ['favicon/favicon-32x32.png', 'favicon/favicon-16x16.png'],
apple: {
href: '/favicon/apple-touch-icon.png',
rel: 'apple-touch-icon',
url: '/',
},
},
manifest: '/favicon/site.webmanifest',
keywords: ['Event', 'Planner', 'App'],
}
},
manifest: '/favicon/site.webmanifest',
keywords: ['Event', 'Planner', 'App'],
}
4 changes: 2 additions & 2 deletions src/configs/viewport.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const VIEWPORT = {
themeColor: '#ffffff',
}
themeColor: '#ffffff',
}
2 changes: 1 addition & 1 deletion src/styles/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ const theme = createTheme({
},
})

export default theme
export default theme

0 comments on commit aca8b93

Please sign in to comment.