mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 20:35:06 -05:00
feat: bump to 1.8
feat: bump to 1.8
This commit is contained in:
commit
b29a72c956
19
apps/www/public/sitemap-0.xml
Normal file
19
apps/www/public/sitemap-0.xml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
|
||||||
|
<url><loc>https://mhsf.app/dashboard</loc><lastmod>2025-02-14T18:54:35.340Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/account/settings</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/account/settings/options</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/account/favorites</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/advanced%2Fachievements</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/advanced%2Fcommand-bar</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/advanced%2Fexternal</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/advanced%2Ftech-stack</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/getting-started</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/guides%2Fcustomization</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/guides%2Flinking</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/guides%2Fowning-a-server</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/guides%2Freporting-server</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/legal%2Fexternal-content-agreement</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://mhsf.app/docs/reading</loc><lastmod>2025-02-14T18:54:35.389Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
</urlset>
|
||||||
@ -1,33 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
|
||||||
~ MHSF, Minehut Server List
|
|
||||||
~ All external content is rather licensed under the ECA Agreement
|
|
||||||
~ located here: https://mhsf.app/docs/legal/external-content-agreement
|
|
||||||
~
|
|
||||||
~ All code under MHSF is licensed under the MIT License
|
|
||||||
~ by open source contributors
|
|
||||||
~
|
|
||||||
~ Copyright (c) 2025 dvelo
|
|
||||||
~
|
|
||||||
~ Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
~ of this software and associated documentation files (the "Software"), to
|
|
||||||
~ deal in the Software without restriction, including without limitation the
|
|
||||||
~ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
~ sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
~ furnished to do so, subject to the following conditions:
|
|
||||||
~
|
|
||||||
~ The above copyright notice and this permission notice shall be included in all
|
|
||||||
~ copies or substantial portions of the Software.
|
|
||||||
~
|
|
||||||
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
~ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
||||||
~ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
~ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
||||||
~ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
~ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
~ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
||||||
~ OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
<sitemap><loc>https://mhsf.app/sitemap-0.xml</loc></sitemap>
|
||||||
</sitemapindex>
|
</sitemapindex>
|
||||||
@ -45,23 +45,6 @@ import AllBanners from "@/components/feat/AllBanners";
|
|||||||
import Footer from "@/components/misc/Footer";
|
import Footer from "@/components/misc/Footer";
|
||||||
import { SwitchEnvPopup } from "@/components/misc/SwitchEnvPopup";
|
import { SwitchEnvPopup } from "@/components/misc/SwitchEnvPopup";
|
||||||
|
|
||||||
export const extraMetadata = {
|
|
||||||
twitter: {
|
|
||||||
images: [
|
|
||||||
{
|
|
||||||
url: "/imgs/icon-cf.png",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
themeColor: "#000000",
|
|
||||||
openGraph: {
|
|
||||||
images: [
|
|
||||||
{
|
|
||||||
url: "/imgs/icon-cf.png",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
} satisfies Metadata;
|
|
||||||
export const viewport: Viewport = {
|
export const viewport: Viewport = {
|
||||||
themeColor: "black",
|
themeColor: "black",
|
||||||
colorScheme: "dark",
|
colorScheme: "dark",
|
||||||
|
|||||||
@ -51,13 +51,13 @@ export default function GradientBanner({
|
|||||||
<canvas
|
<canvas
|
||||||
id={gradientId}
|
id={gradientId}
|
||||||
data-js-darken-top
|
data-js-darken-top
|
||||||
className="w-screen blur-sm h-[4rem] border-b z-1"
|
className="w-screen blur-sm h-[2rem] border-b z-1"
|
||||||
style={
|
style={
|
||||||
{
|
{
|
||||||
"--gradient-color-1": "#6ec3f4",
|
"--gradient-color-1": "#c3e4ff",
|
||||||
"--gradient-color-2": "#3a3aff",
|
"--gradient-color-2": "#6ec3f4",
|
||||||
"--gradient-color-3": "#ff61ab",
|
"--gradient-color-3": "#eae2ff",
|
||||||
"--gradient-color-4": "#E63946",
|
"--gradient-color-4": "#b9beff",
|
||||||
webKitMaskImage: "linear-gradient(to top, transparent, black)",
|
webKitMaskImage: "linear-gradient(to top, transparent, black)",
|
||||||
maskImage: "linear-gradient(to top, transparent, black)",
|
maskImage: "linear-gradient(to top, transparent, black)",
|
||||||
} as React.CSSProperties
|
} as React.CSSProperties
|
||||||
@ -65,7 +65,7 @@ export default function GradientBanner({
|
|||||||
height="64"
|
height="64"
|
||||||
width={window.screen.width}
|
width={window.screen.width}
|
||||||
/>{" "}
|
/>{" "}
|
||||||
<div className="fixed top-0 left-0 z-2 p-2 text-left text-black dark:text-white">
|
<div className="fixed top-0 left-0 z-2 px-2 pt-1 text-left text-black dark:text-white">
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -36,6 +36,8 @@ import { useState, useEffect } from "react";
|
|||||||
import { DialogContent, Dialog } from "@/components/ui/dialog";
|
import { DialogContent, Dialog } from "@/components/ui/dialog";
|
||||||
import AffiliatePopup from "@/components/misc/AffiliatePopup";
|
import AffiliatePopup from "@/components/misc/AffiliatePopup";
|
||||||
import { Gradient } from "stripe-gradient";
|
import { Gradient } from "stripe-gradient";
|
||||||
|
import {useRouter} from "@/lib/useRouter";
|
||||||
|
import {pageFind} from "@/components/misc/Link"
|
||||||
|
|
||||||
export const defaultBanners: {
|
export const defaultBanners: {
|
||||||
bannerSpace: number;
|
bannerSpace: number;
|
||||||
@ -43,7 +45,7 @@ export const defaultBanners: {
|
|||||||
}[] = [
|
}[] = [
|
||||||
// The affilation banner ALWAYS has to be first.
|
// The affilation banner ALWAYS has to be first.
|
||||||
{
|
{
|
||||||
bannerSpace: 2,
|
bannerSpace: 1,
|
||||||
bannerContent: (
|
bannerContent: (
|
||||||
<>
|
<>
|
||||||
<AffiliateBanner />
|
<AffiliateBanner />
|
||||||
@ -53,57 +55,14 @@ export const defaultBanners: {
|
|||||||
];
|
];
|
||||||
|
|
||||||
function AffiliateBanner() {
|
function AffiliateBanner() {
|
||||||
const [isOpen, setOpen] = useState(false);
|
const router = useRouter();
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
const gradient = new Gradient();
|
|
||||||
|
|
||||||
const initializeGradient = () => {
|
|
||||||
const canvasElement = document.getElementById(
|
|
||||||
"gradient-dialog"
|
|
||||||
) as HTMLCanvasElement;
|
|
||||||
if (canvasElement) gradient.initGradient("#gradient-dialog");
|
|
||||||
};
|
|
||||||
|
|
||||||
if (isOpen) {
|
|
||||||
const timeoutId = setTimeout(initializeGradient, 100); // Delay to ensure canvas is ready
|
|
||||||
return () => clearTimeout(timeoutId); // Cleanup timeout
|
|
||||||
}
|
|
||||||
}, [isOpen]);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Dialog open={isOpen} onOpenChange={setOpen}>
|
<div onClick={() => router.push(pageFind("Special:GitHub/releases/tag/1.8.0") as string)} className="cursor-pointer">
|
||||||
<DialogContent>
|
<MainBanner size={1} className="max-h-[2rem] border-0">
|
||||||
<>
|
|
||||||
<canvas
|
|
||||||
id="gradient-dialog"
|
|
||||||
className="h-full absolute w-[512px] rounded blur-sm"
|
|
||||||
style={
|
|
||||||
{
|
|
||||||
"--gradient-color-1": "#6ec3f4",
|
|
||||||
"--gradient-color-2": "#3a3aff",
|
|
||||||
"--gradient-color-3": "#ff61ab",
|
|
||||||
"--gradient-color-4": "#E63946",
|
|
||||||
webKitMaskImage:
|
|
||||||
"linear-gradient(to top, black 0%, transparent 25%, transparent 80%, black 100%)",
|
|
||||||
maskImage:
|
|
||||||
"linear-gradient(to top, black 0%, transparent 25%, transparent 80%, black 100%)",
|
|
||||||
} as React.CSSProperties
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
<div className="relative z-10">
|
|
||||||
<AffiliatePopup />
|
|
||||||
</div>
|
|
||||||
</>
|
|
||||||
</DialogContent>
|
|
||||||
</Dialog>
|
|
||||||
<div onClick={() => setOpen(true)} className="cursor-pointer">
|
|
||||||
<MainBanner size={2} className="max-h-[4rem] border-0">
|
|
||||||
<GradientBanner>
|
<GradientBanner>
|
||||||
<strong>CoreBoxx</strong> — <i>an official affiliate of MHSF</i>{" "}
|
<strong>v2</strong>: the future of MHSF
|
||||||
<br />
|
|
||||||
Season 3 is out the doors for the best box server on Minehut
|
|
||||||
</GradientBanner>
|
</GradientBanner>
|
||||||
</MainBanner>
|
</MainBanner>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -67,8 +67,26 @@ const FeatureList = ({
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const version = "1.7.5";
|
export const version = "1.8.0";
|
||||||
export const changelog: { name: string; id: string; changelog: ReactNode }[] = [
|
export const changelog: { name: string; id: string; changelog: ReactNode }[] = [
|
||||||
|
{
|
||||||
|
id: "tnjageringae231nfnajrekgra",
|
||||||
|
name: "v1.8.0",
|
||||||
|
changelog: (
|
||||||
|
<FeatureList
|
||||||
|
github="https://github.com/DeveloLongScript/MHSF/releases/tag/1.8.0"
|
||||||
|
features={[
|
||||||
|
"Major changes have been made with the technical project structure",
|
||||||
|
"Please check the GitHub for information about the status of the project."
|
||||||
|
]}
|
||||||
|
title={
|
||||||
|
<strong className="flex items-center">
|
||||||
|
Version 1.8.0 (February 14th 2025, {"<3 happy valentines"})
|
||||||
|
</strong>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "tj4ijg09aern9eargjjuauerr",
|
id: "tj4ijg09aern9eargjjuauerr",
|
||||||
name: "v1.7.5",
|
name: "v1.7.5",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user