diff --git a/src/images/clear.png b/src/images/clear.png new file mode 100644 index 00000000..92a01005 Binary files /dev/null and b/src/images/clear.png differ diff --git a/src/images/eraser.png b/src/images/eraser.png new file mode 100644 index 00000000..d7ea61c1 Binary files /dev/null and b/src/images/eraser.png differ diff --git a/src/images/paint-bucket.png b/src/images/paint-bucket.png new file mode 100644 index 00000000..2586b68c Binary files /dev/null and b/src/images/paint-bucket.png differ diff --git a/src/images/pencil.png b/src/images/pencil.png new file mode 100644 index 00000000..624b9149 Binary files /dev/null and b/src/images/pencil.png differ diff --git a/src/images/redo.png b/src/images/redo.png new file mode 100644 index 00000000..7d81ba45 Binary files /dev/null and b/src/images/redo.png differ diff --git a/src/images/shapes.png b/src/images/shapes.png new file mode 100644 index 00000000..be347347 Binary files /dev/null and b/src/images/shapes.png differ diff --git a/src/images/undo.png b/src/images/undo.png new file mode 100644 index 00000000..2a4ff010 Binary files /dev/null and b/src/images/undo.png differ diff --git a/src/routes/(tools)/whiteboard/+page.svelte b/src/routes/(tools)/whiteboard/+page.svelte index 55b5a5ec..d25002fa 100644 --- a/src/routes/(tools)/whiteboard/+page.svelte +++ b/src/routes/(tools)/whiteboard/+page.svelte @@ -1,11 +1,347 @@ - + #whiteboard { + width: 100%; + height: 100%; + border: 1px solid #ccc; + } -
- -
+ .nav-bar { + width: 100%; + position: relative; + } - \ No newline at end of file + .tool-btn img { + width: 24px; + height: 24px; + } + + .tool-btn:hover { + background-color: #e0e0e0; + } + + .dropdown { + position: absolute; + top: calc(100% + 8px); + left: 0; + z-index: 1000; + display: none; + background-color: #fff; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); + border-radius: 4px; + width: max-content; + } + + .dropdown.active { + display: block; + } + + .dropdown-arrow { + position: absolute; + top: 100%; + left: 50%; + transform: translateX(-50%); + width: 0; + height: 0; + border-style: solid; + border-width: 6px 6px 0 6px; + border-color: #f0f0f0 transparent transparent transparent; + } + + .dropdown-item { + padding: 8px 16px; + cursor: pointer; + } + + .dropdown-item:hover { + background-color: #f0f0f0; + } + + .color-palette { + display: flex; + padding: 8px; + } + + .color-swatch { + width: 24px; + height: 24px; + margin: 4px; + border-radius: 4px; + cursor: pointer; + } + + + +
+ + + + +
+ +
+
+ + + + diff --git a/src/routes/(tools)/whiteboard/meta.json b/src/routes/(tools)/whiteboard/meta.json index 01d9089e..1835fd60 100644 --- a/src/routes/(tools)/whiteboard/meta.json +++ b/src/routes/(tools)/whiteboard/meta.json @@ -1,9 +1,9 @@ { - "name": "", - "description":"", + "name": "Whiteboard", + "description":"It is an online Whiteboard where you can covert your own thoughts to picture", "contributors": [{ - "name": "", - "githubId": "" + "name": "Aswani Bolisetti", + "githubId": "AswaniBolisetti" }, { "name": "", "githubId": "" diff --git a/src/routes/tools.json b/src/routes/tools.json index 182e057a..3c66f275 100644 --- a/src/routes/tools.json +++ b/src/routes/tools.json @@ -80,6 +80,33 @@ } ] }, + "code-to-image-converter": { + "name": "", + "link": "/code-to-image-converter", + "description": "", + "contributors": [ + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + } + ] + }, "css-animator": { "name": "CSS Animator", "link": "/css-animator", @@ -95,6 +122,87 @@ } ] }, + "custom-handwriting-font": { + "name": "", + "link": "/custom-handwriting-font", + "description": "", + "contributors": [ + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + } + ] + }, + "custom-icon-font-generator": { + "name": "", + "link": "/custom-icon-font-generator", + "description": "", + "contributors": [ + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + } + ] + }, + "database-schema-visualizer": { + "name": "", + "link": "/database-schema-visualizer", + "description": "", + "contributors": [ + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + } + ] + }, "device-details": { "name": "Device Details", "link": "/device-details", @@ -117,9 +225,9 @@ } ] }, - "gradient-generator": { + "Gradient-generator": { "name": "Gradient Generator", - "link": "/gradient-generator", + "link": "/Gradient-generator", "description": "The Gradient Generator is a tool for Developers which allows you to create Gradient between 2 Colors and Copy its CSS Output.", "contributors": [ { @@ -198,6 +306,33 @@ } ] }, + "mock-webhook": { + "name": "", + "link": "/mock-webhook", + "description": "", + "contributors": [ + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + } + ] + }, "neumorphism-generator": { "name": "Neumorphism Generator", "link": "/neumorphism-generator", @@ -217,6 +352,33 @@ } ] }, + "online-video-editor": { + "name": "", + "link": "/online-video-editor", + "description": "", + "contributors": [ + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + } + ] + }, "password-generator": { "name": "Password Generator", "link": "/password-generator", @@ -228,6 +390,60 @@ } ] }, + "pastebin": { + "name": "", + "link": "/pastebin", + "description": "", + "contributors": [ + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + } + ] + }, + "pdf-2-scan": { + "name": "", + "link": "/pdf-2-scan", + "description": "", + "contributors": [ + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + } + ] + }, "pomodoro": { "name": "Pomodoro", "link": "/pomodoro", @@ -307,5 +523,32 @@ "githubId": "hannansatopay" } ] + }, + "whiteboard": { + "name": "Whiteboard", + "link": "/whiteboard", + "description": "It is an online Whiteboard where you can covert your own thoughts to picture", + "contributors": [ + { + "name": "Aswani Bolisetti", + "githubId": "AswaniBolisetti" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + }, + { + "name": "", + "githubId": "" + } + ] } } \ No newline at end of file