-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(site): render local assets, change email, and render press
- Loading branch information
Showing
40 changed files
with
1,365 additions
and
2,120 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 |
---|---|---|
@@ -1,21 +1,16 @@ | ||
/* eslint-disable */ | ||
const withLess = require('@zeit/next-less'); | ||
|
||
module.exports = withLess({ | ||
module.exports = { | ||
distDir: 'build/dist', | ||
generateBuildId: async () => 'api-homepage', | ||
webpack: (config, { isServer }) => { | ||
plugins: [], | ||
webpack: (config) => { | ||
config.module.rules.push({ | ||
test: /\.svg$/, | ||
use: ['@svgr/webpack'] | ||
use: ['@svgr/webpack'], | ||
}); | ||
// Fixes npm packages that depend on `fs` module | ||
if (!isServer) { | ||
config.node = { | ||
fs: 'empty' | ||
} | ||
} | ||
|
||
return config | ||
} | ||
}); | ||
config.module.rules.push({ | ||
test: /\.(png|jpe?g|gif|woff|woff2|eot|ttf|otf)$/, | ||
use: 'file-loader', | ||
}); | ||
return config; | ||
}, | ||
}; |
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,7 +1,8 @@ | ||
/* eslint-disable */ | ||
// If you want to use other PostCSS plugins, see the following: | ||
// https://tailwindcss.com/docs/using-with-preprocessors | ||
module.exports = { | ||
plugins: [ | ||
require('tailwindcss'), | ||
require('autoprefixer'), | ||
], | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
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,36 @@ | ||
@font-face { | ||
font-family: 'Silka'; | ||
src: url('./public/fonts/silka-regular-webfont.eot'); | ||
src: url('./public/fonts/silka-regular-webfont.eot?#iefix') format('embedded-opentype'), | ||
url('./public/fonts/silka-regular-webfont.woff2') format('woff2'), | ||
url('./public/fonts/silka-regular-webfont.woff') format('woff'), | ||
url('./public/fonts/silka-regular-webfont.ttf') format('truetype'); | ||
font-weight: normal; | ||
|
||
} | ||
|
||
@font-face { | ||
font-family: 'Silka'; | ||
src: url('./public/fonts/silka-bold-webfont.eot'); | ||
src: url('./public/fonts/silka-bold-webfont.eot?#iefix') format('embedded-opentype'), | ||
url('./public/fonts/silka-bold-webfont.woff2') format('woff2'), | ||
url('./public/fonts/silka-bold-webfont.woff') format('woff'), | ||
url('./public/fonts/silka-bold-webfont.ttf') format('truetype'); | ||
font-weight: 700; | ||
|
||
} | ||
|
||
@font-face { | ||
font-family: 'Silka'; | ||
src: url('./public/fonts/silka-black-webfont.eot'); | ||
src: url('./public/fonts/silka-black-webfont.eot?#iefix') format('embedded-opentype'), | ||
url('./public/fonts/silka-black-webfont.woff2') format('woff2'), | ||
url('./public/fonts/silka-black-webfont.woff') format('woff'), | ||
url('./public/fonts/silka-black-webfont.ttf') format('truetype'); | ||
font-weight: 900; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Inter'; | ||
src: url('./public/fonts/Inter/Inter-VariableFont_slnt\,wght.ttf'); | ||
} |
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,5 @@ | ||
import React from 'react'; | ||
|
||
export default () => <div>whoops</div>; | ||
const Error = () => <div>whoops</div>; | ||
|
||
export default Error; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,50 @@ | ||
import React from 'react'; | ||
import NigerianTribune from '../../../public/icons/nigerianTribune.svg'; | ||
import UmuIgboUnite from '../../../public/icons/umuIgboUnite.svg'; | ||
import BuiltInAfrica from '../../../public/icons/builtInAfrica.svg'; | ||
import Nuesroom from '../../../public/icons/nuesroom.svg'; | ||
import WeDeyCode from '../../../public/icons/weDeyCode.svg'; | ||
|
||
const NIGERIAN_TRIBUNE = ( | ||
`https://tribuneonlineng.com/why-i-created-first-igbo-english- | ||
online-open-to-contribute-dictionary-app-ijemma-onwuzulike/` | ||
); | ||
const UIU = ( | ||
'https://www.ozisco.com/tag/nkowa-okwu/' | ||
); | ||
const BUILT_IN_AFRICA = ( | ||
'https://www.builtinafrica.io/blog-post/ijemma-onwuzulike-igbo-api' | ||
); | ||
const NUESROOM = ( | ||
'https://neusroom.com/her-igbo-parents-didnt-teach-her-the-language-so-ijemma-onwuzulike-built-her-own-dictionary/' | ||
); | ||
const WEDEYCODE = ( | ||
'https://www.youtube.com/watch?v=kjHi7p1j-ts' | ||
); | ||
|
||
const MentionedIn = () => ( | ||
<div className="mentioned-in w-full flex justify-center items-center lg:py-24"> | ||
<div | ||
className={`w-full lg:w-10/12 flex flex-col md:flex-row | ||
flex-wrap items-center justify-evenly`} | ||
> | ||
<a href={NIGERIAN_TRIBUNE} target="_blank" rel="noreferrer"> | ||
<NigerianTribune alt="Nigerian Tribune logo" /> | ||
</a> | ||
<a href={UIU} target="_blank" rel="noreferrer"> | ||
<UmuIgboUnite alt="Umu Igbo Unite logo" /> | ||
</a> | ||
<a href={BUILT_IN_AFRICA} target="_blank" rel="noreferrer"> | ||
<BuiltInAfrica alt="Built in Africa logo" /> | ||
</a> | ||
<a href={NUESROOM} target="_blank" rel="noreferrer"> | ||
<Nuesroom alt="Nuesroom logo" /> | ||
</a> | ||
<a href={WEDEYCODE} target="_blank" rel="noreferrer"> | ||
<WeDeyCode alt="WeDeyCode logo" /> | ||
</a> | ||
</div> | ||
</div> | ||
); | ||
|
||
export default MentionedIn; |
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 @@ | ||
import MentionedIn from './MentionedIn'; | ||
|
||
export default MentionedIn; |
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
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.