Skip to content

Commit

Permalink
Update image URLs in meta tags for lazyweb pages
Browse files Browse the repository at this point in the history
  • Loading branch information
dishant0406 committed Aug 3, 2024
1 parent acc89bc commit 7069fae
Showing 7 changed files with 112 additions and 1,585 deletions.
4 changes: 2 additions & 2 deletions lazyweb/components/desktop/TopProduct/TopProduct.tsx
Original file line number Diff line number Diff line change
@@ -99,7 +99,7 @@ const TopProduct = ({ url, unformatUrl }: Props) => {
<div
className={`h-[15rem] flex-grow transition-all flex items-center justify-center rounded-[10px] min-w-[18rem] max-w-[24rem] bg-[#0d0d0e]`}
>
<div className="w-[95%] relative flex flex-col justify-end p-[1rem] items-center h-[14rem]">
<div className="w-[95%] relative flex flex-col rounded-[5px] justify-end p-[1rem] items-center overflow-hidden h-[14rem]">
<Image
as={NextImage}
isZoomed
@@ -108,7 +108,7 @@ const TopProduct = ({ url, unformatUrl }: Props) => {
width={500}
alt="product image"
classNames={{
wrapper: "absolute top-0 h-full z-[0] rounded-[5px]",
wrapper: "absolute object-cover top-0 h-full z-[0]",
}}
/>
<div className="w-full flex z-[1] rounded-lg bg-gray p-[0.5rem] items-center justify-between">
4 changes: 2 additions & 2 deletions lazyweb/components/utility/SEO/index.tsx
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ export default function SEO() {
<meta property="og:url" content="https://app.lazyweb.rocks" />
<meta
property="og:image"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/LazywebUpScaledLogo.png"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/mainlazyweb.png"
/>
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="Lazyweb Rocks" />
@@ -43,7 +43,7 @@ export default function SEO() {
/>
<meta
name="twitter:image"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/LazywebUpScaledLogo.png"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/mainlazyweb.png"
/>
<meta name="robots" content="index, follow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
26 changes: 7 additions & 19 deletions lazyweb/package.json
Original file line number Diff line number Diff line change
@@ -20,16 +20,8 @@
"@nextui-org/react": "^2.2.9",
"@phntms/react-share": "^1.0.2-rc1",
"@react-spring/web": "^9.5.5",
"@reactour/tour": "^3.1.6",
"@resvg/resvg-js": "^2.2.0",
"@supabase/supabase-js": "^2.1.1",
"@types/node": "20.5",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"@types/react-lazy-load-image-component": "^1.5.2",
"@types/react-resizable": "^3.0.4",
"@types/react-stack-grid": "^0.7.3",
"@types/svg64": "^1.1.0",
"@vercel/analytics": "^1.1.1",
"@vercel/speed-insights": "^1.0.2",
"ace-builds": "^1.32.2",
@@ -45,7 +37,7 @@
"jwt-decode": "^3.1.2",
"minidenticons": "^2.0.0",
"moment": "^2.29.4",
"next": "13.4.7",
"next": "13.4.3",
"next-connect": "^0.13.0",
"nextjs-google-analytics": "^2.3.3",
"novel": "^0.1.22",
@@ -54,24 +46,15 @@
"react-device-detect": "^2.2.2",
"react-dom": "18.2.0",
"react-feather": "^2.0.10",
"react-flip-move": "^3.0.5",
"react-highlight": "^0.15.0",
"react-icons": "4.11.0",
"react-infinite-scroll-component": "^6.1.0",
"react-input-checkbox": "^1.1.0",
"react-ip-details": "^1.2.6",
"react-joyride": "^2.5.3",
"react-lazy-load-image-component": "^1.5.6",
"react-qr-code": "^2.0.12",
"react-reflex": "^4.1.0",
"react-resizable": "^3.0.5",
"react-select": "^5.7.0",
"react-share": "^4.4.1",
"react-spinners": "^0.13.7",
"react-split-pane": "^0.1.92",
"react-spring-bottom-sheet": "^3.4.1",
"react-stack-grid": "^0.7.1",
"react-tinder-card": "^1.6.2",
"react-to-pdf": "^1.0.1",
"react-toastify": "^9.1.1",
"react-tooltip": "^4.5.1",
@@ -84,6 +67,11 @@
"devDependencies": {
"autoprefixer": "^10.4.13",
"postcss": "^8.4.19",
"tailwindcss": "^3.2.4"
"tailwindcss": "^3.2.4",
"@types/node": "20.5",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"@types/react-lazy-load-image-component": "^1.5.2",
"@types/svg64": "^1.1.0"
}
}
9 changes: 3 additions & 6 deletions lazyweb/pages/notes.tsx
Original file line number Diff line number Diff line change
@@ -26,13 +26,10 @@ const Notes = (props: Props) => {
}
/>
<meta property="og:type" content="website" />
<meta
property="og:url"
content="https://app.lazyweb.rocks/playground"
/>
<meta property="og:url" content="https://app.lazyweb.rocks/notes" />
<meta
property="og:image"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/lazynotes.png"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/ainotes.png"
/>

<meta name="twitter:card" content="summary_large_image" />
@@ -45,7 +42,7 @@ const Notes = (props: Props) => {
/>
<meta
name="twitter:image"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/lazynotes.png"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/ainotes.png"
/>
<meta name="twitter:site" content="@dishant0406" />
<meta name="twitter:creator" content="@dishant0406" />
4 changes: 2 additions & 2 deletions lazyweb/pages/playground.tsx
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ const Playground = (props: Props) => {
/>
<meta
property="og:image"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/LazywebPlayground.png"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/jsplayground.png"
/>

<meta name="twitter:card" content="summary_large_image" />
@@ -46,7 +46,7 @@ const Playground = (props: Props) => {
/>
<meta
name="twitter:image"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/LazywebPlayground.png"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/jsplayground.png"
/>
<meta name="twitter:site" content="@dishant0406" />
<meta name="twitter:creator" content="@dishant0406" />
4 changes: 2 additions & 2 deletions lazyweb/pages/snippet.tsx
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ const Snippet = (props: Props) => {
<meta property="og:url" content="https://app.lazyweb.rocks/snippet" />
<meta
property="og:image"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/lazysnippetlow.png"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/codesnips.png"
/>

<meta name="twitter:card" content="summary_large_image" />
@@ -49,7 +49,7 @@ const Snippet = (props: Props) => {
/>
<meta
name="twitter:image"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/lazysnippetlow.png"
content="https://cdn.jsdelivr.net/gh/dishant0406/images-repo@master/codesnips.png"
/>
<meta name="twitter:site" content="@dishant0406" />
<meta name="twitter:creator" content="@dishant0406" />
Loading

0 comments on commit 7069fae

Please sign in to comment.