add bulbul ad

This commit is contained in:
lingdocs 2022-08-26 14:48:50 +04:00
parent 6ebd114405
commit 9528624f95
1 changed files with 9 additions and 0 deletions

View File

@ -562,6 +562,15 @@ class App extends Component<RouteComponentProps, State> {
</>
}
</div>
{!localStorage.getItem("clickedBulbul") && <Route path="/" exact>
<div className="text-center" style={{ marginTop: "5rem" }}>
<a href="https://bulbulapp.com/kPJV" onClick={() => {
localStorage.setItem("clickedBulbul", "true");
}}>
<button className="btn btn-secondary">Try Bulbul Pashto Audiobooks! 📚🦻</button>
</a>
</div>
</Route>}
<footer className={classNames(
"footer",
{ "bg-white": !["/search", "/word"].includes(this.props.location.pathname) },