mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
optimizations
This commit is contained in:
parent
2a317176bd
commit
ea910be9ce
@ -20,7 +20,7 @@ gulp.task('copy:backend:custom', () =>
|
||||
);
|
||||
|
||||
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', () =>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "calckey",
|
||||
"version": "12.119.0-calc.16.4",
|
||||
"version": "12.119.0-calc.16.5",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -51,7 +51,6 @@
|
||||
"gulp-terser": "2.1.0",
|
||||
"js-yaml": "4.1.0",
|
||||
"long": "^5.2.1",
|
||||
"phosphor-icons": "^1.4.2",
|
||||
"seedrandom": "^3.0.5"
|
||||
},
|
||||
"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 class="_block main">
|
||||
<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">
|
||||
<h1>{{ page.title }}</h1>
|
||||
</div>
|
||||
@ -98,6 +98,8 @@ const otherPostsPagination = {
|
||||
};
|
||||
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() {
|
||||
page = null;
|
||||
os.api('pages/show', {
|
||||
|
Loading…
Reference in New Issue
Block a user