Skip to content

Commit 0bd2437

Browse files
Added missing header, fixed a UI bug
1 parent 9f27e98 commit 0bd2437

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

app/page.tsx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -299,23 +299,17 @@ export default function ResilientDBLanding() {
299299
style={{
300300
color: '#51cf66',
301301
textDecoration: 'none',
302-
padding: '2px 6px',
303-
borderRadius: '4px',
304-
background: 'rgba(81, 207, 102, 0.1)',
305-
border: '1px solid rgba(81, 207, 102, 0.2)',
306302
transition: 'all 0.3s ease',
307303
cursor: 'pointer',
308304
fontWeight: 500
309305
}}
310306
onMouseEnter={(e) => {
311-
e.currentTarget.style.background = 'rgba(81, 207, 102, 0.2)';
312-
e.currentTarget.style.borderColor = 'rgba(81, 207, 102, 0.4)';
313-
e.currentTarget.style.transform = 'translateY(-1px)';
307+
e.currentTarget.style.color = '#40c057';
308+
e.currentTarget.style.textShadow = '0 1px 2px rgba(81, 207, 102, 0.3)';
314309
}}
315310
onMouseLeave={(e) => {
316-
e.currentTarget.style.background = 'rgba(81, 207, 102, 0.1)';
317-
e.currentTarget.style.borderColor = 'rgba(81, 207, 102, 0.2)';
318-
e.currentTarget.style.transform = 'translateY(0)';
311+
e.currentTarget.style.color = '#51cf66';
312+
e.currentTarget.style.textShadow = 'none';
319313
}}
320314
>
321315
the official website

next-env.d.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
/// <reference types="next" />
221
/// <reference types="next/image-types/global" />
322
/// <reference types="next/navigation-types/compat/navigation" />

0 commit comments

Comments
 (0)