diff --git a/apps/OpenSign/src/components/pdf/EmbedTab.js b/apps/OpenSign/src/components/pdf/EmbedTab.js
index 60caaab12..f0525df1a 100644
--- a/apps/OpenSign/src/components/pdf/EmbedTab.js
+++ b/apps/OpenSign/src/components/pdf/EmbedTab.js
@@ -8,12 +8,13 @@ function EmbedTab(props) {
const { t } = useTranslation();
const tabName = [
{ title: "React/Next.js", icon: "fa-brands fa-react", color: "#61dafb" },
+ { title: "JavaScript", icon: "fa-brands fa-js", color: "#ffd43b" },
{ title: "Angular", icon: "fa-brands fa-angular", color: "#ff5733" }
];
const [activeTab, setActiveTab] = useState(0);
// State to track if the code has been copied
const [isCopied, setIsCopied] = useState(false);
- const codeData = [
+ const reactCode = [
{
id: 0,
title: "Installation",
@@ -44,6 +45,51 @@ export function App() {
}
];
+ const angularCode = [
+ {
+ id: 0,
+ title: "Installation",
+ codeString: `
+npm install opensign-angular`
+ },
+ {
+ id: 1,
+ title: "Usage",
+ codeString: `
+import { Component } from '@angular/core';
+import {OpensignComponent} from "opensign-angular"
+
+@Component({
+ selector:'app-root',
+ standalone: true,
+ imports: [OpensignComponent],
+ template: '
@@ -133,10 +179,93 @@ export function App() { {t("public-template-mssg-5")}
{t(`${data.title}`)}
*/} + +Feature comming soon
+ activeTab === 2 && ( ++ {t(`${data.title}`)} +
+ {ind === 0 && ( ++ {t("public-template-mssg-1")} +
+ )} ++ {t("public-template-mssg-2")} +
+ )} ++ {t("public-template-mssg-3")} +
++ {" "} + {t("public-template-mssg-4")} + + {" "} + OpenSign Angular package{" "} + + {t("public-template-mssg-5")} +