From db4037dd07bfc82bc00a29e29dd7863743bbe6d2 Mon Sep 17 00:00:00 2001
From: taha12322 <66300435+taha12322@users.noreply.github.com>
Date: Sun, 15 Aug 2021 16:20:47 +0430
Subject: [PATCH] slider pageNumber Button buy book Setting not complited
collaps
---
package.json | 1 +
public/index.html | 10 +-
src/components/Setting/setting.js | 5 +-
src/components/contextMenu/Item.tsx | 2 +-
src/components/footer/Item.tsx | 8 +-
src/components/footer/Wrapper.tsx | 4 +
src/components/footer/progressBar.js | 59 ++++++++
src/components/nav/NavItem.tsx | 4 +-
src/components/note/Layout.tsx | 3 +
src/components/option/Layout.tsx | 1 +
src/containers/Footer.tsx | 24 +++-
src/containers/Header.tsx | 91 ++++++------
src/containers/Reader.tsx | 95 +++++++-----
src/containers/menu/Option.tsx | 208 ++++++++++++++++-----------
yarn.lock | 5 +
15 files changed, 351 insertions(+), 169 deletions(-)
create mode 100644 src/components/footer/progressBar.js
diff --git a/package.json b/package.json
index ed38a90..b9972db 100644
--- a/package.json
+++ b/package.json
@@ -42,6 +42,7 @@
"dependencies": {
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
+ "bootstrap": "^5.1.0",
"epubjs": "^0.3.88",
"node-sass": "4.14.1",
"react-epub-viewer": "^0.1.7",
diff --git a/public/index.html b/public/index.html
index 8a8c2b6..1c76b85 100644
--- a/public/index.html
+++ b/public/index.html
@@ -21,11 +21,17 @@
@font-face {
font-family: "SansNum";
- src: url(../fonts/IRANSansWebFaNum.woff);
+ src: url(%PUBLIC_URL%/css/IRANSansWebFaNum.woff);
}
- * , body {
+ *,
+ body {
font-family: Sans, Nazanin;
}
+
+ .nav-footer-item > div > span {
+ font-family: "SansNum" !important;
+ color: #000 !important;
+ }
diff --git a/src/components/Setting/setting.js b/src/components/Setting/setting.js
index 376de37..3fe27c5 100644
--- a/src/components/Setting/setting.js
+++ b/src/components/Setting/setting.js
@@ -1,6 +1,5 @@
import React from 'react'
import { UncontrolledCollapse, Card } from 'reactstrap'
-import '../../../src/components/style/setting.scss'
import Fontstyle from './FontStyle/Fontstyle'
import Colors from './FontColor/colors'
import FontSize from './FontSize/fontsize'
@@ -8,6 +7,7 @@ import LineHeight from './LineHeight/lineheight'
const Setting = (props) => {
const {
+ isOpen,
setIsChecked,
isChecked,
countersize,
@@ -22,8 +22,7 @@ const Setting = (props) => {
return (
<>
-
-
+