Skip to content

Commit

Permalink
Legacy CSS Removal: Icons import Script - removed older icon folders,…
Browse files Browse the repository at this point in the history
… fixed some bugs
  • Loading branch information
phillipbentonkelly committed Oct 26, 2021
1 parent bbc59c5 commit d072773
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 60 deletions.
2 changes: 1 addition & 1 deletion components/icons/accessboston/accessboston.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<div class="p-a300 t--sans">
<a href="https://assets.boston.gov/icons/{{accessboston}}/{{icon.file}}">File URL</a>
<a href="{{imgUrl "https://assets.boston.gov/icons/accessboston" icon.file}}">File URL</a>
</div>
</div>
{{/each}}
Expand Down
2 changes: 1 addition & 1 deletion components/icons/circle_icons/circle_icons.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<div class="p-a300 t--sans">
<a href="https://assets.boston.gov/icons/{{circle_icons}}/{{icon.file}}">File URL</a>
<a href="{{imgUrl "https://assets.boston.gov/icons/circle_icons" icon.file}}">File URL</a>
</div>
</div>
{{/each}}
Expand Down
2 changes: 1 addition & 1 deletion components/icons/dept_icons/dept_icons.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<div class="p-a300 t--sans">
<a href="https://assets.boston.gov/icons/{{dept_icons}}/{{icon.file}}">File URL</a>
<a href="{{imgUrl "https://assets.boston.gov/icons/dept_icons" icon.file}}">File URL</a>
</div>
</div>
{{/each}}
Expand Down
2 changes: 1 addition & 1 deletion components/icons/drupal/drupal.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<div class="p-a300 t--sans">
<a href="https://assets.boston.gov/icons/{{drupal}}/{{icon.file}}">File URL</a>
<a href="{{imgUrl "https://assets.boston.gov/icons/drupal" icon.file}}">File URL</a>
</div>
</div>
{{/each}}
Expand Down
2 changes: 1 addition & 1 deletion components/icons/drupal_icons/drupal_icons.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<div class="p-a300 t--sans">
<a href="https://assets.boston.gov/icons/{{drupal_icons}}/{{icon.file}}">File URL</a>
<a href="{{imgUrl "https://assets.boston.gov/icons/drupal_icons" icon.file}}">File URL</a>
</div>
</div>
{{/each}}
Expand Down
2 changes: 1 addition & 1 deletion components/icons/experiential_icons/experiential_icons.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<div class="p-a300 t--sans">
<a href="https://assets.boston.gov/icons/{{experiential_icons}}/{{icon.file}}">File URL</a>
<a href="{{imgUrl "https://assets.boston.gov/icons/experiential_icons" icon.file}}">File URL</a>
</div>
</div>
{{/each}}
Expand Down
18 changes: 0 additions & 18 deletions components/icons/mapping/mapping.config.yml

This file was deleted.

11 changes: 0 additions & 11 deletions components/icons/mapping/mapping.hbs

This file was deleted.

2 changes: 1 addition & 1 deletion components/icons/metrolist/metrolist.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<div class="p-a300 t--sans">
<a href="https://assets.boston.gov/icons/{{metrolist}}/{{icon.file}}">File URL</a>
<a href="{{imgUrl "https://assets.boston.gov/icons/metrolist" icon.file}}">File URL</a>
</div>
</div>
{{/each}}
Expand Down
12 changes: 0 additions & 12 deletions components/icons/social/social.config.yml

This file was deleted.

11 changes: 0 additions & 11 deletions components/icons/social/social.hbs

This file was deleted.

2 changes: 1 addition & 1 deletion dev-scripts/icons_manifest/manifest.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<div class="p-a300 t--sans">
<a href="https://assets.boston.gov/icons/{{directory_name}}/{{icon.file}}">File URL</a>
<a href="{{imgUrl "https://assets.boston.gov/icons/directory_name" icon.file}}">File URL</a>
</div>
</div>
{{/each}}
Expand Down
1 change: 1 addition & 0 deletions stylesheets/components/external-icons/_external-icons.styl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
justify-content: center

img
max-width: 200px
max-height: 200px


0 comments on commit d072773

Please sign in to comment.