mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-27 22:24:14 +00:00
Compare commits
No commits in common. "b15b42b04d8f2317f21701f9049e4dd61ab503e0" and "277c0b4a55a0d34bd9e863c63e5d6cc402c0ca43" have entirely different histories.
b15b42b04d
...
277c0b4a55
2 changed files with 2 additions and 17 deletions
|
|
@ -158,10 +158,7 @@ export default function MiiList({ parentPage, userId, bypassCache }: Props) {
|
||||||
<Pagination lastPage={data.lastPage} />
|
<Pagination lastPage={data.lastPage} />
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<p>No Miis found, has the server died?</p>
|
||||||
<p className="text-2xl text-center">No Miis found, has the server died?</p>
|
|
||||||
<p className="text-center font-bold text-lg">Please try refreshing first!</p>
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ import Header from "./components/header";
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { useLocation, useNavigate } from "react-router";
|
import { useLocation, useNavigate } from "react-router";
|
||||||
import { session } from "./session";
|
import { session } from "./session";
|
||||||
import { Icon } from "@iconify/react";
|
|
||||||
|
|
||||||
export default function Layout({ children }: { children: React.ReactNode }) {
|
export default function Layout({ children }: { children: React.ReactNode }) {
|
||||||
const $session = useStore(session);
|
const $session = useStore(session);
|
||||||
|
|
@ -57,18 +56,7 @@ export default function Layout({ children }: { children: React.ReactNode }) {
|
||||||
<>
|
<>
|
||||||
<Header />
|
<Header />
|
||||||
<AdminBanner />
|
<AdminBanner />
|
||||||
<a
|
<main className="px-4 py-8 max-w-7xl w-full grow flex flex-col">{children}</main>
|
||||||
href="https://ko-fi.com/trafficlunar"
|
|
||||||
target="_blank"
|
|
||||||
aria-label="Support on Ko-fi"
|
|
||||||
className="pill button h-full bg-[#FF5E5B]! hover:bg-[#e04f4c]! border-[#e04f4c]! text-white! inline-flex items-center gap-2 mt-4"
|
|
||||||
data-tooltip-span
|
|
||||||
>
|
|
||||||
<div className="tooltip bg-[#FF5E5B]! border-[#FF5E5B]! before:border-b-[#FF5E5B]!">Support me (trafficlunar) on Ko-fi</div>
|
|
||||||
<Icon icon="simple-icons:kofi" fontSize={20} />
|
|
||||||
Support me!
|
|
||||||
</a>
|
|
||||||
<main className="px-4 py-8 pt-4 max-w-7xl w-full grow flex flex-col">{children}</main>
|
|
||||||
<Footer />
|
<Footer />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue