-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
965 additions
and
3,099 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,9 @@ yarn-error.log* | |
|
||
# Certs | ||
*.pem | ||
|
||
# NextJS | ||
.next | ||
|
||
# Old public folder | ||
public-old/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import * as React from "react"; | ||
import AppBar from "@mui/material/AppBar"; | ||
import Box from "@mui/material/Box"; | ||
import Toolbar from "@mui/material/Toolbar"; | ||
import Typography from "@mui/material/Typography"; | ||
import IconButton from "@mui/material/IconButton"; | ||
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined"; | ||
import { useRouter } from "next/router"; | ||
|
||
export default function SearchAppBar() { | ||
const router = useRouter(); | ||
return ( | ||
<Box sx={{ flexGrow: 1 }}> | ||
<AppBar position="static"> | ||
<Toolbar> | ||
<Box sx={{ flexGrow: 1 }}> | ||
<IconButton | ||
size="large" | ||
edge="start" | ||
color="inherit" | ||
aria-label="FLDb" | ||
sx={{ | ||
mr: 2, | ||
"&.MuiButtonBase-root:hover": { | ||
bgcolor: "transparent", | ||
}, | ||
}} | ||
onClick={() => { | ||
router.push("/"); | ||
}} | ||
> | ||
<Typography variant="h6" noWrap component="div"> | ||
FLDb | ||
</Typography> | ||
</IconButton> | ||
</Box> | ||
|
||
<IconButton | ||
size="large" | ||
edge="start" | ||
color="inherit" | ||
aria-label="about" | ||
sx={{ | ||
ml: 2, | ||
"&.MuiButtonBase-root:hover": { | ||
bgcolor: "transparent", | ||
}, | ||
}} | ||
onClick={() => { | ||
router.push("/about"); | ||
}} | ||
> | ||
<InfoOutlinedIcon /> | ||
</IconButton> | ||
</Toolbar> | ||
</AppBar> | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
reactStrictMode: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import React from "react"; | ||
import { ThemeProvider } from "@mui/system"; | ||
import CssBaseline from "@mui/material/CssBaseline"; | ||
import type { AppProps } from "next/app"; | ||
import HEAD from "next/head"; | ||
|
||
import customTheme from "../components/ui/Theme"; | ||
|
||
function MyApp({ Component, pageProps }: AppProps) { | ||
return ( | ||
<React.Fragment> | ||
<HEAD> | ||
<title>FLDB: Food Lovers Database</title> | ||
<meta charSet="utf-8" /> | ||
<meta | ||
name="description" | ||
content="Food Lovers Database (FLDb)" | ||
key="description" | ||
/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="theme-color" content="#000000" /> | ||
<meta name="viewport" content="initial-scale=1.0, width=device-width" /> | ||
{/* <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> */} | ||
</HEAD> | ||
<CssBaseline /> | ||
<ThemeProvider theme={customTheme}> | ||
<Component {...pageProps} /> | ||
</ThemeProvider> | ||
</React.Fragment> | ||
); | ||
} | ||
|
||
// Only uncomment this method if you have blocking data requirements for | ||
// every single page in your application. This disables the ability to | ||
// perform automatic static optimization, causing every page in your app to | ||
// be server-side rendered. | ||
// | ||
// MyApp.getInitialProps = async (appContext) => { | ||
// // calls page's `getInitialProps` and fills `appProps.pageProps` | ||
// const appProps = await App.getInitialProps(appContext); | ||
// | ||
// return { ...appProps } | ||
// } | ||
|
||
export default MyApp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Html, Head, Main, NextScript } from "next/document"; | ||
|
||
export default function Document() { | ||
return ( | ||
<Html lang="en"> | ||
<Head /> | ||
<body> | ||
<Main /> | ||
<NextScript /> | ||
</body> | ||
</Html> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
14893ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
foodloversdatabase – ./
foodloversdatabase-sureshkumarreddy022-gmailcom.vercel.app
foodloversdatabase-git-main-sureshkumarreddy022-gmailcom.vercel.app
foodloversdatabase.vercel.app