@ -7,7 +7,7 @@
< div class = "uk-container uk-container-large uk-section" uk-scrollspy = "target: [uk-scrollspy-class]; cls: uk-animation-slide-bottom-medium; delay: 200" >
< div class = "uk-grid uk-grid-large uk-grid-stack uk-padding-small" uk-grid >
< div class = "uk-width-3-5@m uk-width-1-1@s uk-flex uk-flex-column uk-flex-center" >
< h1 uk-scrollspy-class > Fields of Science and Technology < span class = "uk-text-primary" > .< / span > < / h1 >
< h1 uk-scrollspy-class > Fields of Science< span class = "uk-text-primary" > .< / span > < / h1 >
< div uk-scrollspy-class >
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
< / div >
@ -21,40 +21,80 @@
< / div >
< / div >
< div class = "uk-width-2-5@m uk-width-1-1@s uk-text-center" >
< img src = " " loading = "lazy" >
< img src = " ../../assets/explore-assets/fos-hero-img.svg " loading = "lazy" >
< / div >
< / div >
< / div >
< div class = "uk-container uk-container-large uk-section" uk-scrollspy = "target: [uk-scrollspy-class]; cls: uk-animation-slide-bottom-medium; delay: 200" >
< div class = "uk-grid uk-flex uk-flex-middle uk-flex-center uk-padding-small" uk-grid >
< div >
< input type = "text" class = "uk-input" style = "width: 500px;" >
< div class = "uk-margin-large-bottom" >
< div search-input [ searchControl ] = " keywordControl " placeholder = "Search" ( searchEmitter ) = " onSubmit ( ) "
class="uk-width-large">< / div >
< / div >
< / div >
< div class = "uk-margin-large-top uk-padding-small" >
< div class = "uk-grid uk-grid-large" uk-grid >
< div class = "uk-width-1-4" >
< div * ngFor = "let item of fos; index as i" class = "uk-margin-bottom" >
< a class = "uk-text-capitalize" ( click ) = " changeDisplayedFos ( i ) " >
{{item.id}}
< / a >
< ng-container * ngIf = "keyword && keyword.length" >
< div class = "uk-padding-small" >
< div class = "uk-margin-small-bottom" > Search results for '{{keyword}}'< / div >
< span class = "uk-display-inline-block" >
< a [ attr . uk-tooltip ] = " ' Remove ' " ( click ) = " clearKeyword ( ) " >
< span class = "uk-label uk-flex uk-flex-middle" >
< span class = "uk-margin-small-right uk-width-expand" > {{keyword}}< / span >
< icon class = "uk-text-muted" name = "close" flex = "true" ratio = "0.7" > < / icon >
< / span >
< / a >
< / span >
< / div >
< / ng-container >
< ng-container * ngIf = "!keyword" >
< div class = "uk-margin-large-top uk-padding-small" >
< div class = "uk-grid uk-grid-large" uk-grid >
< div class = "uk-width-1-4" >
< div * ngFor = "let item of fos; index as i" class = "uk-margin-bottom" >
< a class = "uk-text-capitalize" ( click ) = " changeDisplayedFos ( i ) " >
{{item.id}}
< / a >
< / div >
< / div >
< / div >
< div * ngIf = "fos[index]" class = "uk-width-3-4" >
< div class = "uk-text-capitalize" >
< h2 class = "uk-margin-remove-top" > {{fos[index].id}}< / h2 >
< div * ngIf = "fos[index]" class = "uk-width-3-4" >
< div class = "uk-text-capitalize" >
< h2 class = "uk-margin-remove-top" > {{fos[index].id}}< / h2 >
< / div >
< div class = "uk-grid uk-child-width-1-3 uk-margin-large-top uk-margin-large-bottom" uk-grid = "masonry: true" >
< div * ngFor = "let child of fos[index].children" >
< div class = "whole-child uk-text-capitalize" >
< h3 class = "uk-h6" > {{child.id}}< / h3 >
< div * ngFor = "let subChild of child.children" class = "uk-margin-small-bottom" >
{{subChild.id}}
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "uk-grid uk-child-width-1-3 uk-margin-large-top uk-margin-large-bottom" uk-grid = "masonry: true" >
< div * ngFor = "let child of fos[index].children" >
< div class = "whole-child uk-text-capitalize" >
< h3 class = "uk-h6" > {{child.id}}< / h3 >
< div * ngFor = "let subChild of child.children" class = "uk-margin-small-bottom" >
{{subChild.id}}
< / div >
< / div >
< / ng-container >
< ng-container * ngIf = "keyword && keyword.length" >
< div class = "uk-margin-medium-top uk-padding-small" >
< ng-container * ngFor = "let item of level1Results;" >
< div
class="uk-margin-large-bottom uk-padding uk-padding-remove-top uk-padding-remove-horizontal uk-text-capitalize"
style="border-bottom: 3px solid coral">
< h2 > {{item.id}}< / h2 >
< div class = "uk-grid uk-child-width-1-3 uk-margin-large-top uk-margin-large-bottom" uk-grid = "masonry: true" >
< div * ngFor = "let subItem of item.children" >
< h3 class = "uk-h6" > {{subItem.id}}< / h3 >
< div * ngFor = "let subSubItem of subItem.children" class = "uk-margin-small-bottom" >
{{subSubItem.id}}
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / ng-container >
< ng-container * ngIf = "!(matchLevel1 == true || matchLevel2 == true || matchLevel3 == true)" >
< div class = "uk-padding uk-text-center" style = "border: 3px solid coral" >
< h2 class = "uk-h3" > No results were found.< / h2 >
< / div >
< / ng-container >
< / div >
< / div >
< / ng-container >
< / div >