mhsf-dev/src/version.tsx

142 lines
3.9 KiB
TypeScript
Raw Normal View History

2024-08-11 22:14:36 -05:00
import Image from "next/image";
import Link from "next/link";
export const version = "b-0.8.0";
2024-07-26 00:46:53 -05:00
const User = ({ user }: { user: string }) => (
<span className="cursor-pointer bg-[rgba(255,165,0,0.25);] rounded p-[2.5px]">
2024-07-26 15:52:08 -05:00
{user}
2024-07-26 00:46:53 -05:00
</span>
);
export const Changelog = () => (
<>
<div>
Running on commit{" "}
<code>
<a
href={`https://github.com/DeveloLongScript/mhsf/commit/${process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA}`}
>
{(
process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA || "unknown"
).substring(0, 7)}
</a>{" "}
{process.env.NEXT_PUBLIC_VERCEL_GIT_PULL_REQUEST_ID != undefined &&
process.env.NEXT_PUBLIC_VERCEL_GIT_PULL_REQUEST_ID != "" && (
<>
{" "}
| on PR{" "}
<a
href={`https://github.com/DeveloLongScript/MHSF/pull/${process.env.NEXT_PUBLIC_VERCEL_GIT_PULL_REQUEST_ID}`}
>
{process.env.NEXT_PUBLIC_VERCEL_GIT_PULL_REQUEST_ID}
</a>{" "}
by{" "}
<a
href={`https://github.com/${process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_AUTHOR_NAME}`}
>
{process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_AUTHOR_NAME}
</a>
</>
)}{" "}
{process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_MESSAGE != undefined &&
2024-08-08 21:21:45 -05:00
`| ${process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_MESSAGE.substring(0, 24)}`}
</code>
</div>
2024-08-08 18:04:51 -05:00
<br />
2024-08-11 22:14:36 -05:00
<div>
<strong className="flex items-center">
Version b-0.8.0 (August 11th 2024)
</strong>
<ul>
<li> Fixing up command bar</li>
<li> Renaming "Short Term" to "Statistics"</li>
</ul>
</div>
<br />
2024-08-07 21:15:13 -05:00
<div>
<strong className="flex items-center">
Version b-0.7.2 (August 7th 2024)
</strong>
<ul>
<li> Adding new spinners to pages that needed it</li>
<li> Fixed lots of bugs</li>
<li> Moved from Inngest to Vercel Cron</li>
</ul>
</div>
<br />
2024-08-07 16:37:54 -05:00
<div>
<strong className="flex items-center">
Version b-0.7.0 (August 7th 2024)
</strong>
<ul>
<li> Added customization to servers</li>
<li> New button focus effect</li>
<li> Lots of bugfixes</li>
</ul>
</div>
<br />
2024-07-26 00:46:53 -05:00
<div>
<strong className="flex items-center">
2024-08-03 09:51:45 -05:00
Version b-0.6.0 (August 3rd 2024)
</strong>
<ul>
<li> Enhanced shortcuts</li>
<li> Added gradient beam to player count</li>
<li> Updated loading animations</li>
<li> Lots of bugfixes</li>
</ul>
</div>
<br />
<div>
<strong className="flex items-center">
2024-07-26 15:40:13 -05:00
Version b-0.4.5 (July 26th 2024):
</strong>
<ul>
<li> Made charts better</li>
<li> Sorted API endpoints</li>
</ul>
</div>
<br />
<div>
<strong className="flex items-center">
2024-07-26 16:05:44 -05:00
Version b-0.4 (July 25th 2024):
2024-07-26 00:46:53 -05:00
</strong>
<ul>
<li> Added Info button</li>
<li> Fixed Clerk in production</li>
<li> Added Turbo for faster builds</li>
2024-07-26 16:05:44 -05:00
<li>
<strong>Added historical data</strong>
</li>
2024-07-26 00:46:53 -05:00
</ul>
</div>
<br />
<div>
<strong className="flex items-center">
Version b-0.3 (July 23rd 2024):
2024-07-26 00:46:53 -05:00
</strong>
<ul>
<li>
Fixed minor bugs described by <User user="@Tarna" />
</li>
</ul>
</div>
<br />
<div>
<strong className="flex items-center">
Version b-0.2 (July 23rd 2024):
2024-07-26 00:46:53 -05:00
</strong>
<ul>
<li> Inital release!</li>
</ul>
</div>
2024-08-11 22:14:36 -05:00
<br />
<div className="w-full justify-center">
<Link href="https://dvelo.vercel.app">
<Image src="/imgs/badge1.png" alt="cool badge" width={88} height={31} />
</Link>
</div>
2024-07-26 00:46:53 -05:00
</>
);