Skip to content

Commit 83d59f7

Browse files
committed
Customize search component and blog results
1 parent eb1ab53 commit 83d59f7

12 files changed

+852
-75
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ node_modules/*
88
public/robots.txt
99
public/sitemap-0.xml
1010
public/sitemap.xml
11+
public/feed.json

components/nextra/ExternalIcon.tsx

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
export default function ExternalIcon(props: { className?: string }) {
2+
return (
3+
<svg
4+
className={props.className}
5+
viewBox="0 0 24 24"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg"
8+
>
9+
<g id="Interface / External_Link">
10+
<path
11+
id="vector"
12+
d="M10.0002 5H8.2002C7.08009 5 6.51962 5 6.0918 5.21799C5.71547 5.40973 5.40973 5.71547 5.21799 6.0918C5 6.51962 5 7.08009 5 8.2002V15.8002C5 16.9203 5 17.4801 5.21799 17.9079C5.40973 18.2842 5.71547 18.5905 6.0918 18.7822C6.5192 19 7.07899 19 8.19691 19H15.8031C16.921 19 17.48 19 17.9074 18.7822C18.2837 18.5905 18.5905 18.2839 18.7822 17.9076C19 17.4802 19 16.921 19 15.8031V14M20 9V4M20 4H15M20 4L13 11"
13+
className="stroke-gray-500 dark:stroke-gray-300"
14+
strokeWidth="2"
15+
strokeLinecap="round"
16+
strokeLinejoin="round"
17+
/>
18+
</g>
19+
</svg>
20+
);
21+
}

0 commit comments

Comments
 (0)