diff --git a/src/config/version.tsx b/src/config/version.tsx index 9279532..c64e757 100644 --- a/src/config/version.tsx +++ b/src/config/version.tsx @@ -4,7 +4,7 @@ import { Separator } from "../components/ui/separator"; import { Button } from "../components/ui/button"; import confetti from "canvas-confetti"; -export const version = "1.2.0"; +export const version = "1.2.5"; const User = ({ user }: { user: string }) => ( @@ -41,244 +41,341 @@ const handleClick = () => { }); }, 250); }; - -export const Changelog = () => ( - <> -
- Running on commit{" "} - - { + const router = useRouter(); + return ( + <> +
+ Running on commit{" "} + + + {( + process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA || "unknown" + ).substring(0, 7)} + {" "} + {process.env.NEXT_PUBLIC_VERCEL_GIT_PULL_REQUEST_ID != undefined && + process.env.NEXT_PUBLIC_VERCEL_GIT_PULL_REQUEST_ID != "" && ( + <> + {" "} + | on PR{" "} + + {process.env.NEXT_PUBLIC_VERCEL_GIT_PULL_REQUEST_ID} + {" "} + by{" "} + + {process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_AUTHOR_NAME} + + + )}{" "} + {process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_MESSAGE != undefined && + `| ${process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_MESSAGE.substring(0, 24)}`} + +
+
+
-
-
- - Version 1.2.0 (September 3rd 2024) - -
    -
  • • Added documentation
  • -
  • • Brand new linking of padding and server options
  • -
  • • New system to ensure automatic Cron actions!
  • -
  • • and alot more!
  • -
-
-
-
- - Version 1.1.0 (August 24rd 2024) - -
    -
  • • Brand new hero page
  • -
  • • New padding option on server list
  • -
  • • New help guide
  • -
-
-
-
- - Version 1.0.0 (August 22nd 2024) - -
    -
  • - • 1.0!{" "} - -
  • -
  • • New hover card on server title hover
  • -
  • • Moving to self-hosted cron jobs
  • -
  • • Fixing some mobile issues
  • -
-
-
- + + Discord + + + Join the offical Minehut Discord server! Talk to people that like + MHSF too! + + + + +
+
+
+ + Version 1.2.0 (September 4th 2024) + + +
+
+
+
+ + Version 1.2.0 (September 3rd 2024) + + +
+
+
+ + Version 1.1.0 (August 24rd 2024) + + +
+
+
+ + Version 1.0.0 (August 22nd 2024) + + +
+
+ -
-
- - Version b-0.10.7 (August 18th 2024) - -
    -
  • • New server information tab on server pages
  • -
-
-
-
- - Version b-0.10.2 (August 18th 2024) - -
    -
  • • Content fades-in on load
  • -
  • • Instead of using spinners, now we are using Skeletons
  • -
-
-
-
- - Version b-0.10.0 (August 17th 2024) - -
    -
  • • Revamped server list button list
  • -
  • • Added welcome dialog when first launching
  • -
  • - • Fixed an issue where servers were still able to be favorited - client-side when logged out -
  • -
  • • Improved MOTD engine
  • -

- 👀 - {/** Ensure Tailwind pre-renders all grid column types */} - - - -
-
-
-
- - Version b-0.9.0 (August 15th 2024) - -
    -
  • • Adding favorites sorting option
  • -
  • • Fixed right-click context menu on the server list
  • -
  • • Fixed metadata bugs
  • -
+
+ + Version b-0.10.7 (August 18th 2024) + +
    +
  • • New server information tab on server pages
  • +
+

- - Hey! Update on statistics. Recently, we have figured out the Minehut API - is blocked to Vercel servers (atleast the /servers{" "} - endpoint). I'm actively trying to find a loop-hole so that statistics - works correctly. Thank you {":)"} - +
+ + Version b-0.10.2 (August 18th 2024) + +
    +
  • • Content fades-in on load
  • +
  • • Instead of using spinners, now we are using Skeletons
  • +
+

-
-
-
- - Version b-0.8.0 (August 11th 2024) - -
    -
  • • Fixing up command bar
  • -
  • • Renaming "Short Term" to "Statistics"
  • -
-
-
-
- - Version b-0.7.2 (August 7th 2024) - -
    -
  • • Adding new spinners to pages that needed it
  • -
  • • Fixed lots of bugs
  • -
  • • Moved from Inngest to Vercel Cron
  • -
-
-
-
- - Version b-0.7.0 (August 7th 2024) - -
    -
  • • Added customization to servers
  • -
  • • New button focus effect
  • -
  • • Lots of bugfixes
  • -
-
-
-
- - Version b-0.6.0 (August 3rd 2024) - -
    -
  • • Enhanced shortcuts
  • -
  • • Added gradient beam to player count
  • -
  • • Updated loading animations
  • -
  • • Lots of bugfixes
  • -
-
-
-
- - Version b-0.4.5 (July 26th 2024): - -
    -
  • • Made charts better
  • -
  • • Sorted API endpoints
  • -
-
-
-
- - Version b-0.4 (July 25th 2024): - -
    -
  • • Added Info button
  • -
  • • Fixed Clerk in production
  • -
  • • Added Turbo for faster builds
  • -
  • - • Added historical data -
  • -
-
-
-
- - Version b-0.3 (July 23th 2024): - -
    -
  • - • Fixed minor bugs described by -
  • -
-
-
-
- - Version b-0.2 (July 23th 2024): - -
    -
  • • Inital release!
  • -
-
-
-
- All developers that helped out: - - cool badge - -
- +
+ + Version b-0.10.0 (August 17th 2024) + +
    +
  • • Revamped server list button list
  • +
  • • Added welcome dialog when first launching
  • +
  • + • Fixed an issue where servers were still able to be favorited + client-side when logged out +
  • +
  • • Improved MOTD engine
  • +
+
+ 👀 + {/** Ensure Tailwind pre-renders all grid column types */} + + + +
+
+
+
+ + Version b-0.9.0 (August 15th 2024) + +
    +
  • • Adding favorites sorting option
  • +
  • • Fixed right-click context menu on the server list
  • +
  • • Fixed metadata bugs
  • +
+
+ + Hey! Update on statistics. Recently, we have figured out the Minehut + API is blocked to Vercel servers (atleast the /servers{" "} + endpoint). I'm actively trying to find a loop-hole so that statistics + works correctly. Thank you {":)"} + +
+
+
+
+ + Version b-0.8.0 (August 11th 2024) + +
    +
  • • Fixing up command bar
  • +
  • • Renaming "Short Term" to "Statistics"
  • +
+
+
+
+ + Version b-0.7.2 (August 7th 2024) + +
    +
  • • Adding new spinners to pages that needed it
  • +
  • • Fixed lots of bugs
  • +
  • • Moved from Inngest to Vercel Cron
  • +
+
+
+
+ + Version b-0.7.0 (August 7th 2024) + +
    +
  • • Added customization to servers
  • +
  • • New button focus effect
  • +
  • • Lots of bugfixes
  • +
+
+
+
+ + Version b-0.6.0 (August 3rd 2024) + +
    +
  • • Enhanced shortcuts
  • +
  • • Added gradient beam to player count
  • +
  • • Updated loading animations
  • +
  • • Lots of bugfixes
  • +
+
+
+
+ + Version b-0.4.5 (July 26th 2024): + +
    +
  • • Made charts better
  • +
  • • Sorted API endpoints
  • +
+
+
+
+ + Version b-0.4 (July 25th 2024): + +
    +
  • • Added Info button
  • +
  • • Fixed Clerk in production
  • +
  • • Added Turbo for faster builds
  • +
  • + • Added historical data +
  • +
+
+
+
+ + Version b-0.3 (July 23th 2024): + +
    +
  • + • Fixed minor bugs described by +
  • +
+
+
+
+ + Version b-0.2 (July 23th 2024): + +
    +
  • • Inital release!
  • +
+
+
+
+ All developers that helped out: + + cool badge + +
+ + ); +}; + +const Github = (props: SVGProps) => ( + + + +); + +import type { SVGProps } from "react"; +import Marquee from "@/components/effects/marquee"; +import { useRouter } from "@/lib/useRouter"; +import { BookIcon } from "lucide-react"; +const Discord = (props: SVGProps) => ( + + + );