diff --git a/src/calculator-form.ts b/src/calculator-form.ts index 26fa8e1..ad23f21 100644 --- a/src/calculator-form.ts +++ b/src/calculator-form.ts @@ -141,114 +141,111 @@ export const formTemplate = ( : nothing; return html` -
-

How much money will you get with the Inflation Reduction Act?

-
-
-
- -
-
- -
-
- -
-
- -
-
- -
- ${projectsField} ${utilityField} -
- -
+ +
+
+
- -
+
+ +
+
+ +
+
+ +
+
+ +
+ ${projectsField} ${utilityField} +
+ +
+
+ `; }; diff --git a/src/calculator.ts b/src/calculator.ts index 74b419e..6988b5a 100644 --- a/src/calculator.ts +++ b/src/calculator.ts @@ -144,22 +144,25 @@ export class RewiringAmericaCalculator extends LitElement { override render() { return html`
- ${this.hideForm - ? nothing - : formTemplate( - [ - this.zip, - this.ownerStatus, - this.householdIncome, - this.taxFiling, - this.householdSize, - ], - false, - false, - [], - (event: SubmitEvent) => this.submit(event), - () => {}, - )} +
+

How much money will you get with the Inflation Reduction Act?

+ ${this.hideForm + ? nothing + : formTemplate( + [ + this.zip, + this.ownerStatus, + this.householdIncome, + this.taxFiling, + this.householdSize, + ], + false, + false, + [], + (event: SubmitEvent) => this.submit(event), + () => {}, + )} +
${this.hideResult ? nothing : html` diff --git a/src/state-calculator.ts b/src/state-calculator.ts index 3028d7f..5f4927b 100644 --- a/src/state-calculator.ts +++ b/src/state-calculator.ts @@ -178,29 +178,32 @@ export class RewiringAmericaStateCalculator extends LitElement { override render() { return html`
- ${this.hideForm - ? nothing - : formTemplate( - [ - this.zip, - this.ownerStatus, - this.householdIncome, - this.taxFiling, - this.householdSize, - this.utility, - this.project, - ], - true, - true, - this._utilityOptionsTask.render({ - initial: () => [BLANK_UTILITY], - pending: () => [BLANK_UTILITY], - complete: a => [BLANK_UTILITY, ...a], - error: () => [BLANK_UTILITY], - }) as OptionParam[], - (event: SubmitEvent) => this.submit(event), - () => this._utilityOptionsTask.run(), - )} +
+

Incentives available to you in Rhode Island

+ ${this.hideForm + ? nothing + : formTemplate( + [ + this.zip, + this.ownerStatus, + this.householdIncome, + this.taxFiling, + this.householdSize, + this.utility, + this.project, + ], + true, + true, + this._utilityOptionsTask.render({ + initial: () => [BLANK_UTILITY], + pending: () => [BLANK_UTILITY], + complete: a => [BLANK_UTILITY, ...a], + error: () => [BLANK_UTILITY], + }) as OptionParam[], + (event: SubmitEvent) => this.submit(event), + () => this._utilityOptionsTask.run(), + )} +
${this.hideResult ? nothing : html`