Skip to content

Commit b5afab9

Browse files
committed
chore(website): improve design
1 parent e117db6 commit b5afab9

File tree

4 files changed

+19
-13
lines changed

4 files changed

+19
-13
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ website/.angular
66
.dockerignore
77
Dockerfile
88
website/Dockerfile
9-
api-docs.json
9+
website/api-docs.json

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"ng:test": "NODE_OPTIONS=--preserve-symlinks ng test",
88
"app": "NODE_OPTIONS=--preserve-symlinks TS_NODE_PROJECT=tsconfig.server.json node -r ts-node/register -r tsconfig-paths/register src/server/app.ts",
99
"api-docs": "TS_NODE_PROJECT=tsconfig.server.json node -r ts-node/register -r tsconfig-paths/register api-docs.ts",
10-
"build": "BUILD=angular NODE_OPTIONS=--preserve-symlinks ng build --configuration production",
10+
"build": "npm run api-docs && BUILD=angular NODE_OPTIONS=--preserve-symlinks ng build --configuration production",
1111
"test": "jest"
1212
},
1313
"private": true,

website/src/app/components/header.component.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,17 @@ export class HeaderNavComponent {
128128
<app-search></app-search>
129129
}
130130
131-
<a class="burger" (click)="toggleMenu()">
132-
<svg width="21px" height="16px" viewBox="0 0 21 16" version="1.1" xmlns="http://www.w3.org/2000/svg">
133-
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
134-
<g id="burger" [attr.fill]="'white'">
135-
<rect id="Rectangle" x="0" y="0" width="21" height="2"></rect>
136-
<rect id="Rectangle" x="0" y="7" width="21" height="2"></rect>
137-
<rect id="Rectangle" x="0" y="14" width="21" height="2"></rect>
138-
</g>
139-
</g>
140-
</svg>
141-
</a>
131+
<!-- <a class="burger" (click)="toggleMenu()">-->
132+
<!-- <svg width="21px" height="16px" viewBox="0 0 21 16" version="1.1" xmlns="http://www.w3.org/2000/svg">-->
133+
<!-- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">-->
134+
<!-- <g id="burger" [attr.fill]="'white'">-->
135+
<!-- <rect id="Rectangle" x="0" y="0" width="21" height="2"></rect>-->
136+
<!-- <rect id="Rectangle" x="0" y="7" width="21" height="2"></rect>-->
137+
<!-- <rect id="Rectangle" x="0" y="14" width="21" height="2"></rect>-->
138+
<!-- </g>-->
139+
<!-- </g>-->
140+
<!-- </svg>-->
141+
<!-- </a>-->
142142
<dw-header-nav />
143143
</div>
144144
`,

website/src/app/pages/libraries/libraries.component.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ export class LibraryEntryComponent {
104104
.twice {
105105
grid-column: 1 / span 2;
106106
}
107+
108+
@media (max-width: 640px) {
109+
.main, .twice {
110+
grid-column: unset;
111+
}
112+
}
107113
}
108114
109115
.banner {

0 commit comments

Comments
 (0)