diff --git a/assets/locales/en-us.json b/assets/locales/en-us.json
index e008f65c..c3c30397 100644
--- a/assets/locales/en-us.json
+++ b/assets/locales/en-us.json
@@ -260,5 +260,9 @@
"customColor": "Custom Color",
"resetSettings": "Reset Settings",
"resetSettingsWarning": "Resetting your settings returns them all to the original state, this cannot be undone."
+ },
+ "Socials": {
+ "twitter": "Follow Us!",
+ "github": "Star Us!"
}
}
\ No newline at end of file
diff --git a/renderer/src/styles/ui/changelog.css b/renderer/src/styles/ui/changelog.css
index aea4237e..e0d2891a 100644
--- a/renderer/src/styles/ui/changelog.css
+++ b/renderer/src/styles/ui/changelog.css
@@ -1,3 +1,4 @@
+.bd-changelog-modal iframe,
.bd-changelog-modal video,
.bd-changelog-modal img {
width: 100%;
@@ -95,10 +96,16 @@
border-radius: 0;
}
-.bd-changelog-modal .bd-modal-content img {
+.bd-changelog-modal .bd-modal-content img,
+.bd-changelog-modal .bd-modal-content video,
+.bd-changelog-modal .bd-modal-content iframe {
width: 100%;
}
+.bd-changelog-modal .bd-modal-content iframe {
+ height: 346px;
+}
+
.bd-changelog-modal .bd-modal-content a {
color: hsl(200, calc(var(--saturation-factor, 1) * 100%), 49.4%);
transition: 0.05s;
@@ -194,11 +201,13 @@
background-color: hsl(235, calc(var(--saturation-factor, 1)*86.1%), 77.5%);
}
+.theme-dark .bd-changelog-modal iframe,
.theme-dark .bd-changelog-modal video,
.theme-dark .bd-changelog-modal img {
box-shadow: 0 2px 10px 0 hsl(var(0, calc(var(--saturation-factor, 1)*0%), 0%-hsl)/.2);
}
+.theme-light .bd-changelog-modal iframe,
.theme-light .bd-changelog-modal video,
.theme-light .bd-changelog-modal img {
box-shadow: 0 2px 10px 0 hsl(var(0, calc(var(--saturation-factor, 1)*0%), 0%-hsl)/.1);
@@ -214,4 +223,17 @@
.theme-dark .socialLink-1qjJIk {
color: hsl(210, calc(var(--saturation-factor, 1)*9.3%), 78.8%);
-} */
\ No newline at end of file
+} */
+
+.bd-social {
+ opacity: 0.7;
+ transition: 0.17s ease opacity;
+}
+
+.bd-social:hover {
+ opacity: 1;
+}
+
+.bd-social + .bd-social {
+ margin-left: 10px;
+}
\ No newline at end of file
diff --git a/renderer/src/ui/icons/twitch.jsx b/renderer/src/ui/icons/twitch.jsx
deleted file mode 100644
index 2800b4e3..00000000
--- a/renderer/src/ui/icons/twitch.jsx
+++ /dev/null
@@ -1,8 +0,0 @@
-import React from "@modules/react";
-
-export default function Twitch(props) {
- const size = props.size || "18px";
- return ;
-}
\ No newline at end of file
diff --git a/renderer/src/ui/icons/twitter.jsx b/renderer/src/ui/icons/twitter.jsx
new file mode 100644
index 00000000..c76a6193
--- /dev/null
+++ b/renderer/src/ui/icons/twitter.jsx
@@ -0,0 +1,8 @@
+import React from "@modules/react";
+
+export default function Twitter(props) {
+ const size = props.size || "18px";
+ return ;
+}
\ No newline at end of file
diff --git a/renderer/src/ui/modals/changelog.jsx b/renderer/src/ui/modals/changelog.jsx
index 7f4083e8..ba6afcc1 100644
--- a/renderer/src/ui/modals/changelog.jsx
+++ b/renderer/src/ui/modals/changelog.jsx
@@ -1,6 +1,7 @@
import React from "@modules/react";
import WebpackModules from "@modules/webpackmodules";
import DiscordModules from "@modules/discordmodules";
+import Strings from "@modules/strings";
import Root from "./root";
import Header from "./header";
@@ -12,6 +13,8 @@ import Text from "../base/text";
import CloseButton from "./close";
import SimpleMarkdownExt from "@structs/markdown";
+import Twitter from "@ui/icons/twitter";
+import GitHub from "@ui/icons/github";
const {useMemo} = React;
@@ -26,6 +29,33 @@ const joinSupportServer = (click) => {
const supportLink = Join our Discord Server.;
const defaultFooter = Need support? {supportLink};
+const twitter =
+ {p =>
+
+ }
+ ;
+
+const github =
+ {p =>
+
+ }
+ ;
+
+function YoutubeEmbed({src}) {
+ return ;
+}
+
+function Video({src, poster}) {
+ if (src.toLowerCase().includes("youtube.com")) return ;
+ return ;
+}
+
export default function ChangelogModal({transitionState, footer, title, subtitle, onClose, video, poster, image, description, changes}) {
@@ -37,14 +67,18 @@ export default function ChangelogModal({transitionState, footer, title, subtitle
, [title, subtitle, onClose]);
- const ChangelogFooter = useMemo(() =>