-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add static placeholders for the searchbar and nav components
This component adds static html placeholders for the searchbar and nav components, which will be displayed prior to the SDK loading and components being added to the page. J=SLAP-1336 TEST=manual see that on each of the 5 page templates, the searchbar and nav placeholders will display for a brief second before the page finishes loading
- Loading branch information
Showing
20 changed files
with
201 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
<div class="Answers-nav js-answersNavigation"></div> | ||
<div class="Answers-nav Answers-navigation js-answersNavigation" id="js-answersNavigation"> | ||
<nav class="yxt-Nav-container js-yxt-navContainer "> | ||
<ul class="yxt-Nav-expanded" aria-label="Search Page Navigation"> | ||
<li> | ||
{{!-- | ||
This is a placeholder tab so that the placeholder nav bar | ||
takes the expected amount of space on the page | ||
--}} | ||
<a class="js-yxt-navItem yxt-Nav-item is-active" | ||
data-middleclick="active" | ||
data-eventtype="ALL_TAB_NAVIGATION" | ||
style="visibility: hidden;" | ||
> | ||
placeholder | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
<div class="Answers-search js-answersSearch"></div> | ||
<div class="Answers-search js-answersSearch"> | ||
<div class="yxt-SearchBar"> | ||
<div class="yxt-SearchBar-container"> | ||
<form class="yxt-SearchBar-form"> | ||
<input | ||
class="js-yext-query yxt-SearchBar-input" | ||
id="yxt-SearchBar-input--SearchBar" | ||
type="text" | ||
name="query" | ||
> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
<div class="Answers-nav Answers-navigation js-answersNavigation" id="js-answersNavigation"></div> | ||
<div class="Answers-nav Answers-navigation js-answersNavigation" id="js-answersNavigation"> | ||
<nav class="yxt-Nav-container js-yxt-navContainer "> | ||
<ul class="yxt-Nav-expanded" aria-label="Search Page Navigation"> | ||
<li> | ||
{{!-- | ||
This is a placeholder tab so that the placeholder nav bar | ||
takes the expected amount of space on the page | ||
--}} | ||
<a class="js-yxt-navItem yxt-Nav-item is-active" | ||
data-middleclick="active" | ||
data-eventtype="ALL_TAB_NAVIGATION" | ||
style="visibility: hidden;" | ||
> | ||
placeholder | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
<div class="Answers-search js-answersSearch" id="js-answersSearchBar"></div> | ||
<div class="Answers-search js-answersSearch"> | ||
<div class="yxt-SearchBar"> | ||
<div class="yxt-SearchBar-container"> | ||
<form class="yxt-SearchBar-form"> | ||
<input | ||
class="js-yext-query yxt-SearchBar-input" | ||
id="yxt-SearchBar-input--SearchBar" | ||
type="text" | ||
name="query" | ||
> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
<div class="Answers-nav js-answersNavigation"></div> | ||
<div class="Answers-nav Answers-navigation js-answersNavigation" id="js-answersNavigation"> | ||
<nav class="yxt-Nav-container js-yxt-navContainer "> | ||
<ul class="yxt-Nav-expanded" aria-label="Search Page Navigation"> | ||
<li> | ||
{{!-- | ||
This is a placeholder tab so that the placeholder nav bar | ||
takes the expected amount of space on the page | ||
--}} | ||
<a class="js-yxt-navItem yxt-Nav-item is-active" | ||
data-middleclick="active" | ||
data-eventtype="ALL_TAB_NAVIGATION" | ||
style="visibility: hidden;" | ||
> | ||
placeholder | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
<div class="Answers-search js-answersSearch"></div> | ||
<div class="Answers-search js-answersSearch"> | ||
<div class="yxt-SearchBar"> | ||
<div class="yxt-SearchBar-container"> | ||
<form class="yxt-SearchBar-form"> | ||
<input | ||
class="js-yext-query yxt-SearchBar-input" | ||
id="yxt-SearchBar-input--SearchBar" | ||
type="text" | ||
name="query" | ||
> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
<div class="Answers-nav Answers-navigation js-answersNavigation" id="js-answersNavigation"></div> | ||
<div class="Answers-nav Answers-navigation js-answersNavigation" id="js-answersNavigation"> | ||
<nav class="yxt-Nav-container js-yxt-navContainer "> | ||
<ul class="yxt-Nav-expanded" aria-label="Search Page Navigation"> | ||
<li> | ||
{{!-- | ||
This is a placeholder tab so that the placeholder nav bar | ||
takes the expected amount of space on the page | ||
--}} | ||
<a class="js-yxt-navItem yxt-Nav-item is-active" | ||
data-middleclick="active" | ||
data-eventtype="ALL_TAB_NAVIGATION" | ||
style="visibility: hidden;" | ||
> | ||
placeholder | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
<div class="Answers-search js-answersSearch" id="js-answersSearchBar"></div> | ||
<div class="Answers-search js-answersSearch"> | ||
<div class="yxt-SearchBar"> | ||
<div class="yxt-SearchBar-container"> | ||
<form class="yxt-SearchBar-form"> | ||
<input | ||
class="js-yext-query yxt-SearchBar-input" | ||
id="yxt-SearchBar-input--SearchBar" | ||
type="text" | ||
name="query" | ||
> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
<div class="Answers-nav js-answersNavigation"></div> | ||
<div class="Answers-nav Answers-navigation js-answersNavigation" id="js-answersNavigation"> | ||
<nav class="yxt-Nav-container js-yxt-navContainer "> | ||
<ul class="yxt-Nav-expanded" aria-label="Search Page Navigation"> | ||
<li> | ||
{{!-- | ||
This is a placeholder tab so that the placeholder nav bar | ||
takes the expected amount of space on the page | ||
--}} | ||
<a class="js-yxt-navItem yxt-Nav-item is-active" | ||
data-middleclick="active" | ||
data-eventtype="ALL_TAB_NAVIGATION" | ||
style="visibility: hidden;" | ||
> | ||
placeholder | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
<div class="Answers-search js-answersSearch" id="js-answersSearchBar"></div> | ||
<div class="Answers-search js-answersSearch"> | ||
<div class="yxt-SearchBar"> | ||
<div class="yxt-SearchBar-container"> | ||
<form class="yxt-SearchBar-form"> | ||
<input | ||
class="js-yext-query yxt-SearchBar-input" | ||
id="yxt-SearchBar-input--SearchBar" | ||
type="text" | ||
name="query" | ||
> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters