Skip to content

Commit df4b29d

Browse files
committed
PR feedback: Clean up icons.html, remove extra var added during rebase conflict, remove extra argument in user_profile_page.html
1 parent d5e1bc2 commit df4b29d

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

core/mock_data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ class SharedResources:
319319
"cp ./libs/beast/tools/user-config.jam $HOME"
320320
)
321321

322-
badge_img = f"{settings.STATIC_URL}img/v3/badges"
323322
library_release_contributors = [
324323
{
325324
"name": "Eric Niebler",

static/css/v3/components.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@
5555
@import "./help-card.css";
5656
@import "./quick-start-card.css";
5757
@import "./mailing-list-activity-card.css";
58-
@import "./user-profile-bio-card.css"
58+
@import "./user-profile-bio-card.css";

templates/includes/icon.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,15 @@
110110
{% elif icon_name == "flag" %}
111111
<path d="M3 2H13V4H21V18H11V16H5V22H3V2ZM5 14H13V16H19V6H11V4H5V14Z" />
112112
{% elif icon_name == "pixel-github" %}
113-
<path d="M3.33335 1.33334H6.00002V2.66668H4.66669V4.00001H3.33335V1.33334ZM3.33335 8.00001H2.00002V4.00001H3.33335V8.00001ZM4.66669 9.33334H3.33335V8.00001H4.66669V9.33334ZM6.00002 10.6667V9.33334H4.66669V10.6667H2.00002V9.33334H0.666687V10.6667H2.00002V12H4.66669V14.6667H6.00002V12H7.33335V10.6667H6.00002ZM6.00002 10.6667V12H4.66669V10.6667H6.00002ZM10 2.66668V4.00001H6.00002V2.66668H10ZM12.6667 4.00001H11.3334V2.66668H10V1.33334H12.6667V4.00001ZM12.6667 8.00001V4.00001H14V8.00001H12.6667ZM11.3334 9.33334V8.00001H12.6667V9.33334H11.3334ZM10 10.6667V9.33334H11.3334V10.6667H10ZM10 12H8.66669V10.6667H10V12ZM10 12H11.3334V14.6667H10V12Z" >
113+
<path d="M3.33335 1.33334H6.00002V2.66668H4.66669V4.00001H3.33335V1.33334ZM3.33335 8.00001H2.00002V4.00001H3.33335V8.00001ZM4.66669 9.33334H3.33335V8.00001H4.66669V9.33334ZM6.00002 10.6667V9.33334H4.66669V10.6667H2.00002V9.33334H0.666687V10.6667H2.00002V12H4.66669V14.6667H6.00002V12H7.33335V10.6667H6.00002ZM6.00002 10.6667V12H4.66669V10.6667H6.00002ZM10 2.66668V4.00001H6.00002V2.66668H10ZM12.6667 4.00001H11.3334V2.66668H10V1.33334H12.6667V4.00001ZM12.6667 8.00001V4.00001H14V8.00001H12.6667ZM11.3334 9.33334V8.00001H12.6667V9.33334H11.3334ZM10 10.6667V9.33334H11.3334V10.6667H10ZM10 12H8.66669V10.6667H10V12ZM10 12H11.3334V14.6667H10V12Z" />
114114
{% elif icon_name == "pixel-computer" %}
115115
<path d="M4.00004 2.66666H2.66671V10.6667H13.3334V2.66666H4.00004ZM12 3.99999V9.33332H4.00004V3.99999H12ZM14.6667 12H1.33337V13.3333H14.6667V12Z" />
116116
{% elif icon_name == "pixel-email" %}
117117
<path d="M14.6667 2.66666H1.33337V13.3333H14.6667V2.66666ZM2.66671 12V3.99999H13.3334V12H2.66671ZM5.33337 5.33332H4.00004V6.66666H5.33337V7.99999H6.66671V9.33332H9.33337V7.99999H10.6667V6.66666H12V5.33332H10.6667V6.66666H9.33337V7.99999H6.66671V6.66666H5.33337V5.33332Z" />
118118
{% elif icon_name == "pixel-slack" %}
119119
<path d="M9.99996 1.33334H5.99996V2.66668H4.66663V6.66668H5.99996V2.66668H9.99996V1.33334ZM9.99996 6.66668H5.99996V8.00001H9.99996V6.66668ZM9.99996 2.66668H11.3333V6.66668H9.99996V2.66668ZM2.66663 10.6667H3.99996V9.33334H12V10.6667H3.99996V13.3333H12V10.6667H13.3333V14.6667H2.66663V10.6667Z" />
120120
{% elif icon_name == "pixel-pencil" %}
121-
<path d="M12 1.33334H10.6667V2.66668H9.33337V4.00001H8.00004V5.33334H6.66671V6.66668H5.33337V8.00001H4.00004V9.33334H2.66671V10.6667H1.33337V14.6667H5.33337V13.3333H6.66671V12H8.00004V10.6667H9.33337V9.33334H10.6667V8.00001H12V6.66668H13.3334V5.33334H14.6667V4.00001H13.3334V2.66668H12V1.33334ZM12 6.66668H10.6667V8.00001H9.33337V9.33334H8.00004V10.6667H6.66671V12H5.33337V10.6667H4.00004V9.33334H5.33337V8.00001H6.66671V6.66668H8.00004V5.33334H9.33337V4.00001H10.6667V5.33334H12V6.66668ZM4.00004 10.6667H2.66671V13.3333H5.33337V12H4.00004V10.6667Z" fill="#050816"/>
121+
<path d="M12 1.33334H10.6667V2.66668H9.33337V4.00001H8.00004V5.33334H6.66671V6.66668H5.33337V8.00001H4.00004V9.33334H2.66671V10.6667H1.33337V14.6667H5.33337V13.3333H6.66671V12H8.00004V10.6667H9.33337V9.33334H10.6667V8.00001H12V6.66668H13.3334V5.33334H14.6667V4.00001H13.3334V2.66668H12V1.33334ZM12 6.66668H10.6667V8.00001H9.33337V9.33334H8.00004V10.6667H6.66671V12H5.33337V10.6667H4.00004V9.33334H5.33337V8.00001H6.66671V6.66668H8.00004V5.33334H9.33337V4.00001H10.6667V5.33334H12V6.66668ZM4.00004 10.6667H2.66671V13.3333H5.33337V12H4.00004V10.6667Z" />
122122
{% endif %}
123123
</svg>
124124
{% endif %}

templates/v3/user_profile_page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
{% include "v3/includes/_achievement_card.html" with achievements=achievements_data.achievements primary_button_url="https://www.example.com" %}
4646
</div>
4747
<div class="user-profile__badges">
48-
{% include "v3/includes/_badges_card.html" with cta_url="#" cta_label="Explore available badges and how to earn them" empty_icon_srcs=badge_icon_srcs badges=demo_badges %}
48+
{% include "v3/includes/_badges_card.html" with cta_url="#" cta_label="Explore available badges and how to earn them" badges=demo_badges %}
4949
</div>
5050
<div class="user-profile__posts">
5151
{% include "v3/includes/_post_card.html" with heading="Posts" items=posts variant="card" theme="teal" primary_cta_label=profile_post_cta_label primary_cta_url=profile_post_cta_url %}

0 commit comments

Comments
 (0)