Skip to content

Commit 1a245d6

Browse files
authored
Merge pull request #89 from AgoraIO/dev/redirect-tip
feat: add redirect notice for updated demo in English and Chinese
2 parents b4d9636 + dd7fff3 commit 1a245d6

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

Demo/i18n/en/common.properties

+2
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,6 @@ logout=Logout
7575
ssoText=Logging in...
7676
superClarityExtention=Super Clarify
7777
superClarityExtentionNote=Add video quality enhancement with AI for video track with a SDK plugin.
78+
redirectTip=Note: This demo has been updated. Please visit <a href='https://webdemo-global.agora.io/index.html'> https://webdemo-global.agora.io/index.html</a> to experience the latest demo.
79+
7880

Demo/i18n/zh-CN/common.properties

+1
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ logout=退出
7575
ssoText=正在登录中...
7676
superClarityExtention=AI画质
7777
superClarityExtentionNote=使用SDK插件为video track添加基于AI的画质增强功能
78+
redirectTip=此 Demo 已更新。请访问<a href='https://webdemo-global.agora.io/index.html'> https://webdemo-global.agora.io/index.html</a> 体验最新版本 Demo。

Demo/index.html

+11-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
href="https://forms.office.com/Pages/ResponsePage.aspx?id=dFMnYKo-wkmDw8wYnRJpgXLvSSJvzXpKsNwZBzWrfBhUNFFEUldSWVBNNkRMQklYS1ZZODY0Mk9BVy4u"><small><label
4545
class="i18n" name="questionare"></label></small></a></p>
4646
<a style="color: rgb(255, 255, 255);fill: rgb(255, 255, 255);fill-rule: evenodd; position: absolute; right: 60px; top: 10px;"
47-
class="Header-link " href="https://github.com/AgoraIO/API-Examples-Web/tree/main/Demo">
47+
class="Header-link " href="https://github.com/AgoraIO/API-Examples-Web/tree/legacy/Demo">
4848
<svg class="octicon octicon-mark-github v-align-middle" height="32" viewBox="0 0 16 16" version="1.1" width="32"
4949
aria-hidden="true">
5050
<path fill-rule="evenodd"
@@ -55,6 +55,16 @@
5555
<span style="cursor: pointer; position: absolute; right: 15px; top: 14px;" id="logout">
5656
<label class="i18n" name="logout" style="cursor: pointer;"></label>
5757
</span>
58+
59+
<div
60+
style="position:fixed; top:0px; display: flex; align-items: center;justify-content: center;width: 100%; z-index: 10; ">
61+
<div class="alert alert-danger alert-dismissible fade show" role="alert">
62+
<label class="i18n" name="redirectTip"> </label>
63+
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
64+
<span aria-hidden="true">&times;</span>
65+
</button>
66+
</div>
67+
</div>
5868
</div>
5969

6070
<div class="wrapper">

0 commit comments

Comments
 (0)