From 48d325deed02509f84f41ef444d100996e4b3a5b Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Thu, 5 Sep 2024 14:15:45 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20OGP=E7=94=A8=E3=81=AE=E3=82=AF=E3=83=A9?= =?UTF-8?q?=E3=82=B9=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hideout/core/interfaces/web/common/OGP.kt | 8 ++++++++ hideout-core/src/main/resources/templates/index.html | 12 ++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/common/OGP.kt diff --git a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/common/OGP.kt b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/common/OGP.kt new file mode 100644 index 00000000..e3206294 --- /dev/null +++ b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/common/OGP.kt @@ -0,0 +1,8 @@ +package dev.usbharu.hideout.core.interfaces.web.common + +data class OGP( + val title: String, + val url: String, + val description: String, + val image: String? +) diff --git a/hideout-core/src/main/resources/templates/index.html b/hideout-core/src/main/resources/templates/index.html index 9b20d93e..5e571e05 100644 --- a/hideout-core/src/main/resources/templates/index.html +++ b/hideout-core/src/main/resources/templates/index.html @@ -2,12 +2,12 @@
-