1// get the ninja-keys element 2const ninja = document.querySelector('ninja-keys'); 3 4// add the home and posts menu items 5ninja.data = [{ 6 id: "nav-about", 7 title: "About", 8 section: "Navigation", 9 handler: () => { 10 window.location.href = "/"; 11 }, 12 },{id: "nav-research", 13 title: "Research", 14 description: "Research areas and projects in the Quantitative Imaging Lab", 15 section: "Navigation", 16 handler: () => { 17 window.location.href = "/research/"; 18 }, 19 },{id: "nav-team", 20 title: "Team", 21 description: "Members of the Quantitative Imaging Lab.", 22 section: "Navigation", 23 handler: () => { 24 window.location.href = "/people/"; 25 }, 26 },{id: "nav-recent-publications", 27 title: "Recent Publications", 28 description: "For a complete list, see my Google Scholar page.", 29 section: "Navigation", 30 handler: () => { 31 window.location.href = "/publications/"; 32 }, 33 },{id: "nav-teaching", 34 title: "Teaching", 35 description: "Courses taught.", 36 section: "Navigation", 37 handler: () => { 38 window.location.href = "/teaching/"; 39 }, 40 },{id: "news-a-long-announcement-with-details", 41 title: 'A long announcement with details', 42 description: "", 43 section: "News",handler: () => { 44 window.location.href = "/news/announcement_2/"; 45 },},{id: "news-a-simple-inline-announcement-with-markdown-emoji-sparkles-smile", 46 title: 'A simple inline announcement with Markdown emoji! :sparkles: :smile:', 47 description: "", 48 section: "News",},{id: "news-vuong-dustin-nguyen-receives-dan-e-wells-outstanding-dissertation-award", 49 title: 'Vuong Dustin Nguyen Receives Dan E. Wells Outstanding Dissertation Award', 50 description: "", 51 section: "News",handler: () => { 52 window.location.href = "/news/announcement_1/"; 53 },},{id: "projects-project-1", 54 title: 'project 1', 55 description: "with background image", 56 section: "Projects",handler: () => { 57 window.location.href = "/projects/1_project/"; 58 },},{id: "projects-project-2", 59 title: 'project 2', 60 description: "a project with a background image and giscus comments", 61 section: "Projects",handler: () => { 62 window.location.href = "/projects/2_project/"; 63 },},{id: "projects-project-3-with-very-long-name", 64 title: 'project 3 with very long name', 65 description: "a project that redirects to another website", 66 section: "Projects",handler: () => { 67 window.location.href = "/projects/3_project/"; 68 },},{id: "projects-project-4", 69 title: 'project 4', 70 description: "another without an image", 71 section: "Projects",handler: () => { 72 window.location.href = "/projects/4_project/"; 73 },},{id: "projects-project-5", 74 title: 'project 5', 75 description: "a project with a background image", 76 section: "Projects",handler: () => { 77 window.location.href = "/projects/5_project/"; 78 },},{id: "projects-project-6", 79 title: 'project 6', 80 description: "a project with no image", 81 section: "Projects",handler: () => { 82 window.location.href = "/projects/6_project/"; 83 },},{id: "projects-project-7", 84 title: 'project 7', 85 description: "with background image", 86 section: "Projects",handler: () => { 87 window.location.href = "/projects/7_project/"; 88 },},{id: "projects-project-8", 89 title: 'project 8', 90 description: "an other project with a background image and giscus comments", 91 section: "Projects",handler: () => { 92 window.location.href = "/projects/8_project/"; 93 },},{id: "projects-project-9", 94 title: 'project 9', 95 description: "another project with an image ð", 96 section: "Projects",handler: () => { 97 window.location.href = "/projects/9_project/"; 98 },},{ 99 id: 'social-dblp', 100 title: 'DBLP', 101 section: 'Socials', 102 handler: () => { 103 window.open("https://dblp.org/pid/85/8613.html", "_blank"); 104 }, 105 },{ 106 id: 'social-email', 107 title: 'email', 108 section: 'Socials', 109 handler: () => { 110 window.open("mailto:%73%73%68%61%68@%63%65%6E%74%72%61%6C.%75%68.%65%64%75", "_blank"); 111 }, 112 },{ 113 id: 'social-linkedin', 114 title: 'LinkedIn', 115 section: 'Socials', 116 handler: () => { 117 window.open("https://www.linkedin.com/in/shishir-shah-1860061", "_blank"); 118 }, 119 },{ 120 id: 'social-orcid', 121 title: 'ORCID', 122 section: 'Socials', 123 handler: () => { 124 window.open("https://orcid.org/0000-0003-4093-6906", "_blank"); 125 }, 126 },{ 127 id: 'social-scholar', 128 title: 'Google Scholar', 129 section: 'Socials', 130 handler: () => { 131 window.open("https://scholar.google.com/citations?user=gJ3JGSsAAAAJ", "_blank"); 132 }, 133 },{ 134 id: 'light-theme', 135 title: 'Change theme to light', 136 description: 'Change the theme of the site to Light', 137 section: 'Theme', 138 handler: () => { 139 setThemeSetting("light"); 140 }, 141 }, 142 {
143 id: 'dark-theme', 144 title: 'Change theme to dark', 145 description: 'Change the theme of the site to Dark', 146 section: 'Theme', 147 handler: () => { 148 setThemeSetting("dark"); 149 }, 150 }, 151 { 152 id: 'system-theme', 153 title: 'Use system default theme', 154 description: 'Change the theme of the site to System Default', 155 section: 'Theme', 156 handler: () => { 157 setThemeSetting("system"); 158 }, 159 },];
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.