Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

add github btn to templates page (#313)

Guy Ben-Aharon85934202c602
diff --git a/src/pages/template-page/template-page.tsx b/src/pages/template-page/template-page.tsx
index 906003f2..9965a27b 100644
--- a/src/pages/template-page/template-page.tsx
+++ b/src/pages/template-page/template-page.tsx
@@ -142,8 +142,14 @@ const TemplatePageComponent: React.FC = () => {
</a>
</div>
</div>
- <div className="group flex flex-1 flex-row items-center justify-center"></div>
- <div className="hidden flex-1 justify-end sm:flex"></div>
+ <div className="flex flex-1 justify-end">
+ <iframe
+ src={`https://ghbtns.com/github-btn.html?user=chartdb&repo=chartdb&type=star&size=large&text=false`}
+ width="40"
+ height="30"
+ title="GitHub"
+ ></iframe>
+ </div>
</nav>
{!template ? (
<Spinner size={'large'} className="mt-20 text-pink-600" />
diff --git a/src/pages/templates-page/templates-page.tsx b/src/pages/templates-page/templates-page.tsx
index c5d0f8c7..3c9cd7ec 100644
--- a/src/pages/templates-page/templates-page.tsx
+++ b/src/pages/templates-page/templates-page.tsx
@@ -78,8 +78,14 @@ const TemplatesPageComponent: React.FC = () => {
</a>
</div>
</div>
- <div className="group flex flex-1 flex-row items-center justify-center"></div>
- <div className="hidden flex-1 justify-end sm:flex"></div>
+ <div className="flex flex-1 justify-end">
+ <iframe
+ src={`https://ghbtns.com/github-btn.html?user=chartdb&repo=chartdb&type=star&size=large&text=false`}
+ width="40"
+ height="30"
+ title="GitHub"
+ ></iframe>
+ </div>
</nav>
<div className="flex flex-col p-3 text-center md:px-28 md:text-left">
<h1 className="font-primary text-2xl font-bold">