-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from ScottLogic/sfd-120-disclaimer
SFD-120 Add a disclaimer around use of the tool
- Loading branch information
Showing
6 changed files
with
74 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<expansion-panel class="tce-flex tce-justify-between tce-gap-2 tce-flex-col tce-pb-4"> | ||
<div header> | ||
<h2 class="tce-text-xl">Disclaimer</h2> | ||
</div> | ||
<div content> | ||
<p class="tce-text-sm"> | ||
This tool is provided free of charge to assist you in identifying and measuring your carbon footprint, for | ||
information and guidance only. The scores and information provided should not be used for carbon reporting and are | ||
made available on an “as is” basis. Scott Logic Limited accepts no liability or responsibility for any use made by | ||
any person or organisation of the information or calculations available on this website. Any reliance placed on | ||
this website is taken at your own risk. You should read our full website | ||
<a href="https://github.com/ScottLogic/sl-tech-carbon-estimator/blob/main/TERMS.md" class="tce-underline" | ||
>terms and conditions</a | ||
> | ||
before using this site. | ||
</p> | ||
</div> | ||
</expansion-panel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { DisclaimerComponent } from './disclaimer.component'; | ||
|
||
describe('DisclaimerComponent', () => { | ||
let component: DisclaimerComponent; | ||
let fixture: ComponentFixture<DisclaimerComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [DisclaimerComponent], | ||
}).compileComponents(); | ||
|
||
fixture = TestBed.createComponent(DisclaimerComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
import { ExpansionPanelComponent } from '../expansion-panel/expansion-panel.component'; | ||
|
||
@Component({ | ||
selector: 'disclaimer', | ||
standalone: true, | ||
imports: [ExpansionPanelComponent], | ||
templateUrl: './disclaimer.component.html', | ||
}) | ||
export class DisclaimerComponent {} |
27 changes: 14 additions & 13 deletions
27
src/app/tech-carbon-estimator/tech-carbon-estimator.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters