Skip to content

Commit

Permalink
fix: use the correct guide component thumbnail (#1740)
Browse files Browse the repository at this point in the history
* fix: use the correct guide component thumbnail

* feat: add guide component thumbnail for mobile

---------

Co-authored-by: anlyyao <anlyyao@tencent.com>
  • Loading branch information
anlyyao and anlyyao authored Mar 4, 2024
1 parent 806b5f6 commit c3fd5ae
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions docs/mobile/overview.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,13 @@ spline: explain
<p class="name">Dialog</p>
</a>
</div>
<div class="image-wrapper">
<a class="item" href="./components/guide-en">
<img class="__light__" src="https://tdesign.gtimg.com/site/doc/doc-guide.png" />
<img class="__dark__" src="https://tdesign.gtimg.com/site/doc/doc-guide-dark.png" />
<p class="name">Guide</p>
</a>
</div>
<div class="image-wrapper">
<a class="item" href="./components/dropdown-menu-en">
<img class="__light__" src="https://tdesign.gtimg.com/site/mobile/doc-dropdownmenu.png" />
Expand Down
2 changes: 1 addition & 1 deletion docs/mobile/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ spline: explain
<a class="item" href="./components/guide">
<img class="__light__" src="https://tdesign.gtimg.com/site/mobile/doc-guide.png" />
<img class="__dark__" src="https://tdesign.gtimg.com/site/mobile/doc-guide-dark.png" />
<p class="name">Guide 对话框</p>
<p class="name">Guide 引导</p>
</a>
</div>
<div class="image-wrapper">
Expand Down
6 changes: 3 additions & 3 deletions docs/web/overview.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ spline: explain
<img class="__dark__" src="https://tdesign.gtimg.com/site/doc/doc-swiper-dark.png" />
<p class="name">Swiper</p>
</a>
</div>
</div>
<div class="image-wrapper">
<a class="item" href="./components/table-en">
<img class="__light__" src="https://tdesign.gtimg.com/site/doc/doc-table.png" />
Expand Down Expand Up @@ -453,8 +453,8 @@ spline: explain

<div class="image-wrapper">
<a class="item" href="./components/guide-en">
<img class="__light__" src="https://tdesign.gtimg.com/site/doc/doc-button.png" />
<img class="__dark__" src="https://tdesign.gtimg.com/site/doc/doc-button-dark.png" />
<img class="__light__" src="https://tdesign.gtimg.com/site/doc/doc-guide.png" />
<img class="__dark__" src="https://tdesign.gtimg.com/site/doc/doc-guide-dark.png" />
<p class="name">Guide</p>
</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions docs/web/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ spline: explain
<img class="__dark__" src="https://tdesign.gtimg.com/site/doc/doc-swiper-dark.png" />
<p class="name">Swiper 轮播框</p>
</a>
</div>
</div>
<div class="image-wrapper">
<a class="item" href="./components/table">
<img class="__light__" src="https://tdesign.gtimg.com/site/doc/doc-table.png" />
Expand Down Expand Up @@ -454,8 +454,8 @@ spline: explain

<div class="image-wrapper">
<a class="item" href="./components/guide">
<img class="__light__" src="https://tdesign.gtimg.com/site/doc/doc-button.png" />
<img class="__dark__" src="https://tdesign.gtimg.com/site/doc/doc-button-dark.png" />
<img class="__light__" src="https://tdesign.gtimg.com/site/doc/doc-guide.png" />
<img class="__dark__" src="https://tdesign.gtimg.com/site/doc/doc-guide-dark.png" />
<p class="name">Guide 引导</p>
</a>
</div>
Expand Down

0 comments on commit c3fd5ae

Please sign in to comment.