From f7a790e72f2ff16aeb12a1b66f411499e36da5cf Mon Sep 17 00:00:00 2001
From: Lee Dohm <1038121+lee-dohm@users.noreply.github.com>
Date: Fri, 23 Oct 2020 13:11:49 -0700
Subject: [PATCH] Initial commit
---
LICENSE.md | 20 ++++++++++++++++++++
README.md | 9 +++++++++
about.json | 7 +++++++
common/common.scss | 3 +++
common/head_tag.html | 6 ++++++
5 files changed, 45 insertions(+)
create mode 100644 LICENSE.md
create mode 100644 README.md
create mode 100644 about.json
create mode 100644 common/common.scss
create mode 100644 common/head_tag.html
diff --git a/LICENSE.md b/LICENSE.md
new file mode 100644
index 0000000..5207113
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,20 @@
+The MIT License (MIT)
+
+Copyright © 2020 [Lee Dohm](https://www.lee-dohm.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..17a48bc
--- /dev/null
+++ b/README.md
@@ -0,0 +1,9 @@
+# Discourse User Profile GitHub Link
+
+A [Discourse][discourse] theme component that adds a link to the user's GitHub profile on their user profile page and user card, so long as their Discourse username matches their GitHub username.
+
+[discourse]: https://www.discourse.org
+
+## License
+
+[MIT](LICENSE.md)
diff --git a/about.json b/about.json
new file mode 100644
index 0000000..3ca77e6
--- /dev/null
+++ b/about.json
@@ -0,0 +1,7 @@
+{
+ "name": "User Profile GitHub Link",
+ "component": true,
+ "license_url": "https://github.com/lee-dohm/discourse-user-profile-github-link/blob/main/LICENSE.md",
+ "about_url": "https://github.com/lee-dohm/discourse-user-profile-github-link/",
+ "theme_version": "0.1.0"
+}
diff --git a/common/common.scss b/common/common.scss
new file mode 100644
index 0000000..f2cc4b1
--- /dev/null
+++ b/common/common.scss
@@ -0,0 +1,3 @@
+.github-profile-link a[href] {
+ text-decoration: none !important;
+}
\ No newline at end of file
diff --git a/common/head_tag.html b/common/head_tag.html
new file mode 100644
index 0000000..fb777f6
--- /dev/null
+++ b/common/head_tag.html
@@ -0,0 +1,6 @@
+
+
\ No newline at end of file