Skip to content

Commit

Permalink
✨ Add Image module
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovi committed Jun 15, 2023
1 parent 525741e commit e46ecff
Show file tree
Hide file tree
Showing 9 changed files with 534 additions and 6 deletions.
2 changes: 1 addition & 1 deletion public/css/docs.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/docs.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions public/css/docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,17 @@ main {
margin-bottom: 15px;
user-select: none;
}

.img-output {
span {
display: block;
}

img {
margin-top: 10px;
box-shadow: 0px 0px 5px 0px rgba(#2b2b2b, 0.25);
}
}
}

#happy-coding {
Expand Down
1 change: 1 addition & 0 deletions src/routes/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const availableResources = [
'users',
'posts',
'comments',
'image',
'todos',
'quotes',
'auth',
Expand Down
4 changes: 2 additions & 2 deletions views/docs-comments.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ fetch('https://dummyjson.com/comments/1', {
<i class="bx bx-left-arrow"></i>
Posts
</a>
<a href="/docs/todos/" class="button">
Todos
<a href="/docs/image/" class="button">
Image
<i class="bx bx-right-arrow"></i>
</a>
</div>
Expand Down
Loading

0 comments on commit e46ecff

Please sign in to comment.