Skip to content

Commit ab4c3d9

Browse files
Opening slide tweaks
1 parent 7ce06bb commit ab4c3d9

1 file changed

Lines changed: 16 additions & 9 deletions

File tree

‎app/routes/index.tsx‎

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,42 @@ import { loadHeroIcons, typeLoadedIconComponent } from "../view/icons";
99
export let meta: MetaFunction = () => {
1010
return {
1111
title: "Remix Starter",
12-
description: "Welcome to remix!"
12+
description: "Welcome to remix!",
1313
};
1414
};
1515

1616
export let links: LinksFunction = () => {
1717
return [{ rel: "stylesheet", href: stylesUrl }];
1818
};
1919

20-
const heroIcons = [
21-
"solid/chat-alt-2.svg",
22-
] as const;
20+
const heroIcons = ["solid/chat-alt-2.svg"] as const;
2321

2422
export let loader: LoaderFunction = async () => {
2523
return {
2624
icons: await loadHeroIcons(heroIcons),
2725
};
2826
};
2927

30-
const LoadedIcon = typeLoadedIconComponent<
31-
typeof heroIcons[-1]
32-
>();
28+
const LoadedIcon = typeLoadedIconComponent<typeof heroIcons[-1]>();
3329

3430
export default function Index() {
3531
return (
3632
<main data-measure="center" data-text="center">
3733
<h1>JavaScript Regenerated</h1>
3834
<div style={{ color: "white" }}>
39-
<LoadedIcon name="solid/chat-alt-2.svg" width={120} height={120} />
40-
<h2 style={{ paddingTop: "0rem" }}>Make Components using <br /> Message Generators</h2>
35+
{/* <LoadedIcon name="solid/chat-alt-2.svg" width={120} height={120} /> */}
36+
<svg width="120" height="120">
37+
<svg
38+
xmlns="http://www.w3.org/2000/svg"
39+
viewBox="0 0 20 20"
40+
>
41+
<path d="M2 5a2 2 0 012-2h7a2 2 0 012 2v4a2 2 0 01-2 2H9l-3 3v-3H4a2 2 0 01-2-2V5z" fill="#FFBE00"></path>
42+
<path d="M15 7v2a4 4 0 01-4 4H9.828l-1.766 1.767c.28.149.599.233.938.233h2l3 3v-3h2a2 2 0 002-2V9a2 2 0 00-2-2h-1z" fill="#B7ADFF"></path>
43+
</svg>
44+
</svg>
45+
<h2 style={{ paddingTop: "0rem" }}>
46+
Make Components using <br /> Message Generators
47+
</h2>
4148
</div>
4249
<PrimaryNavigation />
4350
</main>

0 commit comments

Comments
 (0)