File size: 3,455 Bytes
d3410d9 c222eeb 2823106 c222eeb af3a153 3ccad14 af3a153 dc524c6 af3a153 91acf6d af3a153 c222eeb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
<!doctype html>
<html style="height:100%;">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>My static Space</title>
<link rel="stylesheet" href="style.css" />
</head>
<body style="margin:0; height:100%; overflow:hidden;">
<iframe src="https://partner.novamsg.org:8030/"
style="width:100%; height:100%; border:none; display:block;"
allowfullscreen>
Your browser does not support iframes.
</iframe>
</body>
<!------------------------------- view_layouts_base_body_bottom ------------------------->
<!------------------------------- view_layouts_base_body_bottom ------------------------->
<script>
// ํ์ฌ URL ๊ฒฝ๋ก ๊ฐ์ ธ์ค๊ธฐ
const currentPath = window.location.pathname;
// ๋๋ค ๋ฉ์์ง ๋ฐฐ์ด
const defaultMessages = [
"React์ Vue์ ์ฐจ์ด์ ์ ๋ฌด์์ธ๊ฐ์?",
"JavaScript์์ ๋น๋๊ธฐ ํ๋ก๊ทธ๋๋ฐ์ ์ด๋ป๊ฒ ๊ตฌํํ๋์?",
"TypeScript์ ์ฃผ์ ํน์ง๊ณผ ์ฅ์ ์ ๋ฌด์์ธ๊ฐ์?",
"์น ์ ๊ทผ์ฑ์ ํฅ์์ํค๋ ๋ฐฉ๋ฒ์๋ ์ด๋ค ๊ฒ๋ค์ด ์๋์?",
"์ต์ CSS ๊ธฐ์ ์ธ Flexbox์ Grid์ ์ฃผ์ ์ฉ๋๋ ๋ฌด์์ธ๊ฐ์?"
];
// ๋๋ค ๋ฉ์์ง ์ ํ
const randomMessage = defaultMessages[Math.floor(Math.random() * defaultMessages.length)];
// ์คํฌ๋ฆฝํธ ์์ฑ ์ค์
let scriptAttributes = {
"data-embed-id": "dc588ca9-bf9b-406b-a511-73ea3485c175", // ๊ธฐ๋ณธ๊ฐ
"data-chat-icon": "chatBubble",
"data-sponsor-text": "๋ฏธ๋์ด๋ก๊ทธ AX์๋ฃจ์
๊ธฐ์ TF",
"data-sponsor-link": "https://www.medialog.co.kr",
"data-open-on-load": "๋๋ ์ด๋ค ์ผ์ ํ ์ ์์ด?",
"data-window-height": "800px",
"data-window-width": "500px",
"data-brand-image-url": "https://partner.novamsg.org/cms/assets/download/9192/exaone_banner.png",
"data-assistant-icon": "https://partner.novamsg.org/cms/assets/download/9177/exaone.png",
"data-base-api-url": "https://partner.novamsg.org:5004/api/embed",
"data-assistant-name": "์ง์๊ธฐ๋ฐ ์ฑ๋ด (All in AI)",
"data-greeting": "๊ธฐ์
/์๋ฃจ์
๋ด๋น AX์๋ฃจ์
๊ธฐ์ TF ์์ ์ด์ํ๋ ์ก์ฌ์ ์ฑ๋ด ์
๋๋ค.",
"data-default-messages": randomMessage
};
// URL์ ๋ฐ๋ผ ํน์ ์์ฑ ์์
if (currentPath === "/projects/ax-tf") {
scriptAttributes["data-embed-id"] = "8794b20f-68e4-4c7e-8f4c-b3fc4ffbc5d5";
scriptAttributes["data-chat-icon"] = "plus";
scriptAttributes["data-brand-image-url"] = "https://partner.novamsg.org/cms/assets/download/9192/exaone_banner.png";
scriptAttributes["data-greeting"] ="๊ธฐ์
/์๋ฃจ์
๋ด๋น AX์๋ฃจ์
๊ธฐ์ TF์์ ์ด์ํ๋ ์์ฌ์ LLM ์
๋๋ค.";
}
// ๋์ ์คํฌ๋ฆฝํธ ์์ฑ
const script = document.createElement("script");
Object.entries(scriptAttributes).forEach(([key, value]) => {
script.setAttribute(key, value);
});
script.src = "https://partner.novamsg.org:5004/embed/anythingllm-chat-widget.min.js";
// ์คํฌ๋ฆฝํธ๋ฅผ body์ ์ถ๊ฐ
document.body.appendChild(script);
</script>
<!--
Paste this script at the bottom of your HTML before the </body> tag.
See more style and config options on our docs
https://github.com/Mintplex-Labs/anything-llm/tree/master/embed/README.md
-->
<!-- AnythingLLM (https://anythingllm.com) -->
</html> |