Skip to content

Commit

Permalink
Merge pull request #1709 from KhalisFoundation/dev
Browse files Browse the repository at this point in the history
Release v1.17.0
  • Loading branch information
gurjit03 authored Jun 27, 2024
2 parents 3804d24 + 5833c5a commit 3b115c3
Show file tree
Hide file tree
Showing 21 changed files with 292 additions and 227 deletions.
5 changes: 1 addition & 4 deletions .htmlhintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@
"tagname-lowercase": true,
"attr-lowercase": true,
"attr-value-double-quotes": true,
"attr-no-duplication": true,
"attr-no-duplication": true,
"doctype-first": true,
"tag-pair": true,
"spec-char-escape": true,
"id-unique": true,
"src-not-empty": true,
"attr-no-duplication": true,
"title-require": true,

"alt-require": true,

"doctype-html5": true,
"id-class-value": "dash",
"style-disabled": true,
Expand Down
4 changes: 2 additions & 2 deletions common/api-urls-constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ module.exports = {
BANNERS: '//api.sikhitothemax.org/messages/web',
SYNC: {
PRODUCTION: '//api.sikhitothemax.org/',
LOCAL: '//api.sikhitothemax.org/',
LOCAL: '//stgapi.sikhitothemax.org/',
},
CEREMONIES: '//api.sikhitothemax.org/ceremonies/',
DOODLE: '//api.sikhitothemax.org/doodle/',
WRITERS: '//api.banidb.com/v2/writers/',
GURBANIBOT: '//fastersemanticsearchapi.sevaa.win/'
GURBANIBOT: '//gurbanichatbot.sikhitothemax.org/'
};
1 change: 0 additions & 1 deletion embed/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,5 @@
<h3 class="sttm-shabad-meta"></h3>
<div class="sttm-shabad-content"></div>
</div>
<script src="//cdn.polyfill.io/v2/polyfill.min.js?features=fetch"></script>
<script src="/embed/script.js">
</script>
188 changes: 139 additions & 49 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sttm/web",
"version": "1.16.4",
"version": "1.17.0",
"description": "Sevadaars are currently working hard to build a newer version of SikhiToTheMax website using modern web technologies.",
"main": "index.js",
"engines": {
Expand Down Expand Up @@ -78,7 +78,7 @@
"babel-eslint": "^10.1.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.1.0",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-module-resolver": "^5.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^5.0.0",
Expand Down Expand Up @@ -156,7 +156,7 @@
"react-smartbanner": "^5.1.4",
"react-sortablejs": "^6.0.0",
"react-toastify": "^6.0.9",
"react-tooltip": "^4.2.9",
"react-tooltip": "^5.27.0",
"redux": "^4.0.5",
"redux-debounced": "^0.5.0",
"redux-thunk": "^2.3.0",
Expand Down
5 changes: 1 addition & 4 deletions server/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ export default ({ url, bodyClass, title, description, language }) => marinate`
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-958770124"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-958770124'); </script>
<!-- Polyfills -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=fetch,Object.entries,Array.from,Array.prototype.includes,String.prototype.startsWith,String.prototype.includes,Map,Set,requestAnimationFrame,Array.prototype.@@iterator"></script>
<!-- Source Code -->
${scriptsHTML}
Expand Down Expand Up @@ -146,7 +143,7 @@ export default ({ url, bodyClass, title, description, language }) => marinate`
</html>
`;

const preconnect = ['//cdn.polyfill.io', '//api.banidb.com'];
const preconnect = ['//api.banidb.com'];
const preconnectHTML = preconnect
.map(
d =>
Expand Down
Loading

0 comments on commit 3b115c3

Please sign in to comment.