revdev-components 0.122.0 → 0.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/frontHeader/index.d.ts +1 -0
- package/build/index.js +4 -4
- package/build/styles.css +8 -4
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -5276,7 +5276,7 @@ var Button = function (_a) {
|
|
|
5276
5276
|
|
|
5277
5277
|
var FrontHeader = function (_a) {
|
|
5278
5278
|
var _b;
|
|
5279
|
-
var user = _a.user, children = _a.children, className = _a.className, logoHref = _a.logoHref, loginHref = _a.loginHref, registerHref = _a.registerHref, language = _a.language, text = _a.text, onMenuClick = _a.onMenuClick;
|
|
5279
|
+
var user = _a.user, children = _a.children, className = _a.className, logoHref = _a.logoHref, logoContent = _a.logoContent, loginHref = _a.loginHref, registerHref = _a.registerHref, language = _a.language, text = _a.text, onMenuClick = _a.onMenuClick;
|
|
5280
5280
|
var _c = React.useState(false), shadow = _c[0], setShadow = _c[1];
|
|
5281
5281
|
function handleScroll() {
|
|
5282
5282
|
setShadow(window.scrollY > 50);
|
|
@@ -5314,7 +5314,7 @@ var FrontHeader = function (_a) {
|
|
|
5314
5314
|
_b[s$a.root__shadow] = shadow,
|
|
5315
5315
|
_b), className) },
|
|
5316
5316
|
onMenuClick && React.createElement(Button, { icon: "menu", onClick: onMenuClick }),
|
|
5317
|
-
React.createElement(AppLink, { className: s$a.logo, href: logoHref }, "AlfaSchool"),
|
|
5317
|
+
React.createElement(AppLink, { className: s$a.logo, href: logoHref }, logoContent || "AlfaSchool"),
|
|
5318
5318
|
React.createElement("div", { className: s$a.content }, children),
|
|
5319
5319
|
!user && (React.createElement("div", { className: s$a.link },
|
|
5320
5320
|
React.createElement(AppLink, { href: loginHref }, text.login || "Login"),
|
|
@@ -5324,12 +5324,12 @@ var FrontHeader = function (_a) {
|
|
|
5324
5324
|
React.createElement(PopoverSelect, __assign({ icon: "language" }, language)))));
|
|
5325
5325
|
};
|
|
5326
5326
|
|
|
5327
|
-
var s$6 = {"root":"index-module_root__pGOaD","inner":"index-module_inner__yBaNK","email":"index-module_email__c66u4"};
|
|
5327
|
+
var s$6 = {"root":"index-module_root__pGOaD","children":"index-module_children__HtJ53","inner":"index-module_inner__yBaNK","email":"index-module_email__c66u4"};
|
|
5328
5328
|
|
|
5329
5329
|
var FrontFooter = function (_a) {
|
|
5330
5330
|
var children = _a.children, className = _a.className, privacyHref = _a.privacyHref, termsHref = _a.termsHref, infoMail = _a.infoMail, text = _a.text;
|
|
5331
5331
|
return (React.createElement("footer", { className: classNames(s$6.root, className) },
|
|
5332
|
-
children ? React.createElement("div",
|
|
5332
|
+
children ? React.createElement("div", { className: s$6.children }, children) : null,
|
|
5333
5333
|
React.createElement("div", { className: s$6.inner },
|
|
5334
5334
|
React.createElement(AppLink, { className: s$6.email, href: "mailto:".concat(infoMail) }, infoMail),
|
|
5335
5335
|
React.createElement("div", null,
|
package/build/styles.css
CHANGED
|
@@ -494,13 +494,18 @@ body {
|
|
|
494
494
|
display: flex;
|
|
495
495
|
flex-direction: column;
|
|
496
496
|
height: var(--frontFooterHeight);
|
|
497
|
+
border-top: 1px solid var(--borderColor);
|
|
498
|
+
gap: var(--spacing);
|
|
499
|
+
padding: var(--spacing);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.index-module_children__HtJ53 {
|
|
503
|
+
gap: var(--spacing);
|
|
497
504
|
}
|
|
498
505
|
|
|
499
506
|
.index-module_inner__yBaNK {
|
|
500
507
|
min-height: var(--frontFooterHeight);
|
|
501
|
-
padding: 0 var(--spacing);
|
|
502
508
|
font-size: 10px;
|
|
503
|
-
border-top: 1px solid var(--borderColor);
|
|
504
509
|
display: flex;
|
|
505
510
|
flex-direction: row;
|
|
506
511
|
justify-content: space-between;
|
|
@@ -509,7 +514,6 @@ body {
|
|
|
509
514
|
}
|
|
510
515
|
@media all and (max-width: 800px) {
|
|
511
516
|
.index-module_inner__yBaNK {
|
|
512
|
-
padding: 10px var(--spacing);
|
|
513
517
|
flex-direction: column;
|
|
514
518
|
justify-content: flex-start;
|
|
515
519
|
gap: 10px;
|
|
@@ -553,7 +557,7 @@ body {
|
|
|
553
557
|
|
|
554
558
|
.index-module_content__Afu6q {
|
|
555
559
|
display: flex;
|
|
556
|
-
min-height: calc(100vh - var(--frontHeaderHeight) -
|
|
560
|
+
min-height: calc(100vh - var(--frontHeaderHeight) - 1px) !important;
|
|
557
561
|
flex-direction: column;
|
|
558
562
|
}
|
|
559
563
|
.index-module_content__footer__-ACCs {
|