diff --git a/src/assets/scss/core/abstracts/_mixins.scss b/src/assets/scss/core/abstracts/_mixins.scss index 422a7ba..2340edf 100644 --- a/src/assets/scss/core/abstracts/_mixins.scss +++ b/src/assets/scss/core/abstracts/_mixins.scss @@ -1,6 +1,10 @@ // Font Family @mixin font-family($elem) { + @if (type-of($elem) == string) { font-family: unquote(get-font-family($elem)); + } @else { + font-family: initial; + } } // Font-size + Line-height + Kerning diff --git a/src/components/layout/Header.js b/src/components/layout/Header.js index 4fdca0e..f2c7bb4 100644 --- a/src/components/layout/Header.js +++ b/src/components/layout/Header.js @@ -79,7 +79,7 @@ const Header = ({ className, ); - const vancedManagerAPKUrl = useContext(ManagerContext)?.assets[0]?.browser_download_url; + const vancedManagerAPKUrl = "https://github.com/YTVanced/VancedManager/releases/latest/download/manager.apk"; return (
diff --git a/src/components/layout/partials/FooterNav.js b/src/components/layout/partials/FooterNav.js index 32014de..65b087b 100644 --- a/src/components/layout/partials/FooterNav.js +++ b/src/components/layout/partials/FooterNav.js @@ -8,7 +8,7 @@ import { ADGUARD, BRAVE } from "../../../constants/links"; const FooterNav = ({ className, ...props }) => { const classes = classNames("footer-nav", className); - const vancedManagerAPKUrl = useContext(ManagerContext)?.assets[0]?.browser_download_url; + const vancedManagerAPKUrl = "https://github.com/YTVanced/VancedManager/releases/latest/download/manager.apk"; const showBrave = useContext(ShowBraveContext); return ( diff --git a/src/components/sections/ChangeLogs.js b/src/components/sections/ChangeLogs.js index ace0f26..23ffe35 100644 --- a/src/components/sections/ChangeLogs.js +++ b/src/components/sections/ChangeLogs.js @@ -63,9 +63,9 @@ const ChangeLogs = ({ const changeLogsLoopData = [ { name: "Vanced Manager", data: managerData }, - { name: "MicroG", data: vancedData }, + { name: "MicroG", data: microgData }, { name: "YouTube™ Music Vanced", data: musicData }, - { name: "YouTube™ Vanced", data: microgData }, + { name: "YouTube™ Vanced", data: vancedData }, ]; return ( @@ -95,16 +95,17 @@ const ChangeLogs = ({ className="m-0 mb-32 reveal-from-bottom text-sm text-color-secondary" data-reveal-delay="400" > - (v{data?.data?.tag_name.split('-')[0]}) + ({data?.data?.tag_name?.split('-')[0]})

Changelog:


diff --git a/src/components/sections/Hero.js b/src/components/sections/Hero.js index 1028216..d1f703e 100644 --- a/src/components/sections/Hero.js +++ b/src/components/sections/Hero.js @@ -85,9 +85,9 @@ const Hero = ({ tag="a" color="primary" wideMobile - href={vancedManager?.assets[0]?.browser_download_url} + href="https://github.com/YTVanced/VancedManager/releases/latest/download/manager.apk" > - Vanced Manager ({vancedManager?.tag_name.split('-')[0]}) + Vanced Manager ({vancedManager?.tag_name?.split('-')[0]})