mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
* created with-mongodb, Next.js + MongoDB Co-authored-by: Shania Dhani <[email protected]> Co-authored-by: Michelle Lucero <[email protected]> Co-authored-by: Chi Shing Lee <[email protected]> * Update examples/with-mongodb/README.md Co-authored-by: Tim Neutkens <[email protected]> * modified for dotenv and environment var setup * removed extra instructions on readme, linked it to the MongoDB guides * changes to environment var * replaced document with react logic * removed Pet header * removed isomorphic-unfetch * replaced getInitialProps with getStaticProps (SSG) * removed console log * deleted next.config.js file * fixed prettier styling * fixed link 404 server rendering issue * modified server path for delete/edit * fixed prettier styling * fixed a typo * change .env to .env.local Co-authored-by: Joe Haddad <[email protected]> * fixed typo, change .env to .env.local Co-authored-by: Joe Haddad <[email protected]> * change .env to .env.local Co-authored-by: Joe Haddad <[email protected]> * Update examples/with-mongodb/package.json Co-authored-by: Joe Haddad <[email protected]> * removed dotenv dev dependency Co-authored-by: Joe Haddad <[email protected]> * cleaned up code and instructions * Update examples/with-mongodb/.gitignore Co-authored-by: Luis Alvarez D. <[email protected]> * minor changes to code style and logic * Updated index page and .env.local.example * Updated new page * Don't use SSG for the edit page * Fixed revalidation issue * Use es6 for the model * Updated edit page * Removed VERCEL_URL * Updated readme and renamed env * Added temporal vercel.json * Removed seed until added with a script * Updated package.json * Renamed example in readme * Renamed example * Lint fix Co-authored-by: liulanz <[email protected]> Co-authored-by: Shania Dhani <[email protected]> Co-authored-by: Chi Shing Lee <[email protected]> Co-authored-by: Tim Neutkens <[email protected]> Co-authored-by: sdhani <[email protected]> Co-authored-by: liulanz <[email protected]> Co-authored-by: Joe Haddad <[email protected]> Co-authored-by: Luis Alvarez D. <[email protected]>
40 lines
492 B
CSS
40 lines
492 B
CSS
form {
|
|
width: 90%;
|
|
margin: auto;
|
|
max-width: 550px;
|
|
}
|
|
input,
|
|
form button,
|
|
label {
|
|
display: block;
|
|
}
|
|
form button,
|
|
input,
|
|
textarea {
|
|
outline: none;
|
|
}
|
|
input,
|
|
textarea {
|
|
border: 1px solid rgb(199, 199, 199);
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
font-size: 90%;
|
|
width: 100%;
|
|
height: 30px;
|
|
color: rgb(53, 53, 53);
|
|
}
|
|
textarea {
|
|
height: 50px;
|
|
}
|
|
label {
|
|
margin-top: 10px;
|
|
}
|
|
form button {
|
|
--accent: rgb(0, 162, 255);
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.form-container {
|
|
width: 90%;
|
|
}
|