mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
cca9dd1297
This PR adds `cms-payload` to the examples folder. The demo provides a NextJS frontend, built with Payload, which can be deployed together in a single instance. ### Improving Documentation or adding/fixing Examples - [x] The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - [x] Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md --------- Co-authored-by: Lee Robinson <me@leerob.io> Co-authored-by: JJ Kasper <jj@jjsweb.site>
33 lines
553 B
SCSS
33 lines
553 B
SCSS
$breakpoint-xs-width: 400px;
|
|
$breakpoint-s-width: 768px;
|
|
$breakpoint-m-width: 1024px;
|
|
$breakpoint-l-width: 1440px;
|
|
|
|
////////////////////////////
|
|
// MEDIA QUERIES
|
|
/////////////////////////////
|
|
|
|
@mixin extra-small-break {
|
|
@media (max-width: #{$breakpoint-xs-width}) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin small-break {
|
|
@media (max-width: #{$breakpoint-s-width}) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin mid-break {
|
|
@media (max-width: #{$breakpoint-m-width}) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin large-break {
|
|
@media (max-width: #{$breakpoint-l-width}) {
|
|
@content;
|
|
}
|
|
}
|