mirror of
https://github.com/mat-1/matdoesdev.git
synced 2025-08-02 06:36:04 +00:00
css fixes
This commit is contained in:
parent
753a55f5b0
commit
f10bbaca40
4 changed files with 28 additions and 6 deletions
|
@ -33,6 +33,7 @@
|
|||
"type": "module",
|
||||
"dependencies": {
|
||||
"@lukeed/uuid": "^2.0.0",
|
||||
"@sveltejs/adapter-node": "^1.0.0-next.0",
|
||||
"@sveltejs/adapter-static": "^1.0.0-next.21",
|
||||
"@types/js-yaml": "^4.0.4",
|
||||
"cookie": "^0.4.1",
|
||||
|
|
|
@ -29,7 +29,9 @@
|
|||
</script>
|
||||
|
||||
<div class="article-container">
|
||||
<a href="/blog" class="back-anchor">← Back</a>
|
||||
<nav>
|
||||
<a href="/blog" class="back-anchor">← Back</a>
|
||||
</nav>
|
||||
<article>
|
||||
<h1>{title}</h1>
|
||||
{@html html}
|
||||
|
@ -43,7 +45,7 @@
|
|||
}
|
||||
|
||||
.back-anchor {
|
||||
color: inherit;
|
||||
color: var(--text-color-alt-2);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<script context="module" lang="ts">
|
||||
export const prerender = true
|
||||
export const hydrate = false
|
||||
export const router = false
|
||||
// export const router = false
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
|
@ -12,9 +12,9 @@
|
|||
onMount(async () => {
|
||||
const titleContent = titleEl.textContent ?? ''
|
||||
titleEl.textContent = ''
|
||||
for (let i = 0; i < titleContent.length; i++) {
|
||||
await new Promise((r) => setTimeout(r, 100))
|
||||
titleEl.textContent = titleContent.slice(i)
|
||||
for (let i = 1; i <= titleContent.length; i++) {
|
||||
await new Promise((r) => setTimeout(r, 40))
|
||||
titleEl.textContent = titleContent.slice(0, i)
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
|
19
yarn.lock
19
yarn.lock
|
@ -93,11 +93,25 @@
|
|||
estree-walker "^2.0.1"
|
||||
picomatch "^2.2.2"
|
||||
|
||||
"@sveltejs/adapter-node@^1.0.0-next.0":
|
||||
version "1.0.0-next.0"
|
||||
resolved "https://registry.yarnpkg.com/@sveltejs/adapter-node/-/adapter-node-1.0.0-next.0.tgz#8b5c81a8d46a0743c9642114bb557837603b3570"
|
||||
integrity sha512-NNdBGSARtrvLWLIUem/RKWYJ7cKq4xn0nxSASKogLSYL5SOrb6AgHunWQXv8VqDZ0jT7xQCORgASn006/HmaYQ==
|
||||
dependencies:
|
||||
"@sveltejs/app-utils" "1.0.0-next.0"
|
||||
|
||||
"@sveltejs/adapter-static@^1.0.0-next.21":
|
||||
version "1.0.0-next.21"
|
||||
resolved "https://registry.yarnpkg.com/@sveltejs/adapter-static/-/adapter-static-1.0.0-next.21.tgz#b2819478e1cc7344491e6ebb6d2a49cef5f92fc9"
|
||||
integrity sha512-B4+QoUVAaANKx+mHntG8SqF45zbj3Ct4Akg/cGauo6COyfKZRhO5OsMa+wPuT2TKJBZC4eEDK0p+p9nyQBkxKQ==
|
||||
|
||||
"@sveltejs/app-utils@1.0.0-next.0":
|
||||
version "1.0.0-next.0"
|
||||
resolved "https://registry.yarnpkg.com/@sveltejs/app-utils/-/app-utils-1.0.0-next.0.tgz#da1c857632c32304e82b3fbb224eee642012c922"
|
||||
integrity sha512-4fCuD+aLrq/iFVJWosIv8oi43tv4o7bGZVyNHMBamdIaVTcydRaPjxQCTM8OQPRVftHyrTIIvT3uH03kAxHZ0Q==
|
||||
dependencies:
|
||||
mime "^2.4.6"
|
||||
|
||||
"@sveltejs/kit@next":
|
||||
version "1.0.0-next.196"
|
||||
resolved "https://registry.yarnpkg.com/@sveltejs/kit/-/kit-1.0.0-next.196.tgz#a0f93829e50032aa1155af885752933cedc157e5"
|
||||
|
@ -1107,6 +1121,11 @@ micromatch@^4.0.4:
|
|||
braces "^3.0.1"
|
||||
picomatch "^2.2.3"
|
||||
|
||||
mime@^2.4.6:
|
||||
version "2.6.0"
|
||||
resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367"
|
||||
integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==
|
||||
|
||||
min-indent@^1.0.0:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869"
|
||||
|
|
Loading…
Add table
Reference in a new issue