You've already forked mastodon-utils
mirror of
https://github.com/jakejarvis/mastodon-utils.git
synced 2025-11-05 08:25:39 -05:00
use bash script for some customizations instead of Git patches
This commit is contained in:
24
patches/glitch/mastodon-logo.patch
Normal file
24
patches/glitch/mastodon-logo.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff --git a/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js b/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js
|
||||
index 3b46c6eec..f2465482f 100644
|
||||
--- a/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js
|
||||
+++ b/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js
|
||||
@@ -2,6 +2,7 @@ import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { defineMessages, injectIntl } from 'react-intl';
|
||||
import { Link } from 'react-router-dom';
|
||||
+import Logo from 'flavours/glitch/components/logo';
|
||||
import { timelinePreview, showTrends } from 'flavours/glitch/initial_state';
|
||||
import ColumnLink from 'flavours/glitch/features/ui/components/column_link';
|
||||
import DisabledAccountBanner from './disabled_account_banner';
|
||||
@@ -47,6 +48,11 @@ class NavigationPanel extends React.Component {
|
||||
|
||||
return (
|
||||
<div className='navigation-panel'>
|
||||
+ <div className='navigation-panel__logo'>
|
||||
+ <Link to='/' className='column-link column-link--logo'><Logo /></Link>
|
||||
+ <hr />
|
||||
+ </div>
|
||||
+
|
||||
{signedIn && (
|
||||
<React.Fragment>
|
||||
<ColumnLink transparent to='/home' icon='home' text={intl.formatMessage(messages.home)} />
|
||||
Reference in New Issue
Block a user