mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-23 00:22:59 +05:30
use built in vite preprocess, svelte coloured icon
This commit is contained in:
parent
43d046a519
commit
3113df2fa9
@ -25,7 +25,6 @@
|
|||||||
"svelte-check": "^3.0.1",
|
"svelte-check": "^3.0.1",
|
||||||
"svelte-dark-mode": "^2.1.0",
|
"svelte-dark-mode": "^2.1.0",
|
||||||
"svelte-hcaptcha": "^0.1.1",
|
"svelte-hcaptcha": "^0.1.1",
|
||||||
"svelte-preprocess": "^5.0.0",
|
|
||||||
"svelte-seo": "^1.4.1",
|
"svelte-seo": "^1.4.1",
|
||||||
"svelte-vertical-timeline": "^0.0.2",
|
"svelte-vertical-timeline": "^0.0.2",
|
||||||
"tslib": "^2.4.1",
|
"tslib": "^2.4.1",
|
||||||
|
@ -22,7 +22,6 @@ specifiers:
|
|||||||
svelte-check: ^3.0.1
|
svelte-check: ^3.0.1
|
||||||
svelte-dark-mode: ^2.1.0
|
svelte-dark-mode: ^2.1.0
|
||||||
svelte-hcaptcha: ^0.1.1
|
svelte-hcaptcha: ^0.1.1
|
||||||
svelte-preprocess: ^5.0.0
|
|
||||||
svelte-seo: ^1.4.1
|
svelte-seo: ^1.4.1
|
||||||
svelte-vertical-timeline: ^0.0.2
|
svelte-vertical-timeline: ^0.0.2
|
||||||
tslib: ^2.4.1
|
tslib: ^2.4.1
|
||||||
@ -54,7 +53,6 @@ devDependencies:
|
|||||||
svelte-check: 3.0.1_svelte@3.55.0
|
svelte-check: 3.0.1_svelte@3.55.0
|
||||||
svelte-dark-mode: 2.1.0
|
svelte-dark-mode: 2.1.0
|
||||||
svelte-hcaptcha: 0.1.1
|
svelte-hcaptcha: 0.1.1
|
||||||
svelte-preprocess: 5.0.0_niwyv7xychq2ag6arq5eqxbomm
|
|
||||||
svelte-seo: 1.4.1_typescript@4.9.4
|
svelte-seo: 1.4.1_typescript@4.9.4
|
||||||
svelte-vertical-timeline: 0.0.2
|
svelte-vertical-timeline: 0.0.2
|
||||||
tslib: 2.4.1
|
tslib: 2.4.1
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div
|
<div
|
||||||
class="flex flex-col justify-center sm:flex-row gap-1 border-t border-t-solid border-t-grey p-3 text-sm"
|
class="flex flex-col justify-center sm:flex-row gap-1 border-t border-t-solid border-t-grey p-3 text-sm"
|
||||||
>
|
>
|
||||||
<span class="flex flex-row items-center gap-1">Made with <div class="i-simple-icons:svelte" />SvelteKit <span class="hidden sm:block">-</span></span>
|
<span class="flex flex-row items-center gap-1">Made with <div class="i-simple-icons:svelte text-[#FF3E00]" />SvelteKit <span class="hidden sm:block">-</span></span>
|
||||||
<a href="https://github.com/ProjectSegfault/website">Source code</a>
|
<a href="https://github.com/ProjectSegfault/website">Source code</a>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -137,11 +137,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.icon > span {
|
.icon > span {
|
||||||
@apply flex nav\:hidden;
|
@apply flex text-sm nav\:hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
@apply flex flex-row items-center gap-2;
|
@apply flex flex-row items-center gap-2 text-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hasJS {
|
.hasJS {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import adapter from "@sveltejs/adapter-node";
|
import adapter from "@sveltejs/adapter-node";
|
||||||
import preprocess from "svelte-preprocess";
|
import { vitePreprocess } from "@sveltejs/kit/vite";
|
||||||
import { mdsvex } from "mdsvex";
|
import { mdsvex } from "mdsvex";
|
||||||
|
|
||||||
/** @type {import('@sveltejs/kit').Config} */
|
/** @type {import('@sveltejs/kit').Config} */
|
||||||
@ -9,7 +9,7 @@ const config = {
|
|||||||
extensions: [".svelte", ".md"],
|
extensions: [".svelte", ".md"],
|
||||||
|
|
||||||
preprocess: [
|
preprocess: [
|
||||||
preprocess(),
|
vitePreprocess(),
|
||||||
mdsvex({
|
mdsvex({
|
||||||
extensions: [".md"]
|
extensions: [".md"]
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user