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>
|
||||
<div ref="target" class="home-page">
|
||||
<template v-if="isBeforeRelease">
|
||||
<!-- <template v-if="isBeforeRelease">
|
||||
<div class="banner">
|
||||
<div class="banner-desc banner-dot">
|
||||
<h1>
|
||||
@ -152,27 +152,25 @@ useEventListener(window, 'scroll', handleScroll)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div class="banner">
|
||||
<div class="banner-desc">
|
||||
<h1>{{ homeLang['title'] }}</h1>
|
||||
<p>{{ homeLang['title_sub'] }}</p>
|
||||
</div>
|
||||
</template> -->
|
||||
<div class="banner">
|
||||
<div class="banner-desc">
|
||||
<h1>{{ homeLang['title'] }}</h1>
|
||||
<p>{{ homeLang['title_sub'] }}</p>
|
||||
</div>
|
||||
<div ref="jumbotronRef" class="jumbotron">
|
||||
<div :style="containerStyle">
|
||||
<div :style="cardStyle">
|
||||
<div class="banner" :style="layer0">
|
||||
<img src="/images/theme-index-blue.png" alt="banner" />
|
||||
<div class="jumbotron-red" :style="jumbotronRedStyle">
|
||||
<img src="/images/theme-index-red.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<div ref="jumbotronRef" class="jumbotron">
|
||||
<div :style="containerStyle">
|
||||
<div :style="cardStyle">
|
||||
<div class="banner" :style="layer0">
|
||||
<img src="/images/theme-index-blue.png" alt="banner" />
|
||||
<div class="jumbotron-red" :style="jumbotronRedStyle">
|
||||
<img src="/images/theme-index-red.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
<div class="sponsors-container">
|
||||
<div class="sponsors-list">
|
||||
<a
|
||||
|
@ -134,6 +134,7 @@ function initialize(userOptions: any) {
|
||||
},
|
||||
children,
|
||||
},
|
||||
__v: null,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user