diff --git a/src/components/common/template/TemplateBody.js b/src/components/common/template/TemplateBody.js
index d4093487..126d9106 100644
--- a/src/components/common/template/TemplateBody.js
+++ b/src/components/common/template/TemplateBody.js
@@ -26,10 +26,11 @@ export default function TemplateBody(props) {
}
const BodyBox = styled.div`
- display: flex,
- justify-content: center,
- align-items: center,
- height: 100%,
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 100%;
overflow-x: hidden;
overflow-y: auto;
`;
+
diff --git a/src/components/common/template/TemplateTitle.js b/src/components/common/template/TemplateTitle.js
index 5bbc5976..ee6f7449 100644
--- a/src/components/common/template/TemplateTitle.js
+++ b/src/components/common/template/TemplateTitle.js
@@ -1,5 +1,7 @@
+import styled from "styled-components";
import { useRecoilState, useRecoilValue } from "recoil";
import { modalState } from "../../../recoil/commonState";
+import GITHUB from "../../../assets/icons/github.svg";
import {
templateContent,
templatePreviewState,
@@ -10,6 +12,7 @@ import Typography from "@mui/material/Typography";
import Box from "@mui/material/Box";
import Button from "@mui/material/Button";
import LinkIcon from "@mui/icons-material/Link";
+import { blue } from "@mui/material/colors";
// props -> type(pr, readme, contributing)
export default function TemplateTitle(props) {
@@ -52,22 +55,27 @@ export default function TemplateTitle(props) {
alignItems: "center",
}}
>
-
- {showValue.length ? showValue[0].subtitle : ""}
+
{showValue.length && showValue[0].repoUrl ? (
- {
window.open(showValue[0].repoUrl);
}}
- >
+ >
+
+
+ {showValue[0].subtitle}
+
+
+
) : null}
-
+
{showValue.length && showValue[0].id ? (