Skip to content

Commit

Permalink
Legacy CSS Removal: Icons import Script
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipbentonkelly committed Oct 27, 2021
1 parent 21afab2 commit 9ad3d6b
Show file tree
Hide file tree
Showing 27 changed files with 2,182 additions and 30,380 deletions.
38 changes: 38 additions & 0 deletions components/icons/accessboston/accessboston.config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
title: "accessboston"
handle: "accessboston"
status: "ready"
context:
defaultIcon: "https://www.boston.gov/modules/custom/bos_content/modules/node_post/default_news.svg"
icons:
- file: "2_tickets.svg"
- file: "Phire.svg"
- file: "Riskmaster2.svg"
- file: "Xybion.svg"
- file: "agilepoint.svg"
- file: "asset_essentials.svg"
- file: "avolve.svg"
- file: "bais-fn.svg"
- file: "bais-hcm.svg"
- file: "boston-maps.svg"
- file: "career-center.svg"
- file: "civis.svg"
- file: "e-builder.svg"
- file: "employee-training.svg"
- file: "employee_giving_unitedway.svg"
- file: "ess.svg"
- file: "featured_guide.svg"
- file: "fleethub.svg"
- file: "gov_qa.svg"
- file: "health_protection.svg"
- file: "hub.svg"
- file: "hyperion.svg"
- file: "iCIMS-Personnel Officers.svg"
- file: "identityiq.svg"
- file: "job-openings.svg"
- file: "password.svg"
- file: "proofpoint-web-security.svg"
- file: "proofpoint.svg"
- file: "sceris.svg"
- file: "service_now.svg"
- file: "talented.svg"
- file: "v3.svg"
24 changes: 24 additions & 0 deletions components/icons/accessboston/accessboston.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<div class="p-a500">
<div class="g">
{{#each icons as |icon|}}
<div class="g--4 m-b500 br br-a150">
<div class="p-a300 ta--c t--upper t--cb t--sans">
{{filename_to_string icon.file}}
</div>

<div class="ex ex-i">
<img
alt="{{filename_to_string icon.file}}"
title="{{filename_to_string icon.file}}"
src="{{imgUrl "https://assets.boston.gov/icons/accessboston" icon.file}}"
onerror={{imgOnError}}
/>
</div>

<div class="p-a300 t--sans">
<a href="{{imgUrl "https://assets.boston.gov/icons/accessboston" icon.file}}">File URL</a>
</div>
</div>
{{/each}}
</div>
</div>
105 changes: 105 additions & 0 deletions components/icons/circle_icons/circle_icons.config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
title: "circle icons"
handle: "circle_icons"
status: "ready"
context:
defaultIcon: "https://www.boston.gov/modules/custom/bos_content/modules/node_post/default_news.svg"
icons:
- file: "2_tickets.svg"
- file: "accessibility.svg"
- file: "alert.svg"
- file: "alert_red.svg"
- file: "apple.svg"
- file: "arobics.svg"
- file: "b_is_for_boston.svg"
- file: "bank.svg"
- file: "baseball.svg"
- file: "basketball.svg"
- file: "bathroom.svg"
- file: "batting_cage.svg"
- file: "beach.svg"
- file: "boat.svg"
- file: "book.svg"
- file: "boxing_room.svg"
- file: "building.svg"
- file: "building_closed.svg"
- file: "call.svg"
- file: "camera.svg"
- file: "cardio.svg"
- file: "city_councle.svg"
- file: "city_hall_municipal_offices.svg"
- file: "closed_roads.svg"
- file: "coffee.svg"
- file: "community_centers.svg"
- file: "community_room.svg"
- file: "computer.svg"
- file: "dance_studio.svg"
- file: "dog_park.svg"
- file: "event_cancellations.svg"
- file: "fireworks .svg"
- file: "fireworks.svg"
- file: "food.svg"
- file: "food_truck.svg"
- file: "football.svg"
- file: "garden.svg"
- file: "gym.svg"
- file: "handball.svg"
- file: "hiking.svg"
- file: "indoor_pool.svg"
- file: "info.svg"
- file: "kitchen.svg"
- file: "leaf_and_yard_waste.svg"
- file: "libraries.svg"
- file: "location.svg"
- file: "mail.svg"
- file: "markets.svg"
- file: "mask.svg"
- file: "mbta.svg"
- file: "moving.svg"
- file: "music_studio.svg"
- file: "new_years.svg"
- file: "no_ice_snow.svg"
- file: "no_parking.svg"
- file: "outdoor_pool.svg"
- file: "outdoor_seating.svg"
- file: "parking.svg"
- file: "parking_meters.svg"
- file: "pencil.svg"
- file: "people.svg"
- file: "picnic_area.svg"
- file: "playground.svg"
- file: "projectoer.svg"
- file: "public_art.svg"
- file: "quote.svg"
- file: "rock_wall.svg"
- file: "sauna_steam_room.svg"
- file: "savings.svg"
- file: "schools.svg"
- file: "shower.svg"
- file: "single_ticket.svg"
- file: "snow.svg"
- file: "snow_parking.svg"
- file: "snow_plows.svg"
- file: "snow_plows_1.svg"
- file: "soccer.svg"
- file: "space_saver.svg"
- file: "special_events_parade.svg"
- file: "spin_studio.svg"
- file: "sports.svg"
- file: "sports_facility.svg"
- file: "spray.svg"
- file: "stage.svg"
- file: "state_offices.svg"
- file: "street_sweeping.svg"
- file: "t.svg"
- file: "teen_center.svg"
- file: "tennis_court.svg"
- file: "tent.svg"
- file: "tow_lot.svg"
- file: "track.svg"
- file: "trash_and_recycling.svg"
- file: "vendor.svg"
- file: "weight_room.svg"
- file: "wellenss.svg"
- file: "wheel.svg"
- file: "wifi.svg"
- file: "yarn.svg"
24 changes: 24 additions & 0 deletions components/icons/circle_icons/circle_icons.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<div class="p-a500">
<div class="g">
{{#each icons as |icon|}}
<div class="g--4 m-b500 br br-a150">
<div class="p-a300 ta--c t--upper t--cb t--sans">
{{filename_to_string icon.file}}
</div>

<div class="ex ex-i">
<img
alt="{{filename_to_string icon.file}}"
title="{{filename_to_string icon.file}}"
src="{{imgUrl "https://assets.boston.gov/icons/circle_icons" icon.file}}"
onerror={{imgOnError}}
/>
</div>

<div class="p-a300 t--sans">
<a href="{{imgUrl "https://assets.boston.gov/icons/circle_icons" icon.file}}">File URL</a>
</div>
</div>
{{/each}}
</div>
</div>
Loading

0 comments on commit 9ad3d6b

Please sign in to comment.