Skip to content

Commit

Permalink
Added Search Function for each Components (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
Surajit0573 authored Feb 6, 2024
1 parent 8408385 commit 1384770
Show file tree
Hide file tree
Showing 15 changed files with 129 additions and 6 deletions.
11 changes: 11 additions & 0 deletions assets/css_files/search.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#searchBar{
margin-top: -60px;
}

#searchBar h1{
font-size: 3rem;
}

#searchBar input{
margin-top: -10px;
}
15 changes: 11 additions & 4 deletions assets/html_files/accordions.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/accordions.css" />
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Accordions</title>
Expand Down Expand Up @@ -59,12 +60,17 @@
</div>
</nav>
</header>

<section>

<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Accordions</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search Accordion</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Accordion Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Modern Accordion</h1>
Expand Down Expand Up @@ -173,21 +179,22 @@ <h1>Simple Accordion</h1>
</div>
</div>
</section>

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"
integrity="sha512-7eHRwcbYkK4d9g/6tD/mhkf++eoTHwpNM9woBxtPUBWm67zeAfFC+HrdoE2GanKeocly/VxeLvIqwvCdk7qScg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="../js_files/commonanimation.js"></script>

<script src="../js_files/dark-mode.js"></script>

<!-- SCROLL TO TOP BUTTON -->
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>


</body>

</html>
</html>
7 changes: 7 additions & 0 deletions assets/html_files/backgrounds.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/backgrounds.css" />
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Backgrounds</title>
Expand Down Expand Up @@ -65,6 +66,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Backgrounds</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search Background</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Background Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Animated Colorful Background</h1>
Expand Down Expand Up @@ -424,6 +430,7 @@ <h1>Mouse Responsive Web Background</h1>
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

</body>
Expand Down
7 changes: 7 additions & 0 deletions assets/html_files/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/breadcrumbs.css" />
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Breadcrumbs</title>
Expand Down Expand Up @@ -65,6 +66,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Breadcrumbs</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search Breadcrumbs</h1><br>
<input type="text" id="componentSearch" placeholder="Enter breadcrumbs Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Colored Breadcrumb</h1>
Expand Down Expand Up @@ -184,6 +190,7 @@ <h1>Parallel Park Breadcrumb</h1>
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

</body>
Expand Down
11 changes: 9 additions & 2 deletions assets/html_files/buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/buttons.css" />
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Buttons</title>
Expand Down Expand Up @@ -65,6 +66,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Buttons</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search Button</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Button Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Glassmorphism Button</h1>
Expand Down Expand Up @@ -372,17 +378,18 @@ <h1>Swipe Right Button</h1>
</div>
</div>
</section>

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"
integrity="sha512-7eHRwcbYkK4d9g/6tD/mhkf++eoTHwpNM9woBxtPUBWm67zeAfFC+HrdoE2GanKeocly/VxeLvIqwvCdk7qScg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="../js_files/commonanimation.js"></script>

<script src="../js_files/dark-mode.js"></script>
<!-- SCROLL TO TOP BUTTON -->
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

</body>
Expand Down
7 changes: 7 additions & 0 deletions assets/html_files/cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/cards.css"/>
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Cards</title>
Expand Down Expand Up @@ -65,6 +66,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Cards</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search Cards</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Card Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Drag & Drop Card</h1>
Expand Down Expand Up @@ -285,6 +291,7 @@ <h1>User Attention Card</h1>
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

<script src="../js_files/dark-mode.js"></script>
Expand Down
7 changes: 7 additions & 0 deletions assets/html_files/carousels.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/carousels.css"/>
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Carousels</title>
Expand Down Expand Up @@ -64,6 +65,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Carousels</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search Carousels</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Carousel Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>3D Image Carousel</h1>
Expand Down Expand Up @@ -221,6 +227,7 @@ <h1>Neumorphic Carousel</h1>
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

</body>
Expand Down
7 changes: 7 additions & 0 deletions assets/html_files/footers.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/footers.css" />
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Footers</title>
Expand Down Expand Up @@ -65,6 +66,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Footers</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search Footer</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Footer Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Glassmorphism Footer</h1>
Expand Down Expand Up @@ -157,6 +163,7 @@ <h1>Animated Stylish Footer</h1>
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

</body>
Expand Down
7 changes: 7 additions & 0 deletions assets/html_files/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/forms.css"/>
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Forms</title>
Expand Down Expand Up @@ -64,6 +65,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Forms</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search Forms</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Forms Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Contact Form</h1>
Expand Down Expand Up @@ -273,6 +279,7 @@ <h1>Event Form</h1>
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

</body>
Expand Down
7 changes: 7 additions & 0 deletions assets/html_files/loaders.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/loaders.css"/>
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Loaders</title>
Expand Down Expand Up @@ -65,6 +66,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Loaders</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search Loader</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Loader Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Glassmorphism Loader</h1>
Expand Down Expand Up @@ -463,6 +469,7 @@ <h1>Polygon Loader</h1>
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

</body>
Expand Down
7 changes: 7 additions & 0 deletions assets/html_files/navigation-bars.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/navigation-bars.css"/>
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Navigation Bars</title>
Expand Down Expand Up @@ -65,6 +66,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Navigation Bars</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search NavBar</h1><br>
<input type="text" id="componentSearch" placeholder="Enter NavBar Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Hamburger Navigation Bar</h1>
Expand Down Expand Up @@ -235,6 +241,7 @@ <h1>Pulse Animated Navigation Bar</h1>
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

</body>
Expand Down
7 changes: 7 additions & 0 deletions assets/html_files/search-bars.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/search-bars.css" />
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Search Bars</title>
Expand Down Expand Up @@ -65,6 +66,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Search Bars</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search SearchBar</h1><br>
<input type="text" id="componentSearch" placeholder="Enter SearchBar Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Expandable Search Bar</h1>
Expand Down Expand Up @@ -205,6 +211,7 @@ <h1>Operating Search Bar</h1>
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

</body>
Expand Down
7 changes: 7 additions & 0 deletions assets/html_files/text-animations.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/text-animations.css" />
<link rel="stylesheet" href="../css_files/search.css">
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Text Animations</title>
Expand Down Expand Up @@ -65,6 +66,11 @@
<button id="dark-mode-toggle"><i class="fa-solid fa-circle-half-stroke"></i></button>

<div class="heading">Text Animations</div>
<!-- Search Bar -->
<div id="searchBar">
<h1>Search Text Animation</h1><br>
<input type="text" id="componentSearch" placeholder="Enter Text Animation Name" oninput="filtereachComponents()">
</div>
<div class="contain">
<div class="box">
<h1>Shuffle Text Animation</h1>
Expand Down Expand Up @@ -283,6 +289,7 @@ <h1>Shaking Text Animation</h1>
<div id="progress">
<span id="progress-value">&#x1F815;</span>
</div>
<script src="../js_files/search.js"></script>
<script src="../../script.js"></script>

</body>
Expand Down
Loading

0 comments on commit 1384770

Please sign in to comment.