Skip to content

Commit

Permalink
done pending tooltip text and link
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaylyn-Barbee committed Aug 21, 2023
1 parent ce1c307 commit c984fe8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions apps/pwabuilder/src/script/components/windows-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import { fetchOrCreateManifest } from '../services/manifest';
import { AnalyticsBehavior, recordPWABuilderProcessStep } from '../utils/analytics';
import { ManifestContext, PackageOptions } from '../utils/interfaces';

import "../components/arrow-link";

@customElement('windows-form')

export class WindowsForm extends AppPackageFormBase {
Expand Down Expand Up @@ -161,6 +163,25 @@ export class WindowsForm extends AppPackageFormBase {
background-color: var(--primary-color);
border-color: var(--primary-color);
}
#ai-hub-label {
display: flex;
align-items: center;
justify-content: flex-start;
}
#ai-hub-text {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
}
#ai-hub-text p {
margin: 0;
color: #7f7f7f;
font-size: 14px;
}
`
];
Expand Down Expand Up @@ -392,6 +413,16 @@ export class WindowsForm extends AppPackageFormBase {
(this.packageOptions.publisher.commonName = val),
})}
</div>
<div class="form-group" id="ai-hub">
<div id="ai-hub-label">
<label>Does your app use AI?</label>
<info-circle-tooltip text="AI Hub is a new curated section in the Microsoft Store where we will promote the best AI experiences built by the developer community and Microsoft."></info-circle-tooltip>
</div>
<div id="ai-hub-text">
<p>We will promote the best AI expereiences built by the developer community on our Microsoft Store's AI Hub.</p>
<arrow-link .text=${"Join Us"} .link=${"https://aka.ms/MicrosoftStoreAIHub"}></arrow-link>
</div>
</div>
</div>
<!-- "all settings" section of the modal -->
<sl-details @sl-show=${() => this.rotateNinety()} @sl-hide=${() => this.rotateZero()}>
Expand Down

0 comments on commit c984fe8

Please sign in to comment.