diff --git a/package.json b/package.json index 270e512..5cd60fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "thatconference.com", - "version": "5.2.0", + "version": "5.2.1", "description": "THATConference.com website", "main": "index.js", "type": "module", diff --git a/src/_dataSources/api.that.tech/partner/queries.js b/src/_dataSources/api.that.tech/partner/queries.js index 2ee8ff3..fe33ce7 100644 --- a/src/_dataSources/api.that.tech/partner/queries.js +++ b/src/_dataSources/api.that.tech/partner/queries.js @@ -6,7 +6,17 @@ import config from '$lib/config.public'; import { log } from '../utilities/error'; const { uniqBy } = lodash; -const levelSortOrder = ['PIONEER', 'EXPLORER', 'SCOUT', 'CUB', 'PATRON', 'MEDIA', 'CHARITY']; +const levelSortOrder = [ + 'PIONEER', + 'EXPLORER', + 'SCOUT', + 'RANGER', + 'TRAILBLAZER', + 'CUB', + 'PATRON', + 'MEDIA', + 'CHARITY' +]; const coreFieldsFragment = ` fragment coreFieldsFragment on Partner { diff --git a/src/routes/(root)/sponsors/+page.svelte b/src/routes/(root)/sponsors/+page.svelte index 86e8160..32d6e46 100644 --- a/src/routes/(root)/sponsors/+page.svelte +++ b/src/routes/(root)/sponsors/+page.svelte @@ -46,6 +46,14 @@ {/if} + {#if levels['RANGER']} + + {/if} + + {#if levels['TRAILBLAZER']} + + {/if} + {#if levels['CUB']} {/if} @@ -55,7 +63,7 @@ {/if} {#if levels['MEDIA']} - + {/if} diff --git a/src/routes/(root)/sponsors/job-board/+page.svelte b/src/routes/(root)/sponsors/job-board/+page.svelte index 1d91780..21525ac 100644 --- a/src/routes/(root)/sponsors/job-board/+page.svelte +++ b/src/routes/(root)/sponsors/job-board/+page.svelte @@ -22,7 +22,16 @@ }))(); // find partners with jobs and deduplicate them. - const partnerLevelSort = ['PIONEER', 'EXPLORER', 'SCOUT', 'PATRON', 'CUB', 'MEDIA']; + const partnerLevelSort = [ + 'PIONEER', + 'EXPLORER', + 'SCOUT', + 'RANGER', + 'TRAILBLAZER', + 'PATRON', + 'CUB', + 'MEDIA' + ]; const partnerMap = new Map(); data.events.forEach((event) => event.partners.forEach((partner) => { diff --git a/src/routes/(that conferences)/tx/[year]/sponsors/+page.svelte b/src/routes/(that conferences)/tx/[year]/sponsors/+page.svelte index 8a322f7..a9cae51 100644 --- a/src/routes/(that conferences)/tx/[year]/sponsors/+page.svelte +++ b/src/routes/(that conferences)/tx/[year]/sponsors/+page.svelte @@ -40,6 +40,14 @@ {/if} + {#if levels['RANGER']} + + {/if} + + {#if levels['TRAILBLAZER']} + + {/if} + {#if levels['CUB']} {/if} @@ -49,7 +57,7 @@ {/if} {#if levels['MEDIA']} - + {/if} diff --git a/src/routes/(that conferences)/wi/[year]/sponsors/+page.svelte b/src/routes/(that conferences)/wi/[year]/sponsors/+page.svelte index 22d9e5c..72334cb 100644 --- a/src/routes/(that conferences)/wi/[year]/sponsors/+page.svelte +++ b/src/routes/(that conferences)/wi/[year]/sponsors/+page.svelte @@ -39,6 +39,14 @@ {#if levels['SCOUT']} {/if} + + {#if levels['RANGER']} + + {/if} + + {#if levels['TRAILBLAZER']} + + {/if} {#if levels['CUB']} @@ -49,7 +57,7 @@ {/if} {#if levels['MEDIA']} - + {/if} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..0f47472 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,13 @@ +{ + "extends": "./.svelte-kit/tsconfig.json", + "compilerOptions": { + "allowJs": true, + "checkJs": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "skipLibCheck": true, + "sourceMap": true, + "strict": true + } +}