Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
gab
social
gab-social
Commits
d41a63a2
Commit
d41a63a2
authored
Aug 18, 2019
by
mgabdev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated promo panel
Removed invite, added apps and news
parent
14df0de9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
26 deletions
+23
-26
app/javascript/gabsocial/features/ui/components/promo_panel.js
...avascript/gabsocial/features/ui/components/promo_panel.js
+23
-26
No files found.
app/javascript/gabsocial/features/ui/components/promo_panel.js
View file @
d41a63a2
import
React
from
'
react
'
;
import
PropTypes
from
'
prop-types
'
;
import
{
connect
}
from
'
react-redux
'
;
import
{
Link
}
from
'
react-router-dom
'
;
import
{
injectIntl
,
FormattedMessage
}
from
'
react-intl
'
;
import
{
me
}
from
'
../../../initial_state
'
;
import
{
makeGetAccount
}
from
'
../../../selectors
'
;
import
ImmutablePropTypes
from
'
react-immutable-proptypes
'
;
import
{
FormattedMessage
}
from
'
react-intl
'
;
import
Icon
from
'
gabsocial/components/icon
'
;
const
PromoPanel
=
()
=>
(
<
div
className
=
'
promo-panel
'
>
<
div
className
=
'
promo-panel__container
'
>
export
default
class
PromoPanel
extends
React
.
PureComponent
{
render
()
{
return
(
<
div
className
=
'
promo-panel
'
>
<
div
className
=
'
promo-panel__container
'
>
<
div
className
=
'
promo-panel-item
'
>
<
a
className
=
'
promo-panel-item__btn button button-alternative-2
'
href
=
'
/invites
'
>
<
Icon
id
=
'
envelope
'
className
=
'
promo-panel-item__icon
'
fixedWidth
/>
<
FormattedMessage
id
=
'
promo.invite_heading
'
defaultMessage
=
'
Invite Friends
'
/>
<
/a
>
<
p
className
=
'
promo-panel-item__message promo-panel-item__message--dark
'
>
<
FormattedMessage
id
=
'
promo.invite_message
'
defaultMessage
=
'
Invite others to be a member of Gab.
'
/>
<
/p
>
<
/div
>
<
div
className
=
'
promo-panel-item
'
>
<
a
className
=
'
promo-panel-item__btn button button-alternative-2
'
href
=
'
https://apps.gab.com
'
>
<
Icon
id
=
'
th
'
className
=
'
promo-panel-item__icon
'
fixedWidth
/>
<
FormattedMessage
id
=
'
promo.gab_apps
'
defaultMessage
=
'
Gab Apps
'
/>
<
/a
>
<
/div
>
<
/div
>
<
/div
>
);
<
div
className
=
'
promo-panel-item
'
>
<
a
className
=
'
promo-panel-item__btn button button-alternative-2
'
href
=
'
https://blog.gab.com
'
>
<
Icon
id
=
'
align-left
'
className
=
'
promo-panel-item__icon
'
fixedWidth
/>
<
FormattedMessage
id
=
'
promo.gab_news
'
defaultMessage
=
'
Gab News
'
/>
<
/a
>
<
/div
>
export
default
PromoPanel
;
<
/div
>
<
/div
>
)
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment