1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-09 16:06:21 +02:00

upgrade firebase and import css files

This commit is contained in:
Kushagra Gour
2022-03-08 12:31:44 +05:30
parent 5380b41925
commit 18a5007a2a
6 changed files with 25773 additions and 31391 deletions

View File

@ -81,7 +81,7 @@ gulp.task('copyFiles', function () {
.pipe(gulp.dest('build/lib/codemirror/addon/dialog')), .pipe(gulp.dest('build/lib/codemirror/addon/dialog')),
gulp.src('src/lib/hint.min.css').pipe(gulp.dest('build/lib')), gulp.src('src/lib/hint.min.css').pipe(gulp.dest('build/lib')),
gulp.src('src/lib/inlet.css').pipe(gulp.dest('build/lib')), gulp.src('src/lib/inlet.css').pipe(gulp.dest('build/lib')),
// gulp.src('src/style.css').pipe(gulp.dest('build')), gulp.src('src/style.css').pipe(gulp.dest('build')),
gulp gulp
.src([ .src([

57133
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,9 +4,8 @@
"description": "A blazing fast & offline web playground", "description": "A blazing fast & offline web playground",
"scripts": { "scripts": {
"start": "npm run -s dev", "start": "npm run -s dev",
"build": "preact build --prerender false", "build": "preact build --template src/index.html --prerender false",
"serve": "preact build && preact serve", "dev": "preact watch --template src/index.html",
"dev": "preact watch",
"serve-website": "cd packages/website; npm start", "serve-website": "cd packages/website; npm start",
"build-website": "cd packages/website; npm run build", "build-website": "cd packages/website; npm run build",
"lint": "eslint src", "lint": "eslint src",
@ -63,7 +62,6 @@
"markdown-it-anchor": "^5.0.2", "markdown-it-anchor": "^5.0.2",
"merge-stream": "^1.0.1", "merge-stream": "^1.0.1",
"preact-cli": "^3.0.0", "preact-cli": "^3.0.0",
"preact-render-spy": "^1.2.1",
"sw-precache": "^5.2.0" "sw-precache": "^5.2.0"
}, },
"dependencies": { "dependencies": {
@ -73,7 +71,7 @@
"codemirror": "^5.37.0", "codemirror": "^5.37.0",
"copy-webpack-plugin": "^4.5.1", "copy-webpack-plugin": "^4.5.1",
"esprima": "^4.0.0", "esprima": "^4.0.0",
"firebase": "^5.5.8", "firebase": "^8.10.0",
"jszip": "^3.1.5", "jszip": "^3.1.5",
"preact": "^10.5.13", "preact": "^10.5.13",
"preact-portal": "^1.1.3", "preact-portal": "^1.1.3",

View File

@ -1,3 +1,10 @@
import App from './components/app.jsx'; import App from './components/app.jsx';
import './lib/codemirror/lib/codemirror.css';
import './lib/codemirror/addon/hint/show-hint.css';
import './lib/codemirror/addon/fold/foldgutter.css';
import './lib/codemirror/addon/dialog/dialog.css';
import './lib/hint.min.css';
import './lib/inlet.css';
export default App; export default App;

View File

@ -18,7 +18,7 @@
height: 14px; height: 14px;
box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5); box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5);
background-color: #d6d6d6; background-color: #d6d6d6;
background-image: linear-gradient(top, #d6d6d6, #ebebeb); background-image: linear-gradient(to top, #d6d6d6, #ebebeb);
} }
.inlet_slider:hover { .inlet_slider:hover {
opacity: 0.98; opacity: 0.98;
@ -55,7 +55,7 @@
box-shadow: 0px 0px 3px 0px rgba(4, 4, 4, 0.4); box-shadow: 0px 0px 3px 0px rgba(4, 4, 4, 0.4);
background-color: #424242; background-color: #424242;
background-color: crimson; background-color: crimson;
background-image: linear-gradient(top, #424242, #212121); background-image: linear-gradient(to top, #424242, #212121);
} }
/* /*
* ========================================================= * =========================================================
@ -87,11 +87,11 @@
width: 229px; width: 229px;
z-index: 100; z-index: 100;
border-radius: 3px; border-radius: 3px;
-webkit-box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5);
box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5); box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5);
background-color: rgba(214, 214, 215, 0.85); background-color: rgba(214, 214, 215, 0.85);
/* /*
background-image: linear-gradient(top, rgb(214, 214, 214), rgb(235, 235, 235)); background-image: linear-gradient(to top, rgb(214, 214, 214), rgb(235, 235, 235));
*/ */
} }
.ColorPicker br { .ColorPicker br {
@ -104,8 +104,8 @@
color: #aa1212; color: #aa1212;
} }
.ColorPicker input.hexInput { .ColorPicker input.hexInput {
-webkit-transition-property: color; transition-property: color;
-webkit-transition-duration: .5s; transition-duration: .5s;
background: none; background: none;
border: 0; border: 0;
margin: 0; margin: 0;

View File

@ -2,7 +2,7 @@ import { h, Component } from 'preact';
import Footer from '../src/components/Footer'; import Footer from '../src/components/Footer';
import { Link } from 'preact-router/match'; import { Link } from 'preact-router/match';
// See: https://github.com/mzgoddard/preact-render-spy // See: https://github.com/mzgoddard/preact-render-spy
import { shallow, deep } from 'preact-render-spy'; // import { shallow, deep } from 'preact-render-spy';
describe('Initial Test of the Footer', () => { describe('Initial Test of the Footer', () => {
test('Footer renders 1 link with an ID of notificationsBtn', () => { test('Footer renders 1 link with an ID of notificationsBtn', () => {