Skip to content

Commit

Permalink
Customize search component and blog results
Browse files Browse the repository at this point in the history
  • Loading branch information
samkim committed Apr 24, 2024
1 parent eb1ab53 commit 83d59f7
Show file tree
Hide file tree
Showing 12 changed files with 852 additions and 75 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ node_modules/*
public/robots.txt
public/sitemap-0.xml
public/sitemap.xml
public/feed.json
21 changes: 21 additions & 0 deletions components/nextra/ExternalIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
export default function ExternalIcon(props: { className?: string }) {
return (
<svg
className={props.className}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g id="Interface / External_Link">
<path
id="vector"
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"
className="stroke-gray-500 dark:stroke-gray-300"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</g>
</svg>
);
}
Loading

0 comments on commit 83d59f7

Please sign in to comment.