Skip to content

Commit

Permalink
Added logo with spacing for system messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jherman00 committed Apr 22, 2024
1 parent 3055388 commit 102a621
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type {Post} from '@mattermost/types/posts';
import type {UserProfile} from '@mattermost/types/users';

import ProfilePicture from 'components/profile_picture';
import MattermostLogo from 'components/widgets/icons/mattermost_logo';
import MattermostLogo from 'components/widgets/icons/mattermost_logo_spacing';

import Constants, {UserStatuses} from 'utils/constants';
import * as PostUtils from 'utils/post_utils';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import PostAttachmentOpenGraph from 'components/post_view/post_attachment_opengr
import PostMessageView from 'components/post_view/post_message_view';
import Timestamp from 'components/timestamp';
import UserProfileComponent from 'components/user_profile';
import MattermostLogo from 'components/widgets/icons/mattermost_logo';
import MattermostLogo from 'components/widgets/icons/mattermost_logo_spacing';
import Avatar from 'components/widgets/users/avatar';

import {Constants} from 'utils/constants';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {ClientConfig, ClientLicense} from '@mattermost/types/config';
import type {PreferenceType} from '@mattermost/types/preferences';

import type {Notice} from 'components/system_notice/types';
import MattermostLogo from 'components/widgets/icons/mattermost_logo';
import MattermostLogo from 'components/widgets/icons/mattermost_logo_spacing';

import {Preferences} from 'utils/constants';

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

import React from 'react';

const logo = require('../../../images/logo-spacing.png');

export default function MattermostLogo(props: React.HTMLAttributes<HTMLSpanElement>) {
return (
<span {...props}>
<img src={logo}/>
</span>
);
}
Binary file added webapp/channels/src/images/logo-spacing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 102a621

Please sign in to comment.