chore: ttl + styles
This commit is contained in:
parent
7052ee581a
commit
c3cf28179a
6 changed files with 7 additions and 7 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "22.2.2",
|
"version": "22.2.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "22.2.2",
|
"version": "22.2.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cdransf/api-text": "^1.5.0",
|
"@cdransf/api-text": "^1.5.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "22.2.2",
|
"version": "22.2.3",
|
||||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
@import url('./tab-buttons.css');
|
@import url('./tab-buttons.css');
|
||||||
|
@import url('./text-toggle.css');
|
||||||
|
|
||||||
button,
|
button,
|
||||||
.button {
|
.button {
|
||||||
|
|
|
@ -20,6 +20,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button[data-toggle-button] {
|
[data-toggle-content]+button[data-toggle-button]:has(+ table) {
|
||||||
margin-bottom: var(--sizing-base);
|
margin: 0 0 var(--sizing-base);
|
||||||
}
|
}
|
|
@ -35,5 +35,4 @@
|
||||||
@import url('./components/music-chart.css') layer(components);
|
@import url('./components/music-chart.css') layer(components);
|
||||||
@import url('./components/paginator.css') layer(components);
|
@import url('./components/paginator.css') layer(components);
|
||||||
@import url('./components/progress-bar.css') layer(components);
|
@import url('./components/progress-bar.css') layer(components);
|
||||||
@import url('./components/text-toggle.css') layer(components);
|
|
||||||
@import url('./components/theme-toggle.css') layer(components);
|
@import url('./components/theme-toggle.css') layer(components);
|
|
@ -12,7 +12,7 @@ async function handleRequest(request) {
|
||||||
headers: request.headers
|
headers: request.headers
|
||||||
})
|
})
|
||||||
const newHeaders = new Headers(response.headers)
|
const newHeaders = new Headers(response.headers)
|
||||||
newHeaders.set('Cache-Control', 'max-age=2592000')
|
newHeaders.set('Cache-Control', 'max-age=15552000')
|
||||||
|
|
||||||
return new Response(response.body, {
|
return new Response(response.body, {
|
||||||
status: response.status,
|
status: response.status,
|
||||||
|
|
Reference in a new issue