Skip to content

Commit

Permalink
Fix favicon and glyphicons (#744)
Browse files Browse the repository at this point in the history
* Fix missing icons

* Fix favicon and outdated link
  • Loading branch information
zebreus authored Jun 7, 2024
1 parent 512f3bc commit f9ba9f9
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion frontend/src/assets/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/src/assets/desc-search-options.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ShortName>NixOS options</ShortName>
<Description>Search NixOS options by name or description.</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/png">https://nixos.org/favicon.png</Image>
<Image width="16" height="16" type="image/png">/favicon.png</Image>
<Url type="text/html" template="https://search.nixos.org/options?query={searchTerms}"/>
<moz:SearchForm>https://search.nixos.org/options</moz:SearchForm>
</OpenSearchDescription>
2 changes: 1 addition & 1 deletion frontend/src/assets/desc-search-packages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ShortName>NixOS packages</ShortName>
<Description>Search NixOS packages by name or description.</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/png">https://nixos.org/favicon.png</Image>
<Image width="16" height="16" type="image/png">/favicon.png</Image>
<Url type="text/html" template="https://search.nixos.org/packages?query={searchTerms}"/>
<moz:SearchForm>https://search.nixos.org/packages</moz:SearchForm>
</OpenSearchDescription>
Binary file added frontend/src/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
<html lang="en">

<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NixOS Search</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>NixOS Search</title>

<link rel="stylesheet" href="/bootstrap.min.css"/>
<link rel="stylesheet" href="/bootstrap.min.css" />

<link rel="stylesheet" href="/bootstrap-responsive.min.css"/>
<link rel="stylesheet" href="/bootstrap-responsive.min.css" />

<link rel="shortcut icon" type="image/png" href="https://nixos.org/favicon.png"/>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />

<link rel="search" type="application/opensearchdescription+xml" title="NixOS packages"
href="/desc-search-packages.xml">
<link rel="search" type="application/opensearchdescription+xml" title="NixOS options"
href="/desc-search-options.xml">
<link rel="search" type="application/opensearchdescription+xml" title="NixOS packages"
href="/desc-search-packages.xml">
<link rel="search" type="application/opensearchdescription+xml" title="NixOS options"
href="/desc-search-options.xml">
</head>

<body></body>

</html>
</html>
4 changes: 2 additions & 2 deletions frontend/tests/Example.elm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Test.Html.Query as Query
import Test.Html.Selector exposing (tag, text)


{-| See <https://github.com/elm-community/elm-test>
{-| See <https://github.com/elm-explorations/test>
-}
unitTest : Test
unitTest =
Expand All @@ -21,7 +21,7 @@ unitTest =
]


{-| See <https://github.com/elm-community/elm-test>
{-| See <https://github.com/elm-explorations/test>
-}
fuzzTest : Test
fuzzTest =
Expand Down

0 comments on commit f9ba9f9

Please sign in to comment.