Skip to content

Commit

Permalink
Merge pull request #209 from srikanth716/injiver-727-rebranding-theme
Browse files Browse the repository at this point in the history
Injiver 727 rebranding theme
  • Loading branch information
sree96 authored Oct 21, 2024
2 parents 9ddb031 + 3656e89 commit b034c86
Show file tree
Hide file tree
Showing 37 changed files with 635 additions and 291 deletions.
1 change: 1 addition & 0 deletions ui/.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ DEFAULT_TITLE=Inji Verify
DEFAULT_THEME=default_theme
DEFAULT_FONT_URL=https://fonts.googleapis.com/css?family=Inter
OVP_QR_HEADER=INJI_OVP://
DEFAULT_FAVICON=favicon.ico
INTERNET_CONNECTIVITY_CHECK_ENDPOINT=https://dns.google/
INTERNET_CONNECTIVITY_CHECK_TIMEOUT=10000
3 changes: 2 additions & 1 deletion ui/public/env.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
window._env_ = {
DEFAULT_TITLE: "Inji Verify",
DEFAULT_THEME: "purple_theme",
DEFAULT_THEME: "default_theme",
DEFAULT_FONT_URL: "https://fonts.googleapis.com/css?family=Inter",
OVP_QR_HEADER: "INJI_OVP://",
DEFAULT_FAVICON: "favicon.ico",
INTERNET_CONNECTIVITY_CHECK_ENDPOINT: "https://dns.google/",
INTERNET_CONNECTIVITY_CHECK_TIMEOUT: "10000",
}
Binary file modified ui/public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion ui/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/inji-logo.png" />
<link id="icon" href="%PUBLIC_URL%/favicon.ico" rel="icon" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
Expand Down
1 change: 1 addition & 0 deletions ui/public/theme.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
document.getElementById("title").innerHTML = window._env_.DEFAULT_TITLE;
document.getElementById("font").innerHTML = window._env_.DEFAULT_FONT_URL;
document.getElementById("icon").href = window._env_.DEFAULT_FAVICON;
document.getElementsByTagName("body")[0].classList.add(window._env_.DEFAULT_THEME);
16 changes: 16 additions & 0 deletions ui/src/assets/camera-access-denied-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 71 additions & 0 deletions ui/src/assets/gradient-scan-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions ui/src/assets/gradient-upload-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b034c86

Please sign in to comment.