diff --git a/components/TallCard.js b/components/TallCard.js index 692057e..76e369e 100644 --- a/components/TallCard.js +++ b/components/TallCard.js @@ -15,10 +15,9 @@ export default function TallCard({
- +
+ {image({ className: "w-full h-full" })} +

{title}

{description}

diff --git a/components/icons/TallCard/app.js b/components/icons/TallCard/app.js new file mode 100644 index 0000000..b6f09ce --- /dev/null +++ b/components/icons/TallCard/app.js @@ -0,0 +1,13 @@ +export default function AppIcon({ className }) { + return + + + + + + + + + + +} \ No newline at end of file diff --git a/components/icons/TallCard/env.js b/components/icons/TallCard/env.js new file mode 100644 index 0000000..e03396d --- /dev/null +++ b/components/icons/TallCard/env.js @@ -0,0 +1,9 @@ +export default function EnvironmentIcon({ className }) { + return + + + + + + +} \ No newline at end of file diff --git a/components/icons/TallCard/full.js b/components/icons/TallCard/full.js new file mode 100644 index 0000000..edd4b52 --- /dev/null +++ b/components/icons/TallCard/full.js @@ -0,0 +1,7 @@ +export default function FullStackIcon({ className }) { + return + + + + +} \ No newline at end of file diff --git a/components/icons/TallCard/hoon.js b/components/icons/TallCard/hoon.js new file mode 100644 index 0000000..dcd1a53 --- /dev/null +++ b/components/icons/TallCard/hoon.js @@ -0,0 +1,19 @@ +export default function HoonIcon({ className }) { + return + + + + + + + + + + + + + + + + +} \ No newline at end of file diff --git a/pages/guides/[[...slug]].js b/pages/guides/[[...slug]].js index f954eae..c6e54cb 100644 --- a/pages/guides/[[...slug]].js +++ b/pages/guides/[[...slug]].js @@ -21,6 +21,10 @@ import { getNextPost, } from "@urbit/foundation-design-system"; import { Comms, Ringsig, Squad } from "../../components/icons"; +import HoonIcon from "../../components/icons/TallCard/hoon"; +import EnvironmentIcon from "../../components/icons/TallCard/env"; +import AppIcon from "../../components/icons/TallCard/app"; +import FullStackIcon from "../../components/icons/TallCard/full"; import guidesTree from "../../cache/guides.json"; import { join } from "path"; @@ -173,7 +177,7 @@ function Landing({ search }) { description="Learn how to get your urbit development environment configured" callout="View Guide" href="/guides/core/environment" - image="/images/environment.svg" + image={EnvironmentIcon} className="h-full" /> @@ -191,7 +195,7 @@ function Landing({ search }) { description="Learn how to build Urbit userspace applications by writing your own Gall agents" callout="View Guide" href="/guides/core/app-school" - image="/images/app.svg" + image={AppIcon} className="h-full" /> @@ -293,7 +297,7 @@ function Landing({ search }) {