Skip to content

Commit 388d68c

Browse files
committed
api key banner
1 parent c7a5382 commit 388d68c

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

src/app/pages/home/home.component.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
limitations under the License.
1515
-->
1616

17+
<div class="api-key-banner">
18+
<p>Open <code>functions/.env</code> and add your Gemini API key.</p>
19+
</div>
20+
1721
<header>
1822
<svg
1923
class="web"

src/app/pages/home/home.component.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,19 @@ header {
122122
}
123123
}
124124
}
125+
126+
.api-key-banner {
127+
position: absolute;
128+
top: 10px;
129+
width: 100%;
130+
display: flex;
131+
justify-content: center;
132+
133+
& p {
134+
padding: 16px;
135+
background-color: var(--primary);
136+
color: var(--background);
137+
border-radius: 12px;
138+
max-width: fit-content;
139+
}
140+
}

0 commit comments

Comments
 (0)