mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
optimizations
This commit is contained in:
parent
2a317176bd
commit
ea910be9ce
4 changed files with 289 additions and 4 deletions
|
@ -20,7 +20,7 @@ gulp.task('copy:backend:custom', () =>
|
||||||
);
|
);
|
||||||
|
|
||||||
gulp.task('copy:client:fonts', () =>
|
gulp.task('copy:client:fonts', () =>
|
||||||
gulp.src('./packages/client/node_modules/three/examples/fonts/**/*').pipe(gulp.dest('./built/_client_dist_/fonts/'))
|
gulp.src('./packages/client/src/icons.css.min').pipe(gulp.dest('./built/_client_dist_/fonts/'))
|
||||||
);
|
);
|
||||||
|
|
||||||
gulp.task('copy:client:phosphor', () =>
|
gulp.task('copy:client:phosphor', () =>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.16.4",
|
"version": "12.119.0-calc.16.5",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -51,7 +51,6 @@
|
||||||
"gulp-terser": "2.1.0",
|
"gulp-terser": "2.1.0",
|
||||||
"js-yaml": "4.1.0",
|
"js-yaml": "4.1.0",
|
||||||
"long": "^5.2.1",
|
"long": "^5.2.1",
|
||||||
"phosphor-icons": "^1.4.2",
|
|
||||||
"seedrandom": "^3.0.5"
|
"seedrandom": "^3.0.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
284
packages/client/src/icons.css.min
Normal file
284
packages/client/src/icons.css.min
Normal file
File diff suppressed because one or more lines are too long
|
@ -10,7 +10,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="_block main">
|
<div class="_block main">
|
||||||
<div class="banner">
|
<div class="banner">
|
||||||
<div class="banner-image" :style="`background-image: ${page.eyeCatchingImage.url !== null ? `url(${page.eyeCatchingImage.url})` : `linear-gradient(to bottom right, #31748f, #9ccfd8);` }`">
|
<div class="banner-image" :style="{ 'background-image': bgImg }">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
@ -98,6 +98,8 @@ const otherPostsPagination = {
|
||||||
};
|
};
|
||||||
const path = $computed(() => props.username + '/' + props.pageName);
|
const path = $computed(() => props.username + '/' + props.pageName);
|
||||||
|
|
||||||
|
const bgImg = page.eyeCatchingImage.url !== null ? page.eyeCatchingImage.url : 'linear-gradient(to bottom right, #31748f, #9ccfd8)';
|
||||||
|
|
||||||
function fetchPage() {
|
function fetchPage() {
|
||||||
page = null;
|
page = null;
|
||||||
os.api('pages/show', {
|
os.api('pages/show', {
|
||||||
|
|
Loading…
Reference in a new issue