Skip to content

Commit

Permalink
Update changelog (friend rooms fix) and remove temporary toast
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicUsername12 committed Jan 2, 2025
1 parent 10ccdf5 commit 4216a5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
12 changes: 6 additions & 6 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import Link from "next/link";
import { useEffect, useState } from "react";
import { Alert, Badge, Carousel, ListGroup, Tab, Tabs } from "react-bootstrap";

import Session1Image from '../public/session1.png'
import Compe1Image from '../public/compe1.png'
import Mktv1Image from '../public/mktv1.png'
import Compe2Image from '../public/compe2.png'
import Session1Image from "../public/session1.png";
import Compe1Image from "../public/compe1.png";
import Mktv1Image from "../public/mktv1.png";
import Compe2Image from "../public/compe2.png";

const HomePage = () => {
return (
Expand All @@ -19,10 +19,10 @@ const HomePage = () => {
<h6>
<small className="text-muted">A full game server replacement for MK8</small>
</h6>
<Alert variant="info" className="w-75 mx-auto">
<Alert variant="warning" className="w-75 mx-auto">
<p>Update changelog:</p>
<div>
<li>Fix DataStore uploads (this fixes rankings, MKTV uploads)</li>
<li>Fix friend rooms bug, they now work as expected.</li>
</div>
</Alert>
<Tabs defaultActiveKey="home" className="mb-3">
Expand Down
14 changes: 0 additions & 14 deletions components/StaticToast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,9 @@ export interface StaticPopoverProps {
}

export const StaticToast: React.FC<StaticPopoverProps> = ({ title, body, align_center }) => {
const [showSecondToast, setShowSecondToast] = useState(true);

return (
<>
<ToastContainer className={"p-3" + (align_center ? " text-center" : "")} position="bottom-end" style={{ zIndex: 1, position: "fixed" }}>
<Toast show={showSecondToast} onClose={() => setShowSecondToast(false)} style={{ zIndex: "initial" }}>
<Toast.Header>
<strong>🟠 Temporary reminder</strong>
</Toast.Header>
<Toast.Body>
<p>
These errors <strong>are not linked to MK8:</strong>
</p>
<li>101-xxxx are linked to the Friend server</li>
<li>118-xxxx are linked to P2P (PIA)</li>
</Toast.Body>
</Toast>
<Toast>
<Toast.Header closeButton={false}>{title}</Toast.Header>
<Toast.Body>{body}</Toast.Body>
Expand Down

0 comments on commit 4216a5b

Please sign in to comment.