Skip to content

Commit

Permalink
mobile_view_url_redirection_fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Lungsangg committed Dec 8, 2024
1 parent 78a3df9 commit aef8b88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions sites/sefaria/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
url(r'^request-a-text/?$', lambda x: HttpResponseRedirect('https://goo.gl/forms/ru33ivawo7EllQxa2')),
url(r'^request-a-training/?$', lambda x: HttpResponseRedirect(' https://docs.google.com/forms/d/1CJZHRivM2qFeF2AE2afpvE1m86AgJPCxUEFu5EG92F8/edit?usp=sharing_eil&ts=5a4dc5e0')),
url(r'^contribute/?$', lambda x: HttpResponseRedirect('https://github.com/Sefaria/Sefaria-Project/wiki/Guide-to-Contributing')),
url(r'^faq/?$', lambda x: HttpResponseRedirect('/collections/help-center' if x.interfaceLang == 'english' else '/collections/%D7%A9%D7%90%D7%9C%D7%95%D7%AA-%D7%A0%D7%A4%D7%95%D7%A6%D7%95%D7%AA-%D7%91%D7%A1%D7%A4%D7%A8%D7%99%D7%90')),
url(r'^help/?$', lambda x: HttpResponseRedirect('/collections/help-center' if x.interfaceLang == 'english' else '/collections/%D7%A9%D7%90%D7%9C%D7%95%D7%AA-%D7%A0%D7%A4%D7%95%D7%A6%D7%95%D7%AA-%D7%91%D7%A1%D7%A4%D7%A8%D7%99%D7%90')),
url(r'^faq/?$', lambda x: HttpResponseRedirect('/collections/help-center' if x.interfaceLang == 'english' else '/collections/help-center')),
url(r'^help/?$', lambda x: HttpResponseRedirect('/collections/help-center' if x.interfaceLang == 'english' else '/collections/help-center')),
url(r'^gala/?$', lambda x: HttpResponseRedirect('https://donate.sefaria.org/event/sefarias-10-year-anniversary-gala/e486954')),
url(r'^give/(?P<campaign_id>[a-zA-Z0-9]+)/?$', lambda x, campaign_id: HttpResponseRedirect(f'https://donate.sefaria.org/give/550774/#!/donation/checkout?c_src={campaign_id}')),
url(r'^give/?$', lambda x: HttpResponseRedirect(f'https://donate.sefaria.org/give/550774/#!/donation/checkout?c_src=mu')),
Expand Down
6 changes: 3 additions & 3 deletions static/js/NavSidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ const AboutSefaria = ({ hideTitle }) => (
{!hideTitle ? (
<ModuleTitle h1={true}>side_nav.about_pecha_title</ModuleTitle>
) : null}
<a className="hide-on-mobile">
<div className="hide-on-mobile">
<InterfaceText>side_nav.about_pecha_description</InterfaceText>
</a>
<a href="/about" className="inTextLink hide-on-mobile">
<a href="/about" className="inTextLink">
<InterfaceText>
<EnglishText>Learn More ›</EnglishText>
<HebrewText> མུ་མཐུད་གཟིགས། ›</HebrewText>
</InterfaceText>
</a>
</div>
</Module>
);

Expand Down

0 comments on commit aef8b88

Please sign in to comment.