From 1f9190048f930901b1083e90161ce46c11d6d3a1 Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Thu, 15 Jun 2023 13:01:01 +0200
Subject: [PATCH] Fix a few typos

---
 frontend/public/custom/markdown/README.md     | 28 +++++++++++++++----
 frontend/public/custom/markdown/gitlab.md     |  2 +-
 frontend/public/markdown/wordpress.md         | 17 ++++++++---
 .../DashboardCard/DashboardCard.tsx           |  2 +-
 4 files changed, 37 insertions(+), 12 deletions(-)

diff --git a/frontend/public/custom/markdown/README.md b/frontend/public/custom/markdown/README.md
index 37085a53..b2387d51 100644
--- a/frontend/public/custom/markdown/README.md
+++ b/frontend/public/custom/markdown/README.md
@@ -3,16 +3,32 @@ title: 'Custom App'
 tileExcerpt: 'This is the default card content for a custom app'
 ---
 
-You're seeing the default template content for a custom app. This content shows when Stackspin cannot find a markdown file that matches the name of the app.
+You're seeing the default template content for a custom app. This content shows
+when Stackspin cannot find a markdown file that matches the name of the app.
 
 ## Troubleshooting
 
-Open your Dashboard repository (https://open.greenhost.net/stackspin/dashboard) and check the `frontend/custom` folder, there should be two sub-directories: `assets` (for the logos) and `markdown` (for the app description and modal window content). There should be a markdown `'md` file and a vector`.svg` image file for your app, and they should be named like your app's slug, something like `markdown/gitlab.md` and `assets/gitlab.svg`. (If you followed the documentation and added `ext-` in front of your slugs, that's fine, we check for that.)
+Open your Dashboard repository (https://open.greenhost.net/stackspin/dashboard)
+and check the `frontend/custom` folder, there should be two sub-directories:
+`assets` (for the logos) and `markdown` (for the app description and modal
+window content). There should be a markdown `.md` file and a vector `.svg`
+image file for your app, and they should be named like your app's slug,
+something like `markdown/gitlab.md` and `assets/gitlab.svg`. (If you followed
+the documentation and added `ext-` in front of your slugs, that's fine, we
+check for that.)
 
-If the files aren't there, do please add them. For reference on Markdown formatting, you can follow the `default.md` structure (basically we need a `title` and an `excerpt` in the frontmatter, and the rest of the file can be whatever you like it to be).
+If the files aren't there, do please add them. For reference on markdown
+formatting, you can follow the `default.md` structure (basically we need a
+`title` and an `excerpt` in the frontmatter, and the rest of the file can be
+whatever you like it to be).
 
-If the files are there and are not being picked up by your Stackspin instance, please check out the Dashboard repository (https://open.greenhost.net/stackspin/dashboard) for help.
+If the files are there and are not being picked up by your Stackspin instance,
+please check out the Dashboard repository
+(https://open.greenhost.net/stackspin/dashboard) for help.
 
-For more information on how to fix this, check the External Apps chapter of the Documentation:https://docs.stackspin.net/en/v2/system_administration/external-app.html.
+For more information on how to fix this, check the External Apps chapter of the
+Documentation:https://docs.stackspin.net/en/v2/system_administration/external-app.html.
 
-If you're still struggling, please [open an issue in our Gitlab](https://open.greenhost.net/stackspin), or send us an email: info[@]stackspin.net.
+If you're still struggling, please [open an issue in our
+Gitlab](https://open.greenhost.net/stackspin), or send us an email:
+info[@]stackspin.net.
diff --git a/frontend/public/custom/markdown/gitlab.md b/frontend/public/custom/markdown/gitlab.md
index b0c8e6b8..c09a8ed2 100644
--- a/frontend/public/custom/markdown/gitlab.md
+++ b/frontend/public/custom/markdown/gitlab.md
@@ -1,5 +1,5 @@
 ---
-title: 'HedgeDoc'
+title: 'Gitlab'
 tileExcerpt: 'DevOps software package which can develop, secure, and operate software'
 ---
 
diff --git a/frontend/public/markdown/wordpress.md b/frontend/public/markdown/wordpress.md
index 37555b5c..0ea8e81e 100644
--- a/frontend/public/markdown/wordpress.md
+++ b/frontend/public/markdown/wordpress.md
@@ -5,12 +5,21 @@ tileExcerpt: 'The most used website platform in the world.'
 
 ## Introduction
 
-If you spent any time on the internet in the past twenty years, chances are you have used Wordpress. It is by far the most common website CMS (Content Management System).
+If you spent any time on the internet in the past twenty years, chances are you
+have used Wordpress. It is by far the most common website CMS (Content
+Management System).
 
-Wordpress in Stackspin is usually set up to serve the website on the main stackspin URL. The Wordpress "Launch App" button on your Stackspin dashboard will take you directly to the wordpress admin (wp-admin) page.
+Wordpress in Stackspin is usually set up to serve the website on the main
+stackspin URL. The Wordpress "Launch App" button on your Stackspin dashboard
+will take you directly to the wordpress admin (wp-admin) page.
 
 ## Signing in
 
-IF this is your first time signing in, or if you have logged out recently, please click on "Login with OpenID Connect" to access the Wordpress dashboard with your Stackspin user login.
+If this is your first time signing in, or if you have logged out recently,
+please click on "Login with OpenID Connect" to access the Wordpress dashboard
+with your Stackspin user login.
 
-Once inside the dashboard, you can set custom access privileges to users, as well as create non-Stackspin users directly from Wordpress. This might be useful if, for example, you have guest writers or editors that do not belong to your organization.
+Once inside the dashboard, you can set custom access privileges to users, as
+well as create non-Stackspin users directly from Wordpress. This might be
+useful if, for example, you have guest writers or editors that do not belong to
+your organization.
diff --git a/frontend/src/modules/dashboard/components/DashboardCard/DashboardCard.tsx b/frontend/src/modules/dashboard/components/DashboardCard/DashboardCard.tsx
index c5f4a2d0..b78fda67 100644
--- a/frontend/src/modules/dashboard/components/DashboardCard/DashboardCard.tsx
+++ b/frontend/src/modules/dashboard/components/DashboardCard/DashboardCard.tsx
@@ -98,7 +98,7 @@ export const DashboardCard = ({ app, version }: DashboardCardProps) => {
         </div>
         <div className="px-2.5 py-2.5 sm:px-4 flex justify-end">
           <a
-            href={app.slug === 'wordpresss' ? `${app.url}/wp-admin/` : app.url}
+            href={app.slug === 'wordpress' ? `${app.url}/wp-admin/` : app.url}
             target="_blank"
             rel="noreferrer"
             className="inline-flex items-center px-2.5 py-1.5 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500"
-- 
GitLab