File tree Expand file tree Collapse file tree
features/changelog/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -723,7 +723,11 @@ Producthunt item
723723 text-transform : lowercase;
724724 background-color : var (--tooltip-accent-color );
725725}
726-
726+ .changelogNewButton {
727+ display : flex;
728+ flex-direction : row;
729+ align-items : center;
730+ }
727731.searchBar {
728732 position : relative;
729733 margin : 0 auto;
Original file line number Diff line number Diff line change 11import React , { useEffect , useState } from 'react'
22import ReactTooltip from 'react-tooltip'
3- import { HiBell } from 'react-icons/hi'
3+ import { HiBell , HiSparkles } from 'react-icons/hi'
44import ReactMarkdown from 'react-markdown'
55import { format } from 'timeago.js'
66import BeatLoader from 'react-spinners/BeatLoader'
7- import { useGetVersions } from " ../api/getVersions" ;
8- import { useChangelogStore } from " ../stores/changelog" ;
9- import { getAppVersion } from " src/utils/Os" ;
7+ import { useGetVersions } from ' ../api/getVersions'
8+ import { useChangelogStore } from ' ../stores/changelog'
9+ import { getAppVersion } from ' src/utils/Os'
1010import { trackChangeLogOpen } from 'src/lib/analytics'
1111
1212export const Changelog = ( ) => {
@@ -82,7 +82,13 @@ export const Changelog = () => {
8282 data-tip
8383 data-for = { tooltipId }
8484 className = { 'changelogButton' + ( ! isChangelogRead ( ) ? ' active' : '' ) } >
85- { isChangelogRead ( ) ? < HiBell style = { { width : 14 } } /> : `New` }
85+ { isChangelogRead ( ) ? (
86+ < HiBell style = { { width : 14 } } />
87+ ) : (
88+ < div className = "changelogNewButton" >
89+ < HiSparkles style = { { width : 14 } } /> New
90+ </ div >
91+ ) }
8692 </ span >
8793 </ >
8894 )
You can’t perform that action at this time.
0 commit comments