chore: adds static files to public folder
This commit is contained in:
parent
49bb57f4cc
commit
32c4be2742
@ -1,7 +1,13 @@
|
|||||||
# alpha.42
|
# alpha.42
|
||||||
|
|
||||||
|
**We're now pre-compiling CSS for faster startup times**
|
||||||
|
|
||||||
We are beginning to optimize the compilation and dev startup performance of Payload 3.0, and the first thing we've done is pre-compiled all SCSS that is required by the Payload admin UI.
|
We are beginning to optimize the compilation and dev startup performance of Payload 3.0, and the first thing we've done is pre-compiled all SCSS that is required by the Payload admin UI.
|
||||||
|
|
||||||
If you started before `alpha.42` and update to this version, you'll see that no styles are loaded. To fix this, take a look at the `/src/app/(payload)/layout.tsx` file within this repo, and note that this file has a new CSS import within it to load all CSS required by the Payload admin panel.
|
If you started before `alpha.42` and update to this version, you'll see that no styles are loaded. To fix this, take a look at the `/src/app/(payload)/layout.tsx` file within this repo, and note that this file has a new CSS import within it to load all CSS required by the Payload admin panel.
|
||||||
|
|
||||||
Simply add this import to your `(payload)/layout.tsx` file, and you'll be back in business.
|
Simply add this import to your `(payload)/layout.tsx` file, and you'll be back in business.
|
||||||
|
|
||||||
|
**We now load all required Payload static files from your Next.js `public` folder**
|
||||||
|
|
||||||
|
In addition to pre-compiling SCSS, we are also shipping static files through the Next.js `/public` folder which will cut down on compilation time as well. Make sure you copy the `public/payload` folder into your repo as well as add the CSS import above.
|
||||||
|
BIN
public/payload/SuisseIntl-Bold.woff
Normal file
BIN
public/payload/SuisseIntl-Bold.woff
Normal file
Binary file not shown.
BIN
public/payload/SuisseIntl-Bold.woff2
Normal file
BIN
public/payload/SuisseIntl-Bold.woff2
Normal file
Binary file not shown.
BIN
public/payload/SuisseIntl-Medium.woff
Normal file
BIN
public/payload/SuisseIntl-Medium.woff
Normal file
Binary file not shown.
BIN
public/payload/SuisseIntl-Medium.woff2
Normal file
BIN
public/payload/SuisseIntl-Medium.woff2
Normal file
Binary file not shown.
BIN
public/payload/SuisseIntl-SemiBold.woff
Normal file
BIN
public/payload/SuisseIntl-SemiBold.woff
Normal file
Binary file not shown.
BIN
public/payload/SuisseIntl-SemiBold.woff2
Normal file
BIN
public/payload/SuisseIntl-SemiBold.woff2
Normal file
Binary file not shown.
BIN
public/payload/SuisseIntl.woff
Normal file
BIN
public/payload/SuisseIntl.woff
Normal file
Binary file not shown.
BIN
public/payload/SuisseIntl.woff2
Normal file
BIN
public/payload/SuisseIntl.woff2
Normal file
Binary file not shown.
15
public/payload/favicon.svg
Normal file
15
public/payload/favicon.svg
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<svg width="260" height="260" viewBox="0 0 260 260" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<style>
|
||||||
|
path {
|
||||||
|
fill: #333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
path {
|
||||||
|
fill: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<path d="M120.59 8.5824L231.788 75.6142V202.829L148.039 251.418V124.203L36.7866 57.2249L120.59 8.5824Z" />
|
||||||
|
<path d="M112.123 244.353V145.073L28.2114 193.769L112.123 244.353Z" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 437 B |
BIN
public/payload/merriweather-v30-latin-900.woff
Normal file
BIN
public/payload/merriweather-v30-latin-900.woff
Normal file
Binary file not shown.
BIN
public/payload/merriweather-v30-latin-900.woff2
Normal file
BIN
public/payload/merriweather-v30-latin-900.woff2
Normal file
Binary file not shown.
BIN
public/payload/merriweather-v30-latin-900italic.woff
Normal file
BIN
public/payload/merriweather-v30-latin-900italic.woff
Normal file
Binary file not shown.
BIN
public/payload/merriweather-v30-latin-900italic.woff2
Normal file
BIN
public/payload/merriweather-v30-latin-900italic.woff2
Normal file
Binary file not shown.
BIN
public/payload/merriweather-v30-latin-italic.woff
Normal file
BIN
public/payload/merriweather-v30-latin-italic.woff
Normal file
Binary file not shown.
BIN
public/payload/merriweather-v30-latin-italic.woff2
Normal file
BIN
public/payload/merriweather-v30-latin-italic.woff2
Normal file
Binary file not shown.
BIN
public/payload/merriweather-v30-latin-regular.woff
Normal file
BIN
public/payload/merriweather-v30-latin-regular.woff
Normal file
Binary file not shown.
BIN
public/payload/merriweather-v30-latin-regular.woff2
Normal file
BIN
public/payload/merriweather-v30-latin-regular.woff2
Normal file
Binary file not shown.
BIN
public/payload/og-image.png
Normal file
BIN
public/payload/og-image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
Loading…
Reference in New Issue
Block a user