Merge pull request 'Set searchbox at the left side' (#21) from search-box into master

Reviewed-on: #21
This commit is contained in:
dvirlabs 2025-07-04 09:34:08 +00:00
commit 8b68fa1b7a
2 changed files with 31 additions and 6 deletions

View File

@ -16,6 +16,14 @@ body {
text-align: center; text-align: center;
} }
/* 🔹 מרכז כותרת */
.title-wrapper {
width: 100%;
display: flex;
justify-content: center;
margin-bottom: 1rem;
}
.main-title { .main-title {
display: flex; display: flex;
align-items: center; align-items: center;
@ -34,8 +42,19 @@ body {
vertical-align: middle; vertical-align: middle;
} }
/* 🔹 תיבת חיפוש בצד שמאל */
.search-wrapper {
width: 100%;
display: flex;
justify-content: flex-start;
max-width: 1200px;
margin-bottom: 2rem;
margin-left: 2rem;
}
.search-input { .search-input {
background: transparent; background: transparent;
margin-bottom: 10px;
border: none; border: none;
border-bottom: 2px solid #2e6dc0; border-bottom: 2px solid #2e6dc0;
color: white; color: white;
@ -55,3 +74,5 @@ body {
.search-input:focus { .search-input:focus {
border-bottom: 2px solid #4a90e2; border-bottom: 2px solid #4a90e2;
} }
/* (שאר סגנונות שלך כמו add-button וכו') */

View File

@ -98,13 +98,17 @@ function App() {
return ( return (
<div className="App"> <div className="App">
<Clock /> <Clock />
{/* 🔹 לוגו וכותרת במרכז */}
<div className="title-wrapper">
<h1 className="main-title"> <h1 className="main-title">
<img src="/navix-logo.svg" alt="Navix logo" className="navix-logo" /> <img src="/navix-logo.svg" alt="Navix logo" className="navix-logo" />
Navix Navix
</h1> </h1>
</div>
{/* 🔍 Search Box */} {/* 🔍 שורת חיפוש בצד שמאל */}
<div style={{ display: 'flex', justifyContent: 'flex-start', marginLeft: '2rem' }}> <div className="search-wrapper">
<input <input
type="text" type="text"
placeholder="Search apps..." placeholder="Search apps..."