Skip to content

Commit ce7228b

Browse files
Removing the Developer survey banner and nav bar link from the Keras.io landing page (#2201)
* Adding the survey banner to the landing page * Changing the banner colour to #C71585 * Changing the banner colour to #761D72 * removing banner * Changing keras hub version
1 parent 87b25c5 commit ce7228b

File tree

4 files changed

+2
-14
lines changed

4 files changed

+2
-14
lines changed

scripts/autogen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
PROJECT_URL = {
3535
"keras": f"{KERAS_TEAM_GH}/keras/tree/v3.11.3/",
3636
"keras_tuner": f"{KERAS_TEAM_GH}/keras-tuner/tree/v1.4.7/",
37-
"keras_hub": f"{KERAS_TEAM_GH}/keras-hub/tree/v0.22.2/",
37+
"keras_hub": f"{KERAS_TEAM_GH}/keras-hub/tree/v0.23.0/",
3838
"tf_keras": f"{KERAS_TEAM_GH}/tf-keras/tree/v2.19.0/",
3939
"keras_rs": f"{KERAS_TEAM_GH}/keras-rs/tree/v0.2.1/"
4040
}

theme/base.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@
129129
'/keras_tuner/': 'Keras Tuner',
130130
'/keras_rs/': 'Keras RS',
131131
'/keras_hub/': 'Keras Hub',
132-
'https://google.qualtrics.com/jfe/form/SV_5psTvNYQKv2mAwC': '2025 Survey',
133132
} %}
134133
<ul class="nav__item--container">
135134
{% for key, value in main_nav_items.items() %}

theme/keras_3.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999
<a class="nav-link" href="/2.18/api/" role="tab" aria-selected="">Keras 2 API documentation</a>
100100
<a class="nav-link" href="/keras_tuner/" role="tab" aria-selected="">KerasTuner: Hyperparam Tuning</a>
101101
<a class="nav-link" href="/keras_hub/" role="tab" aria-selected="">KerasHub: Pretrained Models</a>
102-
<a class="nav-link" href="https://google.qualtrics.com/jfe/form/SV_5psTvNYQKv2mAwC" role="tab" aria-selected="" style="color:blue;">2025 Survey</a>
103102
</div>
104103
</div>
105104
<a href="/">
@@ -122,7 +121,6 @@
122121
<li class="nav__item"><a class="nav__link" href="/keras_tuner/">KERAS TUNER</a></li>
123122
<li class="nav__item"><a class="nav__link" href="/keras_rs/">KERAS RS</a></li>
124123
<li class="nav__item"><a class="nav__link" href="/keras_hub/">KERAS HUB</a></li>
125-
<li class="nav__item"><a class="nav__link" href="https://google.qualtrics.com/jfe/form/SV_5psTvNYQKv2mAwC" style="color:blue;">2025 SURVEY</a></li>
126124
</ul>
127125

128126
<form class="nav__search">

theme/landing.html

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,6 @@
8484

8585
<body>
8686

87-
<div class="survey__banner">
88-
<a href="https://google.qualtrics.com/jfe/form/SV_5psTvNYQKv2mAwC">
89-
Shape the future of Keras! Take a quick 3-minute survey by October 20 to share your experience.
90-
</a>
91-
</div>
92-
9387
<!-- Google Tag Manager (noscript) -->
9488
<noscript
9589
><iframe
@@ -134,7 +128,6 @@
134128
<a class="nav-link" href="/2.18/api/" role="tab" aria-selected="">Keras 2 API documentation</a>
135129
<a class="nav-link" href="/keras_tuner/" role="tab" aria-selected="">KerasTuner: Hyperparam Tuning</a>
136130
<a class="nav-link" href="/keras_hub/" role="tab" aria-selected="">KerasHub: Pretrained Models</a>
137-
<a class="nav-link" href="https://google.qualtrics.com/jfe/form/SV_5psTvNYQKv2mAwC" role="tab" aria-selected="">Take Our Survey!</a>
138131
</div>
139132
</div>
140133
<a href="/">
@@ -157,7 +150,6 @@
157150
<li class="nav__item"><a class="nav__link" href="/keras_tuner/">KERAS TUNER</a></li>
158151
<li class="nav__item"><a class="nav__link" href="/keras_rs/">KERAS RS</a></li>
159152
<li class="nav__item"><a class="nav__link" href="/keras_hub/">KERAS HUB</a></li>
160-
<li class="nav__item"><a class="nav__link" href="https://google.qualtrics.com/jfe/form/SV_5psTvNYQKv2mAwC" style="color:blue;">2025 SURVEY</a></li>
161153
</ul>
162154

163155
<form class="nav__search">
@@ -179,8 +171,7 @@
179171
<div class="hero">
180172
<div class="hero__content--wrapper">
181173
<div class="hero__content">
182-
<a class="button__round" href="https://google.qualtrics.com/jfe/form/SV_5psTvNYQKv2mAwC">TAKE OUR SURVEY!</a>
183-
174+
<a class="button__round" href="/keras_3/">KERAS 3.0 RELEASED</a>
184175
<h1 class="hero__title text--white">A superpower for ML developers</h1>
185176

186177
<p class="hero__description text--white">

0 commit comments

Comments
 (0)