mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-23 11:59:34 +08:00
fix(docs): algolia searching (#5926)
* fix(docs): algolia searching - Fix algolia searching hit component - Comment the code which is not used and causing warning in dev mode * Fix Linter complains
This commit is contained in:
parent
bcd5c8b848
commit
5c095d3a13
@ -108,7 +108,7 @@ useEventListener(window, 'scroll', handleScroll)
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div ref="target" class="home-page">
|
<div ref="target" class="home-page">
|
||||||
<template v-if="isBeforeRelease">
|
<!-- <template v-if="isBeforeRelease">
|
||||||
<div class="banner">
|
<div class="banner">
|
||||||
<div class="banner-desc banner-dot">
|
<div class="banner-desc banner-dot">
|
||||||
<h1>
|
<h1>
|
||||||
@ -152,27 +152,25 @@ useEventListener(window, 'scroll', handleScroll)
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template> -->
|
||||||
<template v-else>
|
<div class="banner">
|
||||||
<div class="banner">
|
<div class="banner-desc">
|
||||||
<div class="banner-desc">
|
<h1>{{ homeLang['title'] }}</h1>
|
||||||
<h1>{{ homeLang['title'] }}</h1>
|
<p>{{ homeLang['title_sub'] }}</p>
|
||||||
<p>{{ homeLang['title_sub'] }}</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div ref="jumbotronRef" class="jumbotron">
|
</div>
|
||||||
<div :style="containerStyle">
|
<div ref="jumbotronRef" class="jumbotron">
|
||||||
<div :style="cardStyle">
|
<div :style="containerStyle">
|
||||||
<div class="banner" :style="layer0">
|
<div :style="cardStyle">
|
||||||
<img src="/images/theme-index-blue.png" alt="banner" />
|
<div class="banner" :style="layer0">
|
||||||
<div class="jumbotron-red" :style="jumbotronRedStyle">
|
<img src="/images/theme-index-blue.png" alt="banner" />
|
||||||
<img src="/images/theme-index-red.png" alt="" />
|
<div class="jumbotron-red" :style="jumbotronRedStyle">
|
||||||
</div>
|
<img src="/images/theme-index-red.png" alt="" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</div>
|
||||||
<div class="sponsors-container">
|
<div class="sponsors-container">
|
||||||
<div class="sponsors-list">
|
<div class="sponsors-list">
|
||||||
<a
|
<a
|
||||||
|
@ -134,6 +134,7 @@ function initialize(userOptions: any) {
|
|||||||
},
|
},
|
||||||
children,
|
children,
|
||||||
},
|
},
|
||||||
|
__v: null,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user