Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Lesson export #134

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions app-main/.editorconfig

This file was deleted.

2 changes: 1 addition & 1 deletion app-main/babel.config.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: [['@babel/preset-env', {targets: {node: 'current'}}]],
presets: [["@babel/preset-env", { targets: { node: "current" } }]],
};
24 changes: 13 additions & 11 deletions app-main/gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
var gulp = require('gulp');
var concat = require('gulp-concat');
var gulp = require("gulp");
var concat = require("gulp-concat");

gulp.task('pack-js', function() {
return gulp.src(['public/js/index.js'])
.pipe(concat('bundle.js'))
.pipe(gulp.dest('public/build/js'))
gulp.task("pack-js", function () {
return gulp
.src(["public/js/index.js"])
.pipe(concat("bundle.js"))
.pipe(gulp.dest("public/build/js"));
});

gulp.task('pack-css', function() {
return gulp.src(['public/css/style.css'])
.pipe(concat('stylesheet.css'))
.pipe(gulp.dest('public/build/css'))
gulp.task("pack-css", function () {
return gulp
.src(["public/css/style.css"])
.pipe(concat("stylesheet.css"))
.pipe(gulp.dest("public/build/css"));
});

gulp.task('default', gulp.series(['pack-js', 'pack-css']));
gulp.task("default", gulp.series(["pack-js", "pack-css"]));
17,225 changes: 3,888 additions & 13,337 deletions app-main/package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion app-main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@
"husky": "^4.3.6",
"jest": "^26.6.3",
"prettier": "^2.2.1"
}
},
"dependencies": {}
}
60 changes: 27 additions & 33 deletions app-main/public/404.html
Original file line number Diff line number Diff line change
@@ -1,36 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./css/style_404.css" />
<title>Page Not Found</title>
<meta
name="description"
content="404: Page Not Found"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:title" content="Page Not Found" />
<meta
property="og:description"
content="404: Page Not Found"
/>
<meta
property="og:image"
content="https://dev-jot.netlify.app/app-main/public/images/share-image.png"
/>
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="”og:type”" content="”website”" />
</head>
<body>
<div id="message">
<h2>404</h2>
<h1>Page Not Found</h1>
<p>
The specified file was not found on this website. Please check the URL
for mistakes and try again.
</p>
</div>
</body>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./css/style_404.css" />
<title>Page Not Found</title>
<meta name="description" content="404: Page Not Found" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:title" content="Page Not Found" />
<meta property="og:description" content="404: Page Not Found" />
<meta
property="og:image"
content="https://dev-jot.netlify.app/app-main/public/images/share-image.png"
/>
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="”og:type”" content="”website”" />
</head>
<body>
<div id="message">
<h2>404</h2>
<h1>Page Not Found</h1>
<p>
The specified file was not found on this website. Please check the URL
for mistakes and try again.
</p>
</div>
</body>
</html>
7 changes: 4 additions & 3 deletions app-main/public/css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--main-b-color: #35586C;
--main-b-color: #35586c;
--secondary-b-color: #2b2c28;
--tertiary-b-color: #f7b501;
--in-progress: #039dfc;
Expand Down Expand Up @@ -426,11 +426,12 @@ span.lessons-count {
cursor: pointer;
}

.lesson-card-content-buttons button:last-of-type {
.lesson-card-content-buttons button:nth-last-of-type(-n + 2) {
padding: 5px 8px;
margin-right: 2px;
max-width: 50px;
}
.lesson-card-content-buttons button:last-of-type:hover {
.lesson-card-content-buttons button:nth-last-of-type(-n + 2):hover {
box-shadow: inset 50px 0 0 0 #a3d2ca;
color: black;
cursor: pointer;
Expand Down
1 change: 1 addition & 0 deletions app-main/public/images/export-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading