Skip to content

Commit 12e73ee

Browse files
authored
Display framework logos on the onboarding setup pages (#519)
1 parent 2e33fcb commit 12e73ee

File tree

5 files changed

+18
-3
lines changed
  • apps/webapp/app
    • components/frameworks
    • routes
      • _app.orgs.$organizationSlug.projects.$projectParam.setup.astro
      • _app.orgs.$organizationSlug.projects.$projectParam.setup.express
      • _app.orgs.$organizationSlug.projects.$projectParam.setup.nextjs
      • _app.orgs.$organizationSlug.projects.$projectParam.setup.remix

5 files changed

+18
-3
lines changed

apps/webapp/app/components/frameworks/FrameworkSelector.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ export function FrameworkSelector() {
5757
<FrameworkLink to={projectSetupRemixPath(organization, project)} supported>
5858
<RemixLogo className="w-32" />
5959
</FrameworkLink>
60-
<FrameworkLink to={projectSetupRedwoodPath(organization, project)}>
61-
<RedwoodLogo className="w-44" />
62-
</FrameworkLink>
6360
<FrameworkLink to={projectSetupAstroPath(organization, project)} supported>
6461
<AstroLogo className="w-32" />
6562
</FrameworkLink>
63+
<FrameworkLink to={projectSetupRedwoodPath(organization, project)}>
64+
<RedwoodLogo className="w-44" />
65+
</FrameworkLink>
6666
<FrameworkLink to={projectSetupNuxtPath(organization, project)}>
6767
<NuxtLogo className="w-32" />
6868
</FrameworkLink>

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.setup.astro/route.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ export default function SetUpAstro() {
4444
return (
4545
<PageGradient>
4646
<div className="mx-auto max-w-3xl">
47+
<div className="mb-12 grid place-items-center">
48+
<AstroLogo className="w-64" />
49+
</div>
4750
<div className="flex items-center justify-between">
4851
<Header1 spacing className="text-bright">
4952
Get setup in 5 minutes

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.setup.express/route.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { ChatBubbleLeftRightIcon, Squares2X2Icon } from "@heroicons/react/20/solid";
22
import invariant from "tiny-invariant";
3+
import { ExpressLogo } from "~/assets/logos/ExpressLogo";
34
import { Feedback } from "~/components/Feedback";
45
import { PageGradient } from "~/components/PageGradient";
56
import { InitCommand, RunDevCommand, TriggerDevStep } from "~/components/SetupCommands";
@@ -36,6 +37,9 @@ export default function Page() {
3637
return (
3738
<PageGradient>
3839
<div className="mx-auto max-w-3xl">
40+
<div className="mb-12 grid place-items-center">
41+
<ExpressLogo className="w-64" />
42+
</div>
3943
<div className="flex items-center justify-between">
4044
<Header1 spacing className="text-bright">
4145
Get setup in 5 minutes

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.setup.nextjs/route.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import { useProject } from "~/hooks/useProject";
2828
import { Handle } from "~/utils/handle";
2929
import { projectSetupPath, trimTrailingSlash } from "~/utils/pathBuilder";
3030
import { Callout } from "~/components/primitives/Callout";
31+
import { NextjsLogo } from "~/assets/logos/NextjsLogo";
3132

3233
type SelectionChoices = "use-existing-project" | "create-new-next-app";
3334

@@ -48,6 +49,9 @@ export default function SetupNextjs() {
4849
return (
4950
<PageGradient>
5051
<div className="mx-auto max-w-3xl">
52+
<div className="mb-12 grid place-items-center">
53+
<NextjsLogo className="w-56" />
54+
</div>
5155
<div className="flex items-center justify-between">
5256
<Header1 spacing className="text-bright">
5357
Get setup in {selectedValue === "create-new-next-app" ? "5" : "2"} minutes

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.setup.remix/route.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import { projectSetupPath, trimTrailingSlash } from "~/utils/pathBuilder";
2727
import { Callout } from "~/components/primitives/Callout";
2828
import { InitCommand, RunDevCommand, TriggerDevStep } from "~/components/SetupCommands";
2929
import { Badge } from "~/components/primitives/Badge";
30+
import { RemixLogo } from "~/assets/logos/RemixLogo";
3031

3132
export const handle: Handle = {
3233
breadcrumb: (match) => <BreadcrumbLink to={trimTrailingSlash(match.pathname)} title="Remix" />,
@@ -43,6 +44,9 @@ export default function SetUpRemix() {
4344
return (
4445
<PageGradient>
4546
<div className="mx-auto max-w-3xl">
47+
<div className="mb-12 grid place-items-center">
48+
<RemixLogo className="w-64" />
49+
</div>
4650
<div className="flex items-center justify-between">
4751
<Header1 spacing className="text-bright">
4852
Get setup in 5 minutes

0 commit comments

Comments
 (0)