-
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.
Merge pull request #1 from dev-generator/folder-restructure
Folder restructure
- Loading branch information
Showing
22 changed files
with
56 additions
and
36 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 was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const faqs = [ | ||
const faqs = [ | ||
{ | ||
id: 1, | ||
question: 'Is this secure?', | ||
|
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,4 +1,4 @@ | ||
export const generators = [ | ||
const generators = [ | ||
{ | ||
id: 'ruby-gems', | ||
name: 'Ruby Gems', | ||
|
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,4 +1,4 @@ | ||
export const people = [ | ||
const people = [ | ||
{ | ||
name: 'Christopher Pezza', | ||
role: 'Lead Developer', | ||
|
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,46 @@ | ||
import '@/styles/globals.css' | ||
import Head from 'next/head' | ||
import Router from 'next/router' | ||
import ProgressBar from '@badrap/bar-of-progress' | ||
|
||
const progress = new ProgressBar({ | ||
size: 2, | ||
color: '#22D3EE', | ||
className: 'bar-of-progress', | ||
delay: 100, | ||
}) | ||
|
||
// this fixes safari jumping to the bottom of the page | ||
// when closing the search modal using the `esc` key | ||
if (typeof window !== 'undefined') { | ||
progress.start() | ||
progress.finish() | ||
} | ||
|
||
Router.events.on('routeChangeStart', progress.start) | ||
Router.events.on('routeChangeComplete', () => { | ||
progress.finish() | ||
window.scrollTo(0, 0) | ||
}) | ||
Router.events.on('routeChangeError', progress.finish) | ||
|
||
function App({ Component, pageProps }) { | ||
return ( | ||
<> | ||
<Head> | ||
<meta | ||
name="description" | ||
content="Generate files for various linters, base files, etc. without having to manually create or remember every available input that has to go into a file." | ||
/> | ||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> | ||
<link rel="manifest" href="/site.webmanifest" /> | ||
<link rel="icon" href="/favicon.ico" /> | ||
</Head> | ||
<Component {...pageProps} /> | ||
</> | ||
) | ||
} | ||
|
||
export default App |
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.
File renamed without changes.
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