Skip to content

Commit

Permalink
EMP-252: Remove logo (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
A77AY authored Feb 3, 2025
1 parent 2d534ef commit c9d409a
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 85 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,9 @@ jobs:
run: |
printf "$APP_ENV_FILE" > dist/browser/assets/appConfig.json
printf "$AUTH_ENV_FILE" > dist/browser/assets/authConfig.json
echo $FAVICO | base64 -d > dist/browser/favicon.ico
printf "$LOGO" > dist/browser/assets/icons/logo.svg
env:
APP_ENV_FILE: ${{secrets.APP_CONFIG_CF}}
AUTH_ENV_FILE: ${{secrets.AUTH_CONFIG_CF}}
FAVICO: ${{secrets.FAVICON_BASE}}
LOGO: ${{secrets.LOGO_SVG}}
- name: Publish to CF Pages
uses: cloudflare/pages-action@1
with:
Expand Down
3 changes: 0 additions & 3 deletions src/app/home/brand/brand.component.html

This file was deleted.

20 changes: 0 additions & 20 deletions src/app/home/brand/brand.component.scss

This file was deleted.

11 changes: 0 additions & 11 deletions src/app/home/brand/brand.component.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/app/home/brand/brand.module.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/app/home/brand/index.ts

This file was deleted.

20 changes: 6 additions & 14 deletions src/app/home/mobile-grid/mobile-grid.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,12 @@
</mat-drawer>
<mat-drawer-content>
<div class="dsh-mobile-grid-content" fxLayout="column" fxLayoutGap="24px">
<div
class="dsh-mobile-grid-content-actions"
fxLayout="row"
fxLayoutAlign="start center"
fxLayoutGap="24px"
>
<dsh-bi
class="dsh-mobile-grid-toggle-button"
icon="list"
size="lg"
(click)="openSideNav()"
></dsh-bi>
<dsh-brand></dsh-brand>
</div>
<dsh-bi
class="dsh-mobile-grid-toggle-button"
icon="list"
size="lg"
(click)="openSideNav()"
></dsh-bi>
<ng-content></ng-content>
</div>
</mat-drawer-content>
Expand Down
3 changes: 0 additions & 3 deletions src/app/home/mobile-grid/mobile-grid.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@ import { FlexLayoutModule } from 'ng-flex-layout';

import { BootstrapIconModule } from '@dsh/components/indicators';

import { BrandModule } from '../brand';

import { MobileGridComponent } from './mobile-grid.component';
import { MobileMenuModule } from './mobile-menu';

@NgModule({
imports: [
CommonModule,
MatSidenavModule,
BrandModule,
FlexLayoutModule,
MobileMenuModule,
BootstrapIconModule,
Expand Down
7 changes: 3 additions & 4 deletions src/app/home/toolbar/toolbar.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<div class="dsh-toolbar" fxLayout fxLayoutAlign="center center" fxLayoutGap="24px">
<dsh-brand fxFlex fxLayoutAlign="start"></dsh-brand>
<div fxFlex fxLayoutAlign="center">
<div class="dsh-toolbar">
<div fxLayoutAlign="center">
<nav [tabPanel]="tabPanel" class="dsh-top-tab-nav-bar" fitInkBarToContent mat-tab-nav-bar>
<a
#rla="routerLinkActive"
Expand All @@ -16,5 +15,5 @@
</nav>
<mat-tab-nav-panel #tabPanel></mat-tab-nav-panel>
</div>
<dsh-actionbar fxFlex fxLayoutAlign="end"></dsh-actionbar>
<dsh-actionbar fxLayoutAlign="end"></dsh-actionbar>
</div>
5 changes: 5 additions & 0 deletions src/app/home/toolbar/toolbar.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ $dsh-toolbar-height: 48px;

:host {
display: block;
padding-left: 16px;
}

.dsh-toolbar {
user-select: none;
height: $dsh-toolbar-height;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
}
2 changes: 0 additions & 2 deletions src/app/home/toolbar/toolbar.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ import { FlexLayoutModule } from 'ng-flex-layout';
import { SectionsLinksModule } from '@dsh/app/shared/services/sections-links';

import { ActionbarModule } from '../actionbar';
import { BrandModule } from '../brand';

import { ToolbarComponent } from './toolbar.component';

@NgModule({
imports: [
CommonModule,
FlexLayoutModule,
BrandModule,
ActionbarModule,
RouterModule,
MatTabsModule,
Expand Down
7 changes: 0 additions & 7 deletions src/assets/icons/logo.svg

This file was deleted.

Binary file removed src/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
name="viewport"
/>
<link href="favicon.ico" rel="icon" type="image/x-icon" />
<!-- <link href="favicon.ico" rel="icon" type="image/x-icon" /> -->
<link
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,&subset=cyrillic"
rel="stylesheet"
Expand Down

0 comments on commit c9d409a

Please sign in to comment.