File tree Expand file tree Collapse file tree 4 files changed +11
-21
lines changed
frontend-next-migration/src
preparedPages/EthicalGuidelinesPage/ui Expand file tree Collapse file tree 4 files changed +11
-21
lines changed Original file line number Diff line number Diff line change 22import { ScrollTop } from '@/features/ScrollTop' ;
33import { classNames } from '@/shared/lib/classNames/classNames' ;
44import { WikiContentWithSidebar } from '@/shared/ui/v2/WikiContentWithSidebar' ;
5- import cls from './EthicalGuidelinesPage.module.scss' ;
65
76interface Section {
87 id : string ;
@@ -24,7 +23,7 @@ const EthicalGuidelinesPage = (props: Props) => {
2423 const { sections = [ ] , title } = props ;
2524
2625 return (
27- < div className = { classNames ( cls . pageContainer ) } >
26+ < div >
2827 < WikiContentWithSidebar
2928 sections = { sections }
3029 title = { title }
Original file line number Diff line number Diff line change 1616 cursor : pointer ;
1717}
1818
19- .resetCookies :hover {
20- text-decoration : underline ;
21- color : orange ;
22- }
23- .cookies :hover {
24- text-decoration : underline ;
25- color : orange ;
26- }
27- .privacy :hover {
28- text-decoration : underline ;
29- color : orange ;
19+ .linkHover {
20+ & :hover {
21+ text-decoration : underline ;
22+ color : orange ;
23+ }
3024}
25+
3126.ethics {
3227 white-space : nowrap ;
3328}
34- .ethics :hover {
35- text-decoration : underline ;
36- color : orange ;
37- }
3829
3930.RightContainer {
4031 display : flex ;
Original file line number Diff line number Diff line change @@ -27,25 +27,25 @@ export const Rights = memo((props: RightsProps) => {
2727 < div className = { cls . RightContainer } >
2828 < p className = { cls . RightLinkContainer } >
2929 < AppLink
30- className = { cls . cookies }
30+ className = { classNames ( cls . cookies , { } , [ cls . linkHover ] ) }
3131 to = { getRouteCookiesPage ( ) }
3232 >
3333 { cookies }
3434 </ AppLink > { ' ' }
3535 < AppLink
36- className = { cls . privacy }
36+ className = { classNames ( cls . privacy , { } , [ cls . linkHover ] ) }
3737 to = { getRoutePrivacyPage ( ) }
3838 >
3939 { privacy }
4040 </ AppLink >
4141 < span
4242 onClick = { handleResetCookies }
43- className = { cls . resetCookies }
43+ className = { classNames ( cls . resetCookies , { } , [ cls . linkHover ] ) }
4444 >
4545 { consent }
4646 </ span >
4747 < AppLink
48- className = { cls . ethics }
48+ className = { classNames ( cls . ethics , { } , [ cls . linkHover ] ) }
4949 to = { getRouteEthicalGuidelinesPage ( ) }
5050 >
5151 { ethics }
You can’t perform that action at this time.
0 commit comments