This file contains hidden or 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
| const multer = require('multer') | |
| const path = require('path') | |
| const crypto = require('crypto') | |
| module.exports = { | |
| dest: path.resolve(__dirname, '..', '..', 'tmp', 'uploads'), | |
| storage: multer.diskStorage({ | |
| destination: (req, file, done) => { | |
| done(null, path.resolve(__dirname, '..', '..', 'tmp', 'uploads')) | |
| }, |
This file contains hidden or 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
| import styled, { css } from "styled-components"; | |
| export const Container = styled.div` | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| padding-top: 60px; | |
| `; | |
| export const Title = styled.h1` |