提交 2a448c1d 编写于 作者: L LiXinXing

add a banner

上级 e9acd7f2
...@@ -69,6 +69,9 @@ other = "iSula" ...@@ -69,6 +69,9 @@ other = "iSula"
[main_cards_title_enter_repository] [main_cards_title_enter_repository]
other = ">>More" other = ">>More"
[main_cards_connect]
other = "https://e.huawei.com/topic/hic-hc-2020/en/index.html?utm_campaign=04MHQHQ20W6R9P&;utm_medium=pm-display&utm_source=openeluer&source=openeluer&;utm_content=hic_hc_2020"
[main_nav_repository] [main_nav_repository]
other = "Code Sources" other = "Code Sources"
......
...@@ -68,6 +68,9 @@ other = "iSula" ...@@ -68,6 +68,9 @@ other = "iSula"
[main_cards_title_enter_repository] [main_cards_title_enter_repository]
other = ">>更多" other = ">>更多"
[main_cards_connect]
other = "https://e.huawei.com/topic/hic-hc-2020/cn/index.html?utm_campaign=04MHQHQ20W6R9P&;utm_medium=pm-display&utm_source=openeluer&source=openeluer&;utm_content=hic_hc_2020"
[main_nav_repository] [main_nav_repository]
other = "代码仓" other = "代码仓"
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
{{$imgSourceMobile := (print "../img/websiteBannerMobile_" $lan ".png") }} {{$imgSourceMobile := (print "../img/websiteBannerMobile_" $lan ".png") }}
{{$summerBanner := (print "../img/summerBanner_" $lan ".jpg")}} {{$summerBanner := (print "../img/summerBanner_" $lan ".jpg")}}
{{$summerBannerMobile := (print "../img/summerBannerMobile_" $lan ".jpg")}} {{$summerBannerMobile := (print "../img/summerBannerMobile_" $lan ".jpg")}}
{{$imgConnect := (print "../img/HC_banner_" $lan ".png") }}
{{$imgWebConnect := (print "../img/HC_banner_web_" $lan ".png") }}
<!-- {{print $imgSourceMobile}} --> <!-- {{print $imgSourceMobile}} -->
{{ if isset .Site.Params "cards" }} {{ if isset .Site.Params "cards" }}
...@@ -20,6 +24,7 @@ ...@@ -20,6 +24,7 @@
<li data-target="#carousel-example-generic" data-slide-to="3"></li> <li data-target="#carousel-example-generic" data-slide-to="3"></li>
<li data-target="#carousel-example-generic" data-slide-to="4"></li> <li data-target="#carousel-example-generic" data-slide-to="4"></li>
<li data-target="#carousel-example-generic" data-slide-to="5"></li> <li data-target="#carousel-example-generic" data-slide-to="5"></li>
<li data-target="#carousel-example-generic" data-slide-to="6"></li>
</ol> </ol>
<div class="carousel-inner wrapper" role="listbox"> <div class="carousel-inner wrapper" role="listbox">
<div class="item active"> <div class="item active">
...@@ -65,6 +70,10 @@ ...@@ -65,6 +70,10 @@
<p>{{ i18n "main_cards_description_third" }}</p> <p>{{ i18n "main_cards_description_third" }}</p>
</div> </div>
</div> </div>
<div class="item">
<a href="{{i18n "main_cards_connect"}}" target="_blank"><img class="pc" src="{{$imgConnect}}"></a>
<a href="{{i18n "main_cards_connect"}}" target="_blank"><img class="mobile" src="{{$imgWebConnect}}" ></a>
</div>
</div> </div>
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册