Skip to content

Commit

Permalink
Removed 'Engineering' (#26)
Browse files Browse the repository at this point in the history
* Removed 'Engineering'

---------

Co-authored-by: Satya Deep Maheshwari <[email protected]>
  • Loading branch information
sdmcraft and Satya Deep Maheshwari authored Sep 18, 2023
1 parent 65f8d99 commit 36bc909
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 424 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

const title = document.querySelector('head title');
if (title) {
title.innerHTML = `${placeholders['page-not-found-title-prefix'] + ' – Sunstar Engineering'}`
title.innerHTML = `${placeholders['page-not-found-title-prefix'] + ' – Sunstar'}`
}

const metaTitle = document.querySelector('meta[property="og:title"]');
Expand Down
52 changes: 0 additions & 52 deletions blocks/finder/finder.css

This file was deleted.

255 changes: 0 additions & 255 deletions blocks/finder/finder.js

This file was deleted.

2 changes: 1 addition & 1 deletion helix-sitemap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 1
auto-generated: true
sitemaps:
default:
origin: https://www.sunstar-engineering.com
origin: https://www.sunstar.com
source: /query-index.json
destination: /sitemap.xml
lastmod: YYYY-MM-DD
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Disallow: /**/thankyou
Disallow: /search
Disallow: /**/search

Sitemap: https://www.sunstar-engineering.com/sitemap.xml
Sitemap: https://www.sunstar.com/sitemap.xml
8 changes: 4 additions & 4 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,10 @@ export function getSearchWidget(placeholders, initialVal, searchbox, lang = getL
*/
export function getEnvType(hostname = window.location.hostname) {
const fqdnToEnvType = {
'sunstar-engineering.com': 'live',
'www.sunstar-engineering.com': 'live',
'main--sunstar-engineering--hlxsites.hlx.page': 'preview',
'main--sunstar-engineering--hlxsites.hlx.live': 'live',
'sunstar.com': 'live',
'www.sunstar.com': 'live',
'main--sunstar--hlxsites.hlx.page': 'preview',
'main--sunstar--hlxsites.hlx.live': 'live',
};
return fqdnToEnvType[hostname] || 'dev';
}
Expand Down
Loading

0 comments on commit 36bc909

Please sign in to comment.