File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1414 limitations under the License.
1515-->
1616
17+ < div class ="api-key-banner ">
18+ < div >
19+ < svg xmlns ="http://www.w3.org/2000/svg " height ="24px " viewBox ="0 -960 960 960 " width ="24px " fill ="currentColor "> < path d ="M280-400q-33 0-56.5-23.5T200-480q0-33 23.5-56.5T280-560q33 0 56.5 23.5T360-480q0 33-23.5 56.5T280-400Zm0 160q-100 0-170-70T40-480q0-100 70-170t170-70q67 0 121.5 33t86.5 87h352l120 120-180 180-80-60-80 60-85-60h-47q-32 54-86.5 87T280-240Zm0-80q56 0 98.5-34t56.5-86h125l58 41 82-61 71 55 75-75-40-40H435q-14-52-56.5-86T280-640q-66 0-113 47t-47 113q0 66 47 113t113 47Z "/> </ svg >
20+ < p > Open < code > functions/.env</ code > and add your Gemini API key.</ p >
21+ </ div >
22+ </ div >
23+
1724< header >
1825 < svg
1926 class ="web "
Original file line number Diff line number Diff line change @@ -122,3 +122,39 @@ 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+ & div {
134+ display : flex ;
135+ align-items : center ;
136+ gap : 1rem ;
137+
138+ padding : 16px ;
139+ border : 2px solid var (--primary );
140+ color : var (--contrast );
141+ border-radius : 12px ;
142+ max-width : fit-content ;
143+
144+ & svg {
145+ animation : wobble 1s ease-in-out infinite ;
146+ }
147+ }
148+ }
149+
150+ @keyframes wobble {
151+ 0%, 50% {
152+ transform : translateX (0 );
153+ }
154+ 12.5% {
155+ transform : translateX (-5px );
156+ }
157+ 37.5% {
158+ transform : translateX (5px );
159+ }
160+ }
You can’t perform that action at this time.
0 commit comments