fix favicon

This commit is contained in:
41666 2023-06-10 23:34:42 -04:00
parent 251931c838
commit 4fbc738fdf
5 changed files with 14 additions and 4 deletions

View file

@ -13,7 +13,7 @@ import { FactionBar } from "./faction-bar";
import type { MetagameWorld } from "~/utils/metagame"; import type { MetagameWorld } from "~/utils/metagame";
import type { PopulationWorld } from "~/utils/population"; import type { PopulationWorld } from "~/utils/population";
import { c } from "~/utils/classes"; import { c } from "~/utils/classes";
import { ReactFragment, useEffect, useState } from "react"; import { useEffect, useState } from "react";
export type IndexWorldProps = { export type IndexWorldProps = {
metagame: MetagameWorld; metagame: MetagameWorld;

View file

@ -12,8 +12,16 @@ import * as styles from "./root.css";
import "./reset.css"; import "./reset.css";
export const links: LinksFunction = () => [ export const links: LinksFunction = () => [
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: true }, {
{ rel: "preconnect", href: "ttps://fonts.googleapis.com", crossorigin: true }, rel: "preconnect",
href: "https://fonts.gstatic.com",
crossOrigin: "anonymous",
},
{
rel: "preconnect",
href: "ttps://fonts.googleapis.com",
crossOrigin: "anonymous",
},
{ {
rel: "stylesheet", rel: "stylesheet",
href: "https://fonts.googleapis.com/css2?family=Unbounded:wght@700&display=swap", href: "https://fonts.googleapis.com/css2?family=Unbounded:wght@700&display=swap",

View file

@ -1,6 +1,7 @@
import type { LoaderArgs, V2_MetaFunction } from "@remix-run/cloudflare"; import type { LoaderArgs, V2_MetaFunction } from "@remix-run/cloudflare";
import { json } from "@remix-run/cloudflare"; import { json } from "@remix-run/cloudflare";
import { useLoaderData } from "@remix-run/react"; import { useLoaderData } from "@remix-run/react";
import { Footer } from "~/components/footer";
import type { MetagameWorld } from "~/utils/metagame"; import type { MetagameWorld } from "~/utils/metagame";
import { fetchSingleMetagameWorld } from "~/utils/metagame"; import { fetchSingleMetagameWorld } from "~/utils/metagame";
import type { WorldResponse, Zone } from "~/utils/saerro"; import type { WorldResponse, Zone } from "~/utils/saerro";
@ -70,7 +71,7 @@ export default function World() {
const worldInfo = worlds[String(id || "default")]; const worldInfo = worlds[String(id || "default")];
return ( return (
<div style={{ fontFamily: "system-ui, sans-serif", lineHeight: "1.6" }}> <div>
<h1>{worldInfo.name}</h1> <h1>{worldInfo.name}</h1>
<h2>Total Population</h2> <h2>Total Population</h2>
<p> <p>
@ -83,6 +84,7 @@ export default function World() {
<ZoneInfo zone={zone} key={zone.id} /> <ZoneInfo zone={zone} key={zone.id} />
))} ))}
</div> </div>
<Footer isMainPage />
</div> </div>
); );
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB