-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
f852c82
commit 2915eeb
Showing
11 changed files
with
1,580 additions
and
1,781 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
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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
module.exports = { | ||
/* config options here */ | ||
module.exports = { | ||
/* config options here */ | ||
images: { | ||
remotePatterns: [ | ||
{ | ||
protocol: 'https', | ||
hostname: 's3.devanshbajaj.dev', | ||
port: '', | ||
pathname: '/*', | ||
}, | ||
], | ||
}, | ||
} |
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 |
---|---|---|
@@ -1,52 +1,52 @@ | ||
import "../styles/global.css"; | ||
import { ThemeProvider } from "next-themes"; | ||
import { AnimatePresence } from "framer-motion"; | ||
import Footer from "../components/footer"; | ||
import NextNprogress from "nextjs-progressbar"; | ||
import Head from "next/head"; | ||
import Script from "next/script"; | ||
|
||
function App({ Component, pageProps }) { | ||
return ( | ||
<ThemeProvider | ||
themes={["dark", "light", "nord", "blue"]} | ||
forcedTheme={Component.theme || undefined} | ||
defaultTheme="blue" | ||
> | ||
<Script src="https://scripts.simpleanalyticscdn.com/latest.js" /> | ||
<noscript> | ||
{/* eslint-disable @next/next/no-img-element */} | ||
<img | ||
src="https://queue.simpleanalyticscdn.com/noscript.gif" | ||
alt="" | ||
referrerPolicy="no-referrer-when-downgrade" | ||
/> | ||
</noscript> | ||
<Head> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, maximum-scale=5.0, minimum-scale=0.86" | ||
/> | ||
</Head> | ||
<NextNprogress | ||
color="var(--theme-accent)" | ||
startPosition={0.3} | ||
stopDelayMs={200} | ||
height={4} | ||
showOnShallow={true} | ||
options={{ easing: "ease", speed: 500, showSpinner: false }} | ||
/> | ||
<div className="container"> | ||
<AnimatePresence | ||
initial={false} | ||
onExitComplete={() => window.scrollTo(0, 0)} | ||
> | ||
<Component {...pageProps} /> | ||
</AnimatePresence> | ||
</div> | ||
<Footer /> | ||
</ThemeProvider> | ||
); | ||
} | ||
|
||
export default App; | ||
import "../styles/global.css"; | ||
import { ThemeProvider } from "next-themes"; | ||
import { AnimatePresence } from "framer-motion"; | ||
import Footer from "../components/footer"; | ||
import NextNprogress from "nextjs-progressbar"; | ||
import Head from "next/head"; | ||
import Script from "next/script"; | ||
|
||
function App({ Component, pageProps }) { | ||
return ( | ||
<ThemeProvider | ||
themes={["dark", "light", "nord", "blue"]} | ||
forcedTheme={Component.theme || undefined} | ||
defaultTheme="blue" | ||
> | ||
<Script src="https://scripts.simpleanalyticscdn.com/latest.js" /> | ||
<noscript> | ||
{/* eslint-disable @next/next/no-img-element */} | ||
<img | ||
src="https://queue.simpleanalyticscdn.com/noscript.gif" | ||
alt="" | ||
referrerPolicy="no-referrer-when-downgrade" | ||
/> | ||
</noscript> | ||
<Head> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, maximum-scale=5.0, minimum-scale=0.86" | ||
/> | ||
</Head> | ||
<NextNprogress | ||
color="var(--theme-accent)" | ||
startPosition={0.3} | ||
stopDelayMs={200} | ||
height={4} | ||
showOnShallow={true} | ||
options={{ easing: "ease", speed: 500, showSpinner: false }} | ||
/> | ||
<div className="container"> | ||
<AnimatePresence | ||
initial={false} | ||
onExitComplete={() => window.scrollTo(0, 0)} | ||
> | ||
<Component {...pageProps} /> | ||
</AnimatePresence> | ||
</div> | ||
<Footer /> | ||
</ThemeProvider> | ||
); | ||
} | ||
|
||
export default App; |
Oops, something went wrong.