mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Added Close
button to Recommendations modal
refs https://github.com/TryGhost/Product/issues/3824
This commit is contained in:
parent
76778a9dd8
commit
9e1b11f26e
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
import AppContext from '../../AppContext';
|
||||
import {useContext, useState, useEffect} from 'react';
|
||||
import CloseButton from '../common/CloseButton';
|
||||
|
||||
export const RecommendationsPageStyles = `
|
||||
.gh-portal-recommendation-item .gh-portal-list-detail {
|
||||
|
@ -94,6 +95,7 @@ const RecommendationsPage = () => {
|
|||
|
||||
return (
|
||||
<div className='gh-portal-content with-footer'>
|
||||
<CloseButton />
|
||||
<div className="gh-portal-recommendations-header">
|
||||
{icon && <img className="gh-portal-signup-logo" alt={title} src={icon} />}
|
||||
{/* TODO: Make heading dynamic so it's "You‘re subscribed!" when it's during the signup flow, and "Recommendations" when triggered elsewhere */}
|
||||
|
|
Loading…
Reference in a new issue