+
+
+
+ {/* {small && (
{
)} */}
-
- Linux Day Milano {metadata.event.year}
-
-
-
- organizzato da{" "}
-
- unix
- MiB
-
-
-
-
- {" "}
- {metadata.event.text}
-
- {" "}
- Ore {metadata.event.time}
-
- {" "}
- {metadata.contacts.place.name}
-
- {" "}
- {metadata.contacts.place.building}
-
-
- {small && (
-
-
-
+
+ Linux Day Milano {metadata.event.year}
+
+
+
+ organizzato da{" "}
+
+ unix
+ MiB
+
+
+
+
+ {" "}
+ {metadata.event.text}
+
+ {" "}
+ Ore {metadata.event.time}
+
+ {" "}
+ {metadata.contacts.place.name}
+
+ {" "}
+ {metadata.contacts.place.building}
+
- )}
-
+ {small && (
+
+
+
+
+ )}
+
+
);
};
diff --git a/src/pages/schedule.jsx b/src/pages/schedule.jsx
index 317ebb8..0129ec5 100644
--- a/src/pages/schedule.jsx
+++ b/src/pages/schedule.jsx
@@ -215,10 +215,6 @@ const Page = ({ data }) => {
useEffect(() => {
let current = localStorage.getItem("starredTalks");
- let showStarred = localStorage.getItem("showStarred");
- if (showStarred === "true") {
- setShowStarred(true);
- }
if (current) {
try {
current = JSON.parse(current);
@@ -230,6 +226,7 @@ const Page = ({ data }) => {
setStarredTalks({});
}
}
+ localStorage.getItem("showStarred") === "true" && setShowStarred(true);
}, []);
useEffect(() => {
@@ -260,7 +257,10 @@ const Page = ({ data }) => {
diff --git a/src/styles/base.scss b/src/styles/base.scss
index 3af9043..7534d74 100644
--- a/src/styles/base.scss
+++ b/src/styles/base.scss
@@ -6,16 +6,6 @@ html {
color: $unixmib;
}
-@mixin cover-background($imageUrl, $overlay) {
- @if $overlay {
- background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
- url($imageUrl) no-repeat center center fixed;
- } @else {
- background: url($imageUrl) no-repeat center center fixed;
- }
- background-size: cover;
-}
-
@mixin tshadow() {
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
diff --git a/src/styles/components/hero.scss b/src/styles/components/hero.scss
index 40bd154..c9ad118 100644
--- a/src/styles/components/hero.scss
+++ b/src/styles/components/hero.scss
@@ -1,5 +1,4 @@
.hero {
- @include cover-background("../assets/images/hero.jpg", true);
@include media-breakpoint-up(md) {
padding: 3rem 4rem 5rem;
diff --git a/src/styles/pages/index.scss b/src/styles/pages/index.scss
index 76eda94..8ba03ab 100644
--- a/src/styles/pages/index.scss
+++ b/src/styles/pages/index.scss
@@ -132,8 +132,6 @@
sponsors {
background-color: white; //#1881a2;
color: black;
- //@include cover-background("../assets/images/sponsor-bg.jpg", true);
- //background-image: url("../assets/images/sponsor-bg.jpg");
background-position: 50% 0;
background-size: cover;
padding-top: 0;