Update image url

Fix anchor style
This commit is contained in:
Defectink
2022-04-20 10:13:11 +08:00
parent 91619f69fb
commit c839e6dd57
3 changed files with 20 additions and 10 deletions

View File

@ -11,17 +11,21 @@ const Anchor = ({ children, external = true, ...rest }: Props) => {
<>
<a
{...rest}
className="inline-block"
target={external ? '_blank' : undefined}
className={cn(
'mx-[2px] text-teal-500 relative',
'before:left-0 before:top-[1px] before:block before:absolute',
'before:w-full before:h-full before:transition-all before:shadow-underline',
'hover:before:shadow-throughline',
'dark:text-teal-600'
)}
>
{children}
{external && <FiExternalLink className="inline ml-1 mb-[0.2rem]" />}
<span
className={cn(
'mx-[2px] text-teal-500 relative',
'before:left-0 before:top-[1px] before:block before:absolute',
'before:w-full before:h-full before:transition-all before:shadow-underline',
'hover:before:shadow-throughline',
'dark:text-teal-600'
)}
>
{children}
{external && <FiExternalLink className="inline ml-1 mb-[0.2rem]" />}
</span>
</a>
</>
);

View File

@ -142,7 +142,7 @@ We need set texture to cube box each side. so we need six pictures.
The skybos is six images that can be connected each other.
![skyboxes_example.png](/images/p/how-to-load-a-background-with-threejs/skybox_example.png)
![skyboxes_example.png](/images/p/how-to-load-a-background-with-threejs/Skybox_example.png)
We just need load six images in some order, and set them to the scene background.

View File

@ -52,3 +52,9 @@ The DocSearch frontend UI read result as specific format. We just need to provid
Then DocSearch fronted UI can works.
![Index format](/images/p/setting-up-docsearch-for-nextjs/index-format.png)
So we need post same format to Algolia.
## Push our data
Algolia provide JavaScript API Client to push data to Algolia.