User Settings Page: Link to privacy policy (#3561)

This commit is contained in:
RachelElysia 2022-01-04 12:48:20 -05:00 committed by GitHub
parent b56c620007
commit 7ae666a274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1 @@
* App links users to Fleet's privacy policy

View File

@ -402,6 +402,15 @@ export class UserSettingsPage extends Component {
<span
className={`${baseClass}__version`}
>{`Fleet ${version.version} • Go ${version.go_version}`}</span>
<span className={`${baseClass}__privacy-policy`}>
<a
href="https://fleetdm.com/legal/privacy"
target="_blank"
rel="noopener noreferrer"
>
Privacy policy
</a>
</span>
</div>
{renderEmailModal()}
{renderPasswordModal()}

View File

@ -153,7 +153,20 @@
font-size: $xx-small;
text-align: center;
display: block;
margin-top: $pad-xxlarge;
margin-top: $pad-large;
}
&__privacy-policy {
text-align: center;
display: block;
margin-top: $pad-xlarge;
a {
font-size: $x-small;
color: $core-vibrant-blue;
font-weight: $bold;
text-decoration: none;
}
}
.grey-cell {