Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified build/ui-bundle.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions src/css/breadcrumbs.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.breadcrumbs {
display: none;
flex: 1 1;
padding: 0 0.5rem 0 0.75rem;
padding-right: 0.5rem;
line-height: var(--nav-line-height);
color: var(--breadcrumbs-font-color);
}
Expand Down Expand Up @@ -29,7 +29,7 @@ a + .breadcrumbs {
margin: 0;
}

.breadcrumbs li::after {
.breadcrumbs li::before {
content: "/";
padding: 0 0.5rem;
}
Expand Down
7 changes: 4 additions & 3 deletions src/css/extensions/custom-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@
} */

.pencil {
/*
background-image: url(../img/pencil-filled.svg);
*/
fill: var(--color-athens-white);
}

.heart {
fill: var(--color-athens-white);
}

Expand Down
13 changes: 11 additions & 2 deletions src/css/extensions/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,17 @@
background-repeat: no-repeat;
height: 1rem;
width: 1rem;
padding: 0 0.75rem;
vertical-align: text-bottom;
}

.heart {
background-image: url(../img/heart.svg);
background-repeat: no-repeat;
height: 1rem;
width: 1rem;
padding: 0 1em;
vertical-align: middle;
vertical-align: text-bottom;
}

.navbar-end .navbar-item .navbar-dropdown {
Expand All @@ -274,7 +283,7 @@
}

.edit-this-page:hover a {
color: var(--color-ultramarine-blue);
/* color: var(--color-ultramarine-blue); */
text-decoration: none;
}

Expand Down
1 change: 1 addition & 0 deletions src/css/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
@media screen and (min-width: 1024px) {
.home-link {
margin: calc(var(--toolbar-height) / 4);
margin-right: 0
}
.edit-this-page {
display: block;
Expand Down
18 changes: 18 additions & 0 deletions src/img/heart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/js/vendor/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

for (var i = 0; i < images.length; i++) {
if (!(images[i].classList.contains('copy-icon') || images[i].classList.contains('pencil') || hasParentClass(images[i],'overview-box'))){
if (!(images[i].classList.contains('copy-icon') || images[i].classList.contains('pencil') || images[i].classList.contains('heart') || hasParentClass(images[i],'overview-box'))){
images[i].setAttribute('data-zoomable', 'true')
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/partials/breadcrumbs.hbs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<nav class="breadcrumbs" aria-label="breadcrumbs">
{{#if page.breadcrumbs}}
<ul>
{{#with page.componentVersion}}
{{!-- {{#with page.componentVersion}}
{{#if (and ./title (ne ./title @root.page.breadcrumbs.0.content))}}
<li><a href="{{{relativize ./url}}}">{{{./title}}}</a></li>
{{/if}}
{{/with}}
{{/with}} --}}
{{#each page.breadcrumbs}}
<li>
{{~#if (and ./url (eq ./urlType 'internal'))~}}
Expand Down
9 changes: 6 additions & 3 deletions src/partials/toolbar.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="toolbar" role="navigation">
{{!-- {{> nav-toggle}} --}}
<div class="components-versions desktop-only">
{{!-- <div class="components-versions desktop-only"> --}}
{{!-- {{> top-components}}
<span></span>
{{> page-versions}} --}}
</div>
{{!-- </div> --}}
<span></span>
<span></span>
{{#with site.homeUrl}}
Expand All @@ -18,6 +18,9 @@
</div>
{{/if}}
<div class="edit-this-page">
<a href="{{page.editUrl}}"><img class="pencil">Edit this Page</a>
<a href='https://github.com/starknet-io/starknet-docs/issues/new?assignees=landauraz&title=Feedback for "{{page.title}}"' target="_blank"><img class="heart">Share feedback</a>
</div>
<div class="edit-this-page">
<a href="{{page.editUrl}}" target="_blank"><img class="pencil">Edit content</a>
</div>
</div>