diff --git a/src/main/java/com/hlab/yanalyst/web/WebController.java b/src/main/java/com/hlab/yanalyst/web/WebController.java index f8ce7cf..71ff038 100644 --- a/src/main/java/com/hlab/yanalyst/web/WebController.java +++ b/src/main/java/com/hlab/yanalyst/web/WebController.java @@ -64,6 +64,12 @@ public class WebController { return "feed"; } + @GetMapping("/shortform") + public String shortform(Model model) { + model.addAttribute("currentPage", "shortform"); + return "shortform"; + } + @GetMapping("/recommend") public String recommend(Model model) { model.addAttribute("currentPage", "recommend"); diff --git a/src/main/resources/templates/layout/sidebar.html b/src/main/resources/templates/layout/sidebar.html index 5e6f972..e3cf5d4 100644 --- a/src/main/resources/templates/layout/sidebar.html +++ b/src/main/resources/templates/layout/sidebar.html @@ -24,6 +24,9 @@ + + +
diff --git a/src/main/resources/templates/shortform.html b/src/main/resources/templates/shortform.html new file mode 100644 index 0000000..06777b4 --- /dev/null +++ b/src/main/resources/templates/shortform.html @@ -0,0 +1,166 @@ + + + + +유튜브 URL을 등록하면 Opal 숏폼 생성기 결과를 구간별로 저장·조회합니다.
+