Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wSwitch to using svg link icon #4551

Merged
merged 1 commit into from
Jan 27, 2025
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 removed app/assets/images/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion app/views/catalog/opensearch.xml.builder
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ xml.instruct! :xml, :version=>'1.0'
xml.OpenSearchDescription(:xmlns=>'http://a9.com/-/spec/opensearch/1.1/') {
xml.ShortName application_name
xml.Description "#{application_name} Search"
xml.Image "#{asset_url('favicon.ico')}", :height=>16, :width=>16, :type=>'image/x-icon'
xml.Image "https://cdn.jsdelivr.net/gh/sul-dlss/component-library@v2025-01-24/styles/icon.png", height: 512, width: 512, type: 'image/png'
xml.Contact
xml.Url :type=>'text/html', :method=>'get', :template=>"#{url_for :controller=>'catalog', :only_path => false}?q={searchTerms}&page={startPage?}"
xml.Url :type=>'application/rss+xml', :method=>'get', :template=>"#{url_for :controller=>'catalog', :only_path => false}.rss?q={searchTerms}&page={startPage?}"
Expand Down
5 changes: 4 additions & 1 deletion app/views/layouts/searchworks.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

<title><%= render_page_title %></title>
<%= opensearch_description_tag I18n.t('blacklight.application_name'), opensearch_catalog_path(format: 'xml') %>
<%= favicon_link_tag 'favicon.ico' %>
<link rel="icon" href="https://cdn.jsdelivr.net/gh/sul-dlss/component-library@v2025-01-24/styles/icon.png" type="image/png">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/sul-dlss/component-library@v2025-01-24/styles/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/gh/sul-dlss/component-library@v2025-01-24/styles/icon.png">

<%= stylesheet_link_tag "application", media: "all" %>
<%= stylesheet_link_tag 'print', media: 'print' %>
<link href="https://www-media.stanford.edu/su-identity/css/su-identity.css" rel="stylesheet">
Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
Binary file removed public/icon.png
Binary file not shown.
3 changes: 0 additions & 3 deletions public/icon.svg

This file was deleted.

Loading