Skip to content
Open
9 changes: 9 additions & 0 deletions force-app/main/default/classes/SFDCStopTeamController.cls
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,15 @@ public class SFDCStopTeamController {
)
);

sfdcstopContributors.add(
new Contributor(
'Alvin Bernard',
'https://cdn.cnn.com/cnnnext/dam/assets/211227135008-02-the-batman-trailer-exlarge-169.jpg',
Date.newInstance(2022, 03, 03),
'https://trailblazer.me/id/abernard1'
)
);

return JSON.serialize(sfdcstopContributors);
}
}
7 changes: 5 additions & 2 deletions force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
<lightning-card>
<h3 slot="title">
<lightning-icon icon-name="standard:groups" size="medium"></lightning-icon>
&nbsp;&nbsp;SFDC Stop Contributors
&nbsp;&nbsp;SFDC Stop Contributors for the Year 2022 and 2023
<br>SFDC Stop Contributors for the year 2021
<br>SFDC Stop Contributors for the year 2022
<br>SFDC Stop Contributors for the year 2023
</h3>
<p class="slds-p-horizontal_small">
<lightning-layout multiple-rows="true">
Expand All @@ -29,4 +32,4 @@ <h3 slot="title">
</lightning-layout>
</p>
</lightning-card>
</template>
</template>
1 change: 1 addition & 0 deletions force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default class SfdcstopTeam extends LightningElement {

contributors = [];

//This is wire as function implementation
@wire(getContributors)
contributorResponse({ error, data }) {
if(data) {
Expand Down