Correct element layout in app.js

pull/7/head
Brogan Clements 2022-03-04 11:25:50 -05:00
parent 96fc91afa1
commit a93584641c
1 changed files with 7 additions and 11 deletions

View File

@ -250,12 +250,6 @@ function App() {
Freely available programming books Freely available programming books
</p> </p>
<div>
<SearchBar changeParameter={changeParameter} />
<LangDropdown changeParameter={changeParameter} data={data} />
</div>
<br />
<p class="view"> <p class="view">
<a href="https://github.com/EbookFoundation/free-programming-books" target="_blank" rel="noreferrer"> <a href="https://github.com/EbookFoundation/free-programming-books" target="_blank" rel="noreferrer">
View the Project on GitHub <small>EbookFoundation/free-programming-books</small> View the Project on GitHub <small>EbookFoundation/free-programming-books</small>
@ -268,10 +262,13 @@ function App() {
Report an error on GitHub Report an error on GitHub
</a> </a>
</p> </p>
<div>
<SearchBar changeParameter={changeParameter} />
<LangDropdown changeParameter={changeParameter} data={data} />
<SectDropdown className="sect-drop" changeParameter={changeParameter} data={data} value={searchParams['section'] || "allSects"}/> <SectDropdown className="sect-drop" changeParameter={changeParameter} data={data} value={searchParams['section'] || "allSects"}/>
<div className="search-results section-results">{sectionResultsList}</div> <div className="search-results section-results">{sectionResultsList}</div>
<h2>Top Results</h2> </div>
<div className="search-results">{resultsList}</div>
</header> </header>
<section className="search-results"> <section className="search-results">
@ -302,7 +299,6 @@ function App() {
</small> </small>
</p> </p>
</footer> </footer>
)}
</div> </div>
); );