From e00bff2690a1bf4d2d2ce3fae9880b7d26c200c2 Mon Sep 17 00:00:00 2001
From: plup <plup@plup.io>
Date: Fri, 10 Dec 2021 19:05:56 +0100
Subject: [PATCH] feat: created rocketchat page

---
 src/views/page-rocketchat.pug    | 1 +
 src/views/partials/menu-left.pug | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 src/views/page-rocketchat.pug

diff --git a/src/views/page-rocketchat.pug b/src/views/page-rocketchat.pug
new file mode 100644
index 00000000..cf5be5d3
--- /dev/null
+++ b/src/views/page-rocketchat.pug
@@ -0,0 +1 @@
+iframe(width='100%', height='100%', src=`${component.parameters.target}`)
diff --git a/src/views/partials/menu-left.pug b/src/views/partials/menu-left.pug
index 2fd8c5ae..af4584c1 100644
--- a/src/views/partials/menu-left.pug
+++ b/src/views/partials/menu-left.pug
@@ -31,7 +31,6 @@ solid-router#navbar-router(default-route=defaultRoute)
             div.segment.icon.icon-small.icon-grid
           div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.communities")
         div.divider
-          
       if component.type == "circles"
         div.jsMenuTab
           div.menu-header.segment.full.padding-xsmall.text-semibold.text-color-white.bg-color-heading.transparent-background.hover.cursor-pointer.jsMenuHeader
@@ -100,6 +99,12 @@ solid-router#navbar-router(default-route=defaultRoute)
               filtered-by="general-search"
               order-asc="contact.name"
             )
+      if component.type == "rocketchat"
+        solid-route.menu-tab.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.transparent-background.hover.active(name=component.route)
+          div.segment.margin-right-xxsmall
+            div.segment.icon.icon-small.icon-briefcase
+          div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.rocketchat")
+        div.divider
       if component.type == "projects"
         div.jsMenuTab
           div.menu-header.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.transparent-background.hover.active.cursor-pointer.jsMenuHeader
-- 
GitLab