Skip to content

Commit

Permalink
Add custom logo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Apr 15, 2024
1 parent c4d5f9c commit 4b86179
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
13 changes: 0 additions & 13 deletions public/css/styles.css

This file was deleted.

10 changes: 10 additions & 0 deletions public/css/swagger-ui/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,13 @@ body {
background-color: #6428B4;
color: #fff;
}

.custom-logo {
width: 24px;
height: 24px;
position: fixed;
bottom: 2px;
right: 2px;
background: url(/bundles/pimcorestudioapi/img/api-icon.png) center center no-repeat;
background-size: 24px 24px;
}
Binary file added public/img/api-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions templates/swagger-ui/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
<script src="{{ asset('bundles/pimcorestudioapi/js/swagger-ui/swagger-ui-bundle.js') }}" charset="UTF-8"> </script>
<script src="{{ asset('bundles/pimcorestudioapi/js/swagger-ui/swagger-ui-standalone-preset.js') }}" charset="UTF-8"> </script>
<script src="{{ asset('bundles/pimcorestudioapi/js/swagger-ui/swagger-initializer.js') }}" charset="UTF-8"> </script>
<div class="custom-logo"></div>
</body>
</html>

0 comments on commit 4b86179

Please sign in to comment.