tecitheme 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,7 +12,7 @@ This theme system is released on NPM to make it easier to include in all Thunder
12
12
 
13
13
  ### Authenticate to NPM
14
14
 
15
- 1. `npm adduser`
15
+ 1. `npm login`
16
16
  1. Enter username and password for the npm account.
17
17
  1. Enter email address
18
18
  1. Enter 2FA Code
@@ -29,7 +29,7 @@
29
29
  {#each data.groups as group}
30
30
  {#if (group.id == toggleID)}
31
31
  {#each group.options as option}
32
- <div class="max-w-xs mx-auto sm:odd:mr-0 sm:even:ml-0 divide-y divide-gray-200 border border-gray-200 shadow-sm {option.highlight ? "shadow-[inset_0_0_6px_0_rgb(0,43,127,1.0)]":""}">
32
+ <div class="max-w-xs mx-auto sm:odd:mr-0 sm:even:ml-0 divide-y divide-gray-200 border border-gray-200 {option.highlight ? "shadow-[inset_0_0_6px_0_rgb(0,43,127,1.0)]":"shadow-md"}">
33
33
  <div class="p-6">
34
34
  <h2 class="text-lg font-medium leading-6 text-gray-900">{option.label}</h2>
35
35
  <p class="mt-4 text-sm text-gray-500">{option.text}</p>
@@ -63,22 +63,30 @@
63
63
  {/if}
64
64
  {/each}
65
65
  </div>
66
- <section class="mt-12 text-xl text-gray-500 sm:text-center">
67
- <p>Apply for free academic or government review licenses.</p>
68
- </section>
69
- <section class="mt-4 text-md max-w-4xl mx-auto text-gray-500 sm:text-center">
70
- <p>Educational licenses are available to students and instructors for academic, non-commercial use.</p><p>Review licenses are available to authorities (AHJs) for regulatory, non-commercial use..</p>
71
- </section>
72
- {#if data.ctas}
73
- <div class="mt-4 flex gap-x-4 py-1 sm:justify-center">
74
- {#each data.ctas as cta}
75
- <a href={cta.url} class="inline-block px-4 py-1.5 text-base font-semibold leading-7 shadow-sm ring-1 ring-gray-900/10 hover:ring-gray-900/20 hover:bg-teci-blue-dark
76
- {(cta.color == "pyrosim" ? "bg-pyrosim text-white" : (cta.color == "pathfinder" ? "bg-pathfinder text-white" : (cta.color == "white" ? "bg-white text-gray-600 hover:text-white" : "bg-teci-blue-dark text-white")))}
77
- ">
78
- {cta.text}
79
- <span class="hidden sm:inline {(cta.color == "white" ? "text-gray-600" : "text-white")}" aria-hidden="true">&rarr;</span>
80
- </a>
81
- {/each}
82
- </div>
66
+ {#if data.footer}
67
+ <div class="mt-8">
68
+ {#if data.footer.heading}
69
+ <div class="text-xl mb-4 text-gray-500 sm:text-center">
70
+ <p>{data.footer.heading}</p>
71
+ </div>
72
+ {/if}
73
+ {#if data.footer.text}
74
+ <div class="text-md mb-4 max-w-4xl mx-auto text-gray-500 sm:text-center">
75
+ <p>{@html data.footer.text}</p>
76
+ </div>
83
77
  {/if}
78
+ {#if data.footer.ctas}
79
+ <div class="flex gap-x-8 py-2 sm:justify-center">
80
+ {#each data.footer.ctas as cta}
81
+ <a href={cta.url} class="inline-block whitespace-nowrap px-4 py-1.5 text-base font-semibold leading-7 shadow-sm ring-1 ring-gray-900/10 hover:ring-gray-900/20 hover:bg-teci-blue-dark
82
+ {(cta.color == "pyrosim" ? "bg-pyrosim text-white" : (cta.color == "pathfinder" ? "bg-pathfinder text-white" : (cta.color == "white" ? "bg-white text-gray-600 hover:text-white" : "bg-teci-blue-dark text-white")))}
83
+ ">
84
+ {cta.text}
85
+ <span class="hidden sm:inline {(cta.color == "white" ? "text-gray-600" : "text-white")}" aria-hidden="true">&rarr;</span>
86
+ </a>
87
+ {/each}
88
+ </div>
89
+ {/if}
90
+ </div>
91
+ {/if}
84
92
  </section>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tecitheme",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "svelte": true,
5
5
  "devDependencies": {
6
6
  "@jsdevtools/rehype-toc": "^3.0.2",