Add Grizzlyflix newsletters with curated editions and weekly delivery
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import PageHeading from '../ui/PageHeading'
|
||||
import MonthlyRecapPreference from './MonthlyRecapPreference'
|
||||
import NewsletterPreference from './NewsletterPreference'
|
||||
|
||||
import { useCallback, useEffect, useState, type FormEvent, type KeyboardEvent } from 'react'
|
||||
import { useRouter } from 'next/navigation'
|
||||
@@ -199,6 +200,7 @@ export default function ProfilePage() {
|
||||
</form>
|
||||
<div className="account-connected"><span className="account-connection-dot" aria-hidden="true" /><span>{user.auth_provider === 'jellyfin' ? 'Connected with your Grizzlyflix account' : user.auth_provider === 'local' ? 'Signed in with a Magent account' : 'Signed in with your media account'}</span></div>
|
||||
<MonthlyRecapPreference key={user.email || 'no-email'} />
|
||||
<NewsletterPreference key={`newsletter-${user.email || 'no-email'}`} />
|
||||
</section>
|
||||
|
||||
<section className="account-panel" id="profile-panel-security" role="tabpanel" aria-labelledby="profile-tab-security" hidden={activeTab !== 'security'}>
|
||||
|
||||
Reference in New Issue
Block a user