Replace Rose::Footer with Hds::AppFooter component (HDS-2805) (#1994)

* HDS-2805 Replace Rose::Footer with Hds::AppFooter
This commit is contained in:
Kristin Bradley authored and GitHub committed 2023-11-17 15:30:44 -08:00
1 parent a7bf9a1071
commit e96171cab0
5 files changed
+38 -31

No files matched your search

@@ -0,0 +1,13 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Controller from '@ember/controller';
import { inject as service } from '@ember/service';
export default class AccountChangePasswordController extends Controller {
// =services
@service session;
}
+13
View File
@@ -0,0 +1,13 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Controller from '@ember/controller';
import { inject as service } from '@ember/service';
export default class ScopesIndexController extends Controller {
// =services
@service session;
}
@@ -28,15 +28,9 @@
</main>
</sidebarLayout.body>
<sidebarLayout.footer>
<Rose::Footer as |footer|>
<footer.text>{{app-name}}</footer.text>
<footer.nav as |nav|>
<nav.link @href={{(doc-url)}}>
{{t 'titles.documentation'}}
</nav.link>
</footer.nav>
<footer.brand @logo='logo-company' @text={{(company-name)}} />
<footer.text>{{company-copyright}}</footer.text>
</Rose::Footer>
<Hds::AppFooter @theme={{this.session.data.theme}} as |AF|>
<AF.Link @href={{(doc-url)}}>{{t 'titles.documentation'}}</AF.Link>
<AF.LegalLinks />
</Hds::AppFooter>
</sidebarLayout.footer>
</Rose::Layout::Sidebar>
+4 -11
View File
@@ -2,7 +2,6 @@
{{#unless @model}}
<Rose::Layout::Sidebar as |sidebarLayout|>
<sidebarLayout.body>
<main>
<Rose::Layout::Centered>
@@ -19,16 +18,10 @@
</main>
</sidebarLayout.body>
<sidebarLayout.footer>
<Rose::Footer as |footer|>
<footer.text>{{company-copyright}}</footer.text>
<footer.text>{{app-name}}</footer.text>
<footer.nav as |nav|>
<nav.link @href={{(doc-url)}}>
{{t 'titles.documentation'}}
</nav.link>
</footer.nav>
<footer.brand @logo='logo-company' @text={{(company-name)}} />
</Rose::Footer>
<Hds::AppFooter @theme={{this.session.data.theme}} as |AF|>
<AF.Link @href={{(doc-url)}}>{{t 'titles.documentation'}}</AF.Link>
<AF.LegalLinks />
</Hds::AppFooter>
</sidebarLayout.footer>
</Rose::Layout::Sidebar>
{{/unless}}
+4 -10
View File
@@ -207,15 +207,9 @@
</main>
</sidebarLayout.body>
<sidebarLayout.footer>
<Rose::Footer as |footer|>
<footer.text>{{app-name}}</footer.text>
<footer.nav as |nav|>
<nav.link @href={{(doc-url)}}>
{{t 'titles.documentation'}}
</nav.link>
</footer.nav>
<footer.brand @logo='logo-company' @text={{(company-name)}} />
<footer.text>{{company-copyright}}</footer.text>
</Rose::Footer>
<Hds::AppFooter @theme={{this.session.data.theme}} as |AF|>
<AF.Link @href={{(doc-url)}}>{{t 'titles.documentation'}}</AF.Link>
<AF.LegalLinks />
</Hds::AppFooter>
</sidebarLayout.footer>
</Rose::Layout::Sidebar>