├── env.sample
├── .babelrc
├── public
├── favicon.ico
└── img
│ └── preview.png
├── pages
├── _app.js
├── nominate.js
├── api
│ └── designers.js
├── index.js
└── about.js
├── components
├── Icons
│ ├── CheckSVG.js
│ ├── CloseSVG.js
│ └── FilterSVG.js
├── Analytics.js
├── Nav.js
├── Title.js
├── Metatags.js
└── Filter.js
├── .gitignore
├── package.json
├── README.md
├── assets
└── styles
│ └── modernism.css
└── yarn.lock
/env.sample:
--------------------------------------------------------------------------------
1 | GOOGLE_PRIVATE_KEY=""
2 | GOOGLE_CLIENT_EMAIL=""
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["next/babel"],
3 | "plugins": ["inline-react-svg"]
4 | }
5 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zehfernandes/brazilianswhodesign/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/public/img/preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zehfernandes/brazilianswhodesign/HEAD/public/img/preview.png
--------------------------------------------------------------------------------
/pages/_app.js:
--------------------------------------------------------------------------------
1 | import "../assets/styles/modernism.css";
2 | import { AnimatePresence } from "framer-motion";
3 |
4 | function App({ Component, pageProps }) {
5 | return (
6 |
7 |
8 |
9 | );
10 | }
11 |
12 | export default App;
13 |
--------------------------------------------------------------------------------
/components/Icons/CheckSVG.js:
--------------------------------------------------------------------------------
1 | export default function CheckSVG() {
2 | return (
3 |
9 | );
10 | }
11 |
--------------------------------------------------------------------------------
/components/Icons/CloseSVG.js:
--------------------------------------------------------------------------------
1 | export default function CloseSVG() {
2 | return (
3 |
11 | );
12 | }
13 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # next.js
12 | /.next/
13 | /out/
14 |
15 | # production
16 | /build
17 |
18 | # misc
19 | .DS_Store
20 |
21 | # debug
22 | npm-debug.log*
23 | yarn-debug.log*
24 | yarn-error.log*
25 |
26 | # local env files
27 | .env.local
28 | .env.development.local
29 | .env.test.local
30 | .env.production.local
31 |
32 | .vercel
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "brazilianswhodesign",
3 | "version": "0.1.0",
4 | "private": true,
5 | "scripts": {
6 | "dev": "next dev",
7 | "build": "next build",
8 | "start": "next start"
9 | },
10 | "dependencies": {
11 | "babel-plugin-inline-react-svg": "^1.1.1",
12 | "googleapis": "^91.0.0",
13 | "framer-motion": "^1.11.1",
14 | "js-yaml": "^3.13.1",
15 | "next": "^12.1.0",
16 | "next-absolute-url": "^1.2.2",
17 | "react": "^17.0.2",
18 | "react-dom": "16.13.1"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/components/Analytics.js:
--------------------------------------------------------------------------------
1 | export default function Analytics() {
2 | return (
3 | <>
4 |
8 |
21 | >
22 | );
23 | }
24 |
--------------------------------------------------------------------------------
/components/Icons/FilterSVG.js:
--------------------------------------------------------------------------------
1 | export default function FilterSVG() {
2 | return (
3 |
15 | );
16 | }
17 |
--------------------------------------------------------------------------------
/components/Nav.js:
--------------------------------------------------------------------------------
1 | import Link from "next/link";
2 |
3 | export default function Nav(props) {
4 | return (
5 |
6 | -
7 |
8 | About
9 |
10 |
11 | -
12 |
13 | Nominate
14 |
15 |
16 |
17 |
39 |
40 | );
41 | }
42 |
--------------------------------------------------------------------------------
/components/Title.js:
--------------------------------------------------------------------------------
1 | import { motion } from "framer-motion";
2 |
3 | const container = {
4 | hidden: { opacity: 0 },
5 | show: {
6 | opacity: 1,
7 | transition: {
8 | staggerChildren: 0.04,
9 | },
10 | },
11 | };
12 |
13 | const item = {
14 | hidden: { opacity: 0, y: "5%" },
15 | show: { opacity: 1, y: "0%" },
16 | transition: {
17 | easing: "easeInOut",
18 | },
19 | };
20 |
21 | export default function Title(props) {
22 | const { text, noAnimation } = props;
23 |
24 | return (
25 |
32 | {text.split("").map((l, i) => {
33 | if (l == "*") return
;
34 | return (
35 |
36 | {l}
37 |
38 | );
39 | })}
40 |
41 | );
42 | }
43 |
--------------------------------------------------------------------------------
/pages/nominate.js:
--------------------------------------------------------------------------------
1 | import Head from "next/head";
2 | import Link from "next/link";
3 | import MetaTags from "../components/Metatags.js";
4 | import Analytics from "../components/Analytics.js";
5 |
6 | export default function Nominate({ designers }) {
7 | return (
8 |
9 |
10 |
Brazilians Who Design | Nomiate
11 |
12 |
13 |
14 |
15 |
16 |
{" "}
24 |
28 |
29 |
30 |
31 |
32 |
←
33 |
34 |
53 |
54 | );
55 | }
56 |
--------------------------------------------------------------------------------
/components/Metatags.js:
--------------------------------------------------------------------------------
1 | export default function MetaTags() {
2 | return (
3 | <>
4 |
5 |
6 | {/* */}
7 |
8 |
12 |
13 | {/*