Skip to content

Commit 97c52f3

Browse files
committed
Community: added /school/ to linkedin match, overview logos cosmetics
1 parent cca1542 commit 97c52f3

10 files changed

Lines changed: 11 additions & 11 deletions

File tree

community-app/frontend/src/components/LinksHelper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { logos } from '../components/logos/logos.js'
22
import { stripHttp, ensureHttps } from '../utils.js'
33

44
const matchLastSegment = /([^\/]+)\/?$/;
5-
const matchInOrCompanyName = /(?:\/?(company|in)\/([^\/]+))\/?$/i;
5+
const matchForLinkedIn = /(?:\/?(company|in|school)\/([^\/]+))\/?$/i;
66
const matchName = /^[a-zA-Z0-9\-_.]+$/;
77

88
const linkInfo = {
@@ -44,7 +44,7 @@ export const linkData = (key, url)=>{
4444

4545
if (key == 'linkedin')
4646
{
47-
const match = url.match(matchInOrCompanyName, '');
47+
const match = url.match(matchForLinkedIn, '');
4848

4949
let handle;
5050

community-app/frontend/src/styles/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $orange-hover: #ee4b28;
1414

1515
.logo {
1616
height: 55px;
17-
margin: 1rem 4rem 1rem 0;
17+
margin: 1rem 3rem 1rem 0;
1818

1919
img{
2020
max-height: 55px;

static/js/vue/app-BusinessView-D_UB-W_j.js renamed to static/js/vue/app-BusinessView-lkBcoAsE.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/js/vue/app-InstitutionBasics-CyZndSqW.js renamed to static/js/vue/app-InstitutionBasics-BmUmzrbB.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/js/vue/app-SocialView-BJUbEF2f.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

static/js/vue/app-SocialView-TC0-A7rk.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)