Replace assests using webp intead of png
@ -93,20 +93,20 @@ const Testimonial = () => {
|
||||
{firstColumn.map((item, i) => {
|
||||
if (item.type === 'tweet')
|
||||
return (
|
||||
<div className="tweet-wrapper">
|
||||
<Tweet key={i} id={item.id} />
|
||||
<div key={i} className="tweet-wrapper">
|
||||
<Tweet id={item.id} />
|
||||
</div>
|
||||
)
|
||||
if (item.type === 'youtube')
|
||||
return (
|
||||
<div>
|
||||
<div key={i}>
|
||||
<iframe
|
||||
width="100%"
|
||||
height="260"
|
||||
src={`https://www.youtube.com/embed/${item.id}`}
|
||||
title="Install Jan to Run LLM Offline and Local First"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
allowfullscreen
|
||||
allowFullScreen
|
||||
className="rounded-xl"
|
||||
loading="lazy"
|
||||
/>
|
||||
@ -118,20 +118,20 @@ const Testimonial = () => {
|
||||
{secondColumn.map((item, i) => {
|
||||
if (item.type === 'tweet')
|
||||
return (
|
||||
<div className="tweet-wrapper">
|
||||
<Tweet key={i} id={item.id} />
|
||||
<div key={i} className="tweet-wrapper">
|
||||
<Tweet id={item.id} />
|
||||
</div>
|
||||
)
|
||||
if (item.type === 'youtube')
|
||||
return (
|
||||
<div>
|
||||
<div key={i}>
|
||||
<iframe
|
||||
width="100%"
|
||||
height="260"
|
||||
src={`https://www.youtube.com/embed/${item.id}`}
|
||||
title="Install Jan to Run LLM Offline and Local First"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
allowfullscreen
|
||||
allowFullScreen
|
||||
className="rounded-xl"
|
||||
loading="lazy"
|
||||
/>
|
||||
@ -143,20 +143,20 @@ const Testimonial = () => {
|
||||
{thirdColumn.map((item, i) => {
|
||||
if (item.type === 'tweet')
|
||||
return (
|
||||
<div className="tweet-wrapper">
|
||||
<Tweet key={i} id={item.id} />
|
||||
<div key={i} className="tweet-wrapper">
|
||||
<Tweet id={item.id} />
|
||||
</div>
|
||||
)
|
||||
if (item.type === 'youtube')
|
||||
return (
|
||||
<div>
|
||||
<div key={i}>
|
||||
<iframe
|
||||
width="100%"
|
||||
height="260"
|
||||
src={`https://www.youtube.com/embed/${item.id}`}
|
||||
title="Install Jan to Run LLM Offline and Local First"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
allowfullscreen
|
||||
allowFullScreen
|
||||
className="rounded-xl"
|
||||
loading="lazy"
|
||||
/>
|
||||
@ -168,20 +168,20 @@ const Testimonial = () => {
|
||||
{fourthColumn.map((item, i) => {
|
||||
if (item.type === 'tweet')
|
||||
return (
|
||||
<div className="tweet-wrapper">
|
||||
<Tweet key={i} id={item.id} />
|
||||
<div key={i} className="tweet-wrapper">
|
||||
<Tweet id={item.id} />
|
||||
</div>
|
||||
)
|
||||
if (item.type === 'youtube')
|
||||
return (
|
||||
<div>
|
||||
<div key={i}>
|
||||
<iframe
|
||||
width="100%"
|
||||
height="260"
|
||||
src={`https://www.youtube.com/embed/${item.id}`}
|
||||
title="Install Jan to Run LLM Offline and Local First"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
allowfullscreen
|
||||
allowFullScreen
|
||||
className="rounded-xl"
|
||||
loading="lazy"
|
||||
/>
|
||||
|
||||
@ -186,8 +186,8 @@ export default function Home() {
|
||||
className="object-cover w-full object-center mx-auto h-full lg:-left-4 relative"
|
||||
alt="App screenshots"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/homepage/app-frame-light.png'),
|
||||
dark: useBaseUrl('/img/homepage/app-frame-dark.png'),
|
||||
light: useBaseUrl('/img/homepage/app-frame-light.webp'),
|
||||
dark: useBaseUrl('/img/homepage/app-frame-dark.webp'),
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
@ -338,8 +338,8 @@ export default function Home() {
|
||||
<ThemedImage
|
||||
alt="App screenshots"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/homepage/features01.png'),
|
||||
dark: useBaseUrl('/img/homepage/features01dark.png'),
|
||||
light: useBaseUrl('/img/homepage/features01.webp'),
|
||||
dark: useBaseUrl('/img/homepage/features01dark.webp'),
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
@ -347,8 +347,8 @@ export default function Home() {
|
||||
<ThemedImage
|
||||
alt="App screenshots"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/homepage/features02.png'),
|
||||
dark: useBaseUrl('/img/homepage/features02dark.png'),
|
||||
light: useBaseUrl('/img/homepage/features02.webp'),
|
||||
dark: useBaseUrl('/img/homepage/features02dark.webp'),
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
@ -356,8 +356,8 @@ export default function Home() {
|
||||
<ThemedImage
|
||||
alt="App screenshots"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/homepage/features03.png'),
|
||||
dark: useBaseUrl('/img/homepage/features03dark.png'),
|
||||
light: useBaseUrl('/img/homepage/features03.webp'),
|
||||
dark: useBaseUrl('/img/homepage/features03dark.webp'),
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
@ -365,8 +365,8 @@ export default function Home() {
|
||||
<ThemedImage
|
||||
alt="App screenshots"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/homepage/features04.png'),
|
||||
dark: useBaseUrl('/img/homepage/features04dark.png'),
|
||||
light: useBaseUrl('/img/homepage/features04.webp'),
|
||||
dark: useBaseUrl('/img/homepage/features04dark.webp'),
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
@ -649,8 +649,8 @@ export default function Home() {
|
||||
className="w-28 mx-auto h-auto"
|
||||
alt="App screenshots"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/homepage/mac-system-black.png'),
|
||||
dark: useBaseUrl('/img/homepage/mac-system-white.png'),
|
||||
light: useBaseUrl('/img/homepage/mac-system-black.webp'),
|
||||
dark: useBaseUrl('/img/homepage/mac-system-white.webp'),
|
||||
}}
|
||||
/>
|
||||
<h1 className="text-5xl lg:text-7xl !font-normal leading-tight lg:leading-tight mt-2 font-serif">
|
||||
@ -718,8 +718,8 @@ export default function Home() {
|
||||
className="w-full mx-auto h-auto"
|
||||
alt="App screenshots"
|
||||
sources={{
|
||||
light: useBaseUrl('/img/homepage/mapbase-light.png'),
|
||||
dark: useBaseUrl('/img/homepage/mapbase.png'),
|
||||
light: useBaseUrl('/img/homepage/mapbase-light.webp'),
|
||||
dark: useBaseUrl('/img/homepage/mapbase.webp'),
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@ -160,7 +160,7 @@
|
||||
[class*='actions_'] {
|
||||
display: none !important;
|
||||
}
|
||||
[class*='.authorFollow_'] {
|
||||
[class*='authorFollow_'] {
|
||||
display: none !important;
|
||||
}
|
||||
[class*='replies_'] {
|
||||
|
||||
BIN
docs/static/img/homepage/app-frame-dark.png
vendored
|
Before Width: | Height: | Size: 2.7 MiB |
BIN
docs/static/img/homepage/app-frame-dark.webp
vendored
Normal file
|
After Width: | Height: | Size: 93 KiB |
BIN
docs/static/img/homepage/app-frame-light.png
vendored
|
Before Width: | Height: | Size: 2.7 MiB |
BIN
docs/static/img/homepage/app-frame-light.webp
vendored
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
docs/static/img/homepage/features01.png
vendored
|
Before Width: | Height: | Size: 645 KiB |
BIN
docs/static/img/homepage/features01.webp
vendored
Normal file
|
After Width: | Height: | Size: 113 KiB |
BIN
docs/static/img/homepage/features01dark.png
vendored
|
Before Width: | Height: | Size: 704 KiB |
BIN
docs/static/img/homepage/features01dark.webp
vendored
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
docs/static/img/homepage/features02.png
vendored
|
Before Width: | Height: | Size: 260 KiB |
BIN
docs/static/img/homepage/features02.webp
vendored
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
docs/static/img/homepage/features02dark.png
vendored
|
Before Width: | Height: | Size: 261 KiB |
BIN
docs/static/img/homepage/features02dark.webp
vendored
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
docs/static/img/homepage/features03.png
vendored
|
Before Width: | Height: | Size: 1.1 MiB |
BIN
docs/static/img/homepage/features03.webp
vendored
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
docs/static/img/homepage/features03dark.png
vendored
|
Before Width: | Height: | Size: 1.1 MiB |
BIN
docs/static/img/homepage/features03dark.webp
vendored
Normal file
|
After Width: | Height: | Size: 77 KiB |
BIN
docs/static/img/homepage/features04.png
vendored
|
Before Width: | Height: | Size: 410 KiB |
BIN
docs/static/img/homepage/features04.webp
vendored
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
docs/static/img/homepage/features04dark.png
vendored
|
Before Width: | Height: | Size: 420 KiB |
BIN
docs/static/img/homepage/features04dark.webp
vendored
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
docs/static/img/homepage/mac-system-black.webp
vendored
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
docs/static/img/homepage/mac-system-white.png
vendored
|
Before Width: | Height: | Size: 5.3 KiB |
BIN
docs/static/img/homepage/mac-system-white.webp
vendored
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
docs/static/img/homepage/mapbase-light.png
vendored
|
Before Width: | Height: | Size: 97 KiB |
BIN
docs/static/img/homepage/mapbase-light.webp
vendored
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
docs/static/img/homepage/mapbase.png
vendored
|
Before Width: | Height: | Size: 221 KiB |
BIN
docs/static/img/homepage/mapbase.webp
vendored
Normal file
|
After Width: | Height: | Size: 98 KiB |