Skip to content

Commit

Permalink
💄websurfx logo redesign for better understandability (#418)
Browse files Browse the repository at this point in the history
* lazyload search result text with css content-visibility

* typo, lightning-fast is grammatically correct

* revamped logo to look more modern

* added class to control how new logo looks and behaves

* added class to control how new logo looks and behaves

---------

Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
  • Loading branch information
cybrejon and neon-mmd authored Dec 5, 2023
1 parent f11d35f commit fb2b660
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
Binary file modified public/images/websurfx_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions public/images/websurfx_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/static/themes/simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ body {
display: flex;
}

.websurfx-logo {
width: clamp(12rem, 40rem, 48rem);
}

/* styles for the search box and search button */

.search_bar {
Expand Down
2 changes: 1 addition & 1 deletion src/templates/views/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn index(colorscheme: &str, theme: &str) -> Markup {
html!(
(header(colorscheme, theme))
main class="search-container"{
img src="../images/websurfx_logo.png" alt="Websurfx meta-search engine logo";
img class="websurfx-logo" src="../images/websurfx_logo.svg" alt="Websurfx meta-search engine logo";
(bar(&String::default()))
(PreEscaped("</div>"))
}
Expand Down

0 comments on commit fb2b660

Please sign in to comment.