Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9476e8e

Browse files
committed
feat: add site icon, TS geenrated
1 parent bade377 commit 9476e8e

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

src/app/components/protos/hero-section.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ import { Button } from '../ui/button';
205205

206206
/* eslint-disable */
207207

208+
/* eslint-disable */
209+
210+
/* eslint-disable */
211+
208212
function TypingAnimation() {
209213
const el = useRef(null);
210214

src/app/components/reusables/code/code-block.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,16 @@ import CopyButton from './copy-code';
376376
/* eslint-disable */
377377
// @ts-nocheck
378378

379+
// react-syntax-highlighter has no types
380+
381+
/* eslint-disable */
382+
// @ts-nocheck
383+
384+
// react-syntax-highlighter has no types
385+
386+
/* eslint-disable */
387+
// @ts-nocheck
388+
379389
// react-syntax-highlighter has no types
380390
/* eslint-disable */
381391
// @ts-nocheck

src/app/icon.tsx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import { ImageResponse } from 'next/og'
2+
3+
export const size = {
4+
width: 32,
5+
height: 32,
6+
}
7+
export const contentType = 'image/png'
8+
9+
export default function Icon() {
10+
return new ImageResponse(
11+
(
12+
<div
13+
style={{
14+
fontSize: 24,
15+
background: 'black',
16+
width: '100%',
17+
height: '100%',
18+
display: 'flex',
19+
alignItems: 'center',
20+
justifyContent: 'center',
21+
color: 'white',
22+
}}
23+
>
24+
AG
25+
</div>
26+
),
27+
{
28+
...size,
29+
}
30+
)
31+
}

0 commit comments

Comments
 (0)