1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-10 00:16:18 +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')),
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/style.css').pipe(gulp.dest('build')),
gulp.src('src/style.css').pipe(gulp.dest('build')),
gulp
.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",
"scripts": {
"start": "npm run -s dev",
"build": "preact build --prerender false",
"serve": "preact build && preact serve",
"dev": "preact watch",
"build": "preact build --template src/index.html --prerender false",
"dev": "preact watch --template src/index.html",
"serve-website": "cd packages/website; npm start",
"build-website": "cd packages/website; npm run build",
"lint": "eslint src",
@ -63,7 +62,6 @@
"markdown-it-anchor": "^5.0.2",
"merge-stream": "^1.0.1",
"preact-cli": "^3.0.0",
"preact-render-spy": "^1.2.1",
"sw-precache": "^5.2.0"
},
"dependencies": {
@ -73,7 +71,7 @@
"codemirror": "^5.37.0",
"copy-webpack-plugin": "^4.5.1",
"esprima": "^4.0.0",
"firebase": "^5.5.8",
"firebase": "^8.10.0",
"jszip": "^3.1.5",
"preact": "^10.5.13",
"preact-portal": "^1.1.3",

View File

@ -1,3 +1,10 @@
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;

View File

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

View File

@ -2,7 +2,7 @@ import { h, Component } from 'preact';
import Footer from '../src/components/Footer';
import { Link } from 'preact-router/match';
// 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', () => {
test('Footer renders 1 link with an ID of notificationsBtn', () => {