Skip to content

Commit 3704135

Browse files
committed
update docs
Signed-off-by: Jeffery Orazulike <chukwudumebiorazulike@gmail.com>
1 parent 23714a6 commit 3704135

File tree

3 files changed

+18
-22
lines changed

3 files changed

+18
-22
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ center of your photos and bring edges together for a unique, standout effect. Cr
1212
- **Precision Control**: Pixel-perfect selection with real-time preview
1313
- **Multiple Formats**: Support for PNG, JPEG, and WebP
1414
- **User-Friendly**: Intuitive interface with drag-and-drop support
15-
16-
[//]: # (- **Smart Processing**: Advanced edge blending for seamless results)
15+
- **Smart Processing**: Advanced edge blending for seamless results
1716

1817
## 🚀 Getting Started
1918

@@ -53,7 +52,6 @@ pnpm dev
5352
- Tailwind CSS
5453
- DaisyUI
5554
- Canvas API
56-
- Cropper.js
5755

5856
## 📖 Usage
5957

@@ -88,4 +86,4 @@ Project Link: [https://github.com/logickoder/incrop](https://github.com/logickod
8886

8987
---
9088

91-
Made with ❤️ by Jeffery Orazulike
89+
Made with ❤️ by [Jeffery Orazulike](https://logickoder.dev)

pages/crop/InverseCropperPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export default function InverseCropper({ file, preview }: CropImage) {
229229
Processing...
230230
</>
231231
) : (
232-
`Download (${state.cropHistory.length})`
232+
`Download`
233233
)}
234234
</button>
235235
</div>

renderer/+onRenderHtml.tsx

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,13 @@ const onRenderHtml: OnRenderHtmlAsync = async (pageContext): ReturnType<OnRender
2323
const title = getPageTitle(pageContext);
2424
const desc = pageContext.data?.description ?? pageContext.config.description ?? 'Redefine your images, your way! InCrop is the ultimate tool for inverse cropping, letting you seamlessly remove the center of your photos and bring edges together for a unique, standout effect. Crop smarter, not harder!';
2525

26-
// SEO data
2726
const url = pageContext.urlOriginal || `https://incrop.logickoder.dev${pageContext.urlPathname}`;
2827
const imageUrl = 'https://incrop.logickoder.dev/logo.svg';
2928
const siteName = 'InCrop';
3029
const keywords = 'image editing, inverse cropping, photo editor, crop tool, image manipulation, online editor, photo processing';
3130
const author = 'logickoder';
3231
const type = 'website';
3332

34-
// Structured data for the application
35-
const structuredData = {
36-
'@context': 'https://schema.org',
37-
'@type': 'WebApplication',
38-
'name': siteName,
39-
'description': desc,
40-
'url': url,
41-
'applicationCategory': 'MultimediaApplication',
42-
'operatingSystem': 'Web Browser',
43-
'author': {
44-
'@type': 'Organization',
45-
'name': author
46-
}
47-
};
48-
4933
const documentHtml = escapeInject`<!DOCTYPE html>
5034
<html lang="en">
5135
<head>
@@ -99,7 +83,21 @@ const onRenderHtml: OnRenderHtmlAsync = async (pageContext): ReturnType<OnRender
9983
10084
<!-- Structured Data -->
10185
<script type="application/ld+json">
102-
${dangerouslySkipEscape(JSON.stringify(structuredData))}
86+
${dangerouslySkipEscape(JSON.stringify(
87+
{
88+
'@context': 'https://schema.org',
89+
'@type': 'WebApplication',
90+
'name': siteName,
91+
'description': desc,
92+
'url': url,
93+
'applicationCategory': 'MultimediaApplication',
94+
'operatingSystem': 'Web Browser',
95+
'author': {
96+
'@type': 'Organization',
97+
'name': author
98+
}
99+
}
100+
))}
103101
</script>
104102
</head>
105103
<body>

0 commit comments

Comments
 (0)