From 7b7beefe37d7ab5ad96be46a1b74159ec046ad74 Mon Sep 17 00:00:00 2001 From: Wahyu Kurniawan Date: Wed, 28 Feb 2024 16:20:05 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style:=20adjust=20template=20car?= =?UTF-8?q?d=20name=20and=20arrow=20also=20responsive=20of=20the=20list=20?= =?UTF-8?q?of=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projects/create/TemplateCard/TemplateCard.tsx | 6 +++--- .../frontend/src/pages/org-slug/projects/create/index.tsx | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/frontend/src/components/projects/create/TemplateCard/TemplateCard.tsx b/packages/frontend/src/components/projects/create/TemplateCard/TemplateCard.tsx index b5ac2057..b7c549fd 100644 --- a/packages/frontend/src/components/projects/create/TemplateCard/TemplateCard.tsx +++ b/packages/frontend/src/components/projects/create/TemplateCard/TemplateCard.tsx @@ -51,7 +51,7 @@ export const TemplateCard = ({ template, isGitAuth }: TemplateCardProps) => { return ( diff --git a/packages/frontend/src/pages/org-slug/projects/create/index.tsx b/packages/frontend/src/pages/org-slug/projects/create/index.tsx index 252b75ce..48c576a3 100644 --- a/packages/frontend/src/pages/org-slug/projects/create/index.tsx +++ b/packages/frontend/src/pages/org-slug/projects/create/index.tsx @@ -1,7 +1,7 @@ import React from 'react'; import templates from 'assets/templates'; -import RepositoryList from 'components/projects/create/RepositoryList'; +import { RepositoryList } from 'components/projects/create/RepositoryList'; import ConnectAccount from 'components/projects/create/ConnectAccount'; import { useOctokit } from 'context/OctokitContext'; import { Heading } from 'components/shared/Heading'; @@ -16,7 +16,7 @@ const NewProject = () => { Start with template -
+
{templates.map((template) => { return ( { })}
-
Import a repository
+ + Import a repository + ) : (