Skip to content

Commit 5557fcb

Browse files
committed
add FAQ to site
1 parent d2cd477 commit 5557fcb

25 files changed

Lines changed: 138 additions & 57 deletions
Binary file not shown.

native/eqMac.xcworkspace/xcuserdata/romanskisils.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@
335335
endingColumnNumber = "9223372036854775807"
336336
startingLineNumber = "76"
337337
endingLineNumber = "76"
338-
landmarkName = "getDeviceIsHidden(device:)"
339-
landmarkType = "7">
338+
landmarkName = "unknown"
339+
landmarkType = "0">
340340
</BreakpointContent>
341341
</BreakpointProxy>
342342
<BreakpointProxy
@@ -351,8 +351,8 @@
351351
endingColumnNumber = "9223372036854775807"
352352
startingLineNumber = "77"
353353
endingLineNumber = "77"
354-
landmarkName = "getDeviceIsHidden(device:)"
355-
landmarkType = "7">
354+
landmarkName = "unknown"
355+
landmarkType = "0">
356356
</BreakpointContent>
357357
</BreakpointProxy>
358358
<BreakpointProxy

site/.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist
2+
node_modules

site/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
FROM node:latest
22

3-
ADD . .
3+
ENV APP_DIR /var/www/app
4+
RUN mkdir -p $APP_DIR
5+
WORKDIR ${APP_DIR}
6+
7+
COPY . .
48
RUN npm install
9+
RUN ls -la
510
RUN npm run build:ssr
611
CMD ["npm", "run", "serve:ssr"]

site/package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@
22
"name": "eqmac-site",
33
"version": "0.0.0",
44
"scripts": {
5-
"ng": "ng",
6-
"start": "ng serve",
7-
"build": "ng build",
8-
"test": "ng test",
9-
"lint": "ng lint",
10-
"e2e": "ng e2e",
11-
"compile:server": "webpack --config webpack.server.config.js --progress --colors",
5+
"start": "./node_modules/.bin/ng serve",
6+
"build": "./node_modules/.bin/ng build",
7+
"compile:server": "./node_modules/.bin/webpack --config webpack.server.config.js --progress --colors",
128
"serve:ssr": "node dist/server",
139
"build:ssr": "npm run build:client-and-server-bundles && npm run compile:server",
14-
"build:client-and-server-bundles": "ng build --prod && ng run eqmac-site:server:production --bundleDependencies all"
10+
"build:client-and-server-bundles": "./node_modules/.bin/ng build --prod && ng run eqmac-site:server:production --bundleDependencies all",
11+
"deploy": "export $(tr -d '\\r' < .env | xargs) && ./scripts/deploy.sh"
1512
},
1613
"private": true,
1714
"dependencies": {

site/scripts/deploy.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/sh
2+
set -e
3+
4+
if [ -z "$DOCKER_REGISTRY" ]; then
5+
echo "Need to set DOCKER_REGISTRY"
6+
exit 1
7+
fi
8+
9+
docker build --no-cache -t $DOCKER_REGISTRY/site:latest .
10+
docker push $DOCKER_REGISTRY/site:latest
11+
12+
gcloud beta run deploy site \
13+
--image $DOCKER_REGISTRY/site:latest \
14+
--allow-unauthenticated \
15+
--platform=managed \
16+
--region=europe-west1

site/src/app/components/header/header.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
<!-- <a routerLink="/account" class="icon-gradient-middle">Manage Subscription</a> -->
33
<a routerLink="/" (click)="sectionClicked.emit('features')">Features</a>
44
<!-- <a (click)="helpClicked.emit()">Help</a> -->
5+
<a routerLink="/faq">FAQ</a>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<div fxLayout="column" fxLayoutAlign="start center">
2+
<h3>Frequently asked questions:</h3>
3+
<mat-accordion>
4+
<mat-expansion-panel *ngFor="let qa of QA">
5+
<mat-expansion-panel-header>
6+
<mat-panel-title>
7+
Question: {{qa.Q}}
8+
</mat-panel-title>
9+
</mat-expansion-panel-header>
10+
<span>Answer: </span>
11+
<p [innerHTML]="qa.A"></p>
12+
</mat-expansion-panel>
13+
</mat-accordion>
14+
</div>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@import "../../styles/colors.scss";
2+
3+
:host {
4+
margin-top: 50px;
5+
padding: 50px;
6+
display: block;
7+
}
8+
9+
.terminal-command {
10+
background-color: $gradient-end;
11+
padding: 10px;
12+
border-radius: 5px;
13+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
import { Component, OnInit, ViewEncapsulation } from '@angular/core'
2+
3+
@Component({
4+
selector: `eqm-faq`,
5+
templateUrl: `./faq.component.html`,
6+
styleUrls: [`./faq.component.scss`],
7+
encapsulation: ViewEncapsulation.None
8+
})
9+
export class FAQComponent implements OnInit {
10+
// tslint:disable:max-line-length
11+
QA: { Q: string, A: string }[] = [{
12+
Q: `What is the point eqMac? What is an Audio Equalizer?`,
13+
A: `If if you feel like your audio hardware (headphones, speaker) does not have enough Bass (low frequency) punch, or vice versa, you can adjust that using eqMac.
14+
<br>
15+
Watch <a target="_blank" href="https://youtu.be/I6ZF_NHvqzU?t=41">THIS VIDEO</a> for a better explanation.`
16+
}, {
17+
Q: `How do you install eqMac?`,
18+
A: `Press the Download button on the home page.
19+
<br>
20+
Open the downloaded eqMac.dmg file (if you accidentally closed the window you can always reopen it by Finding it as a Drive in your Finder).
21+
<br>
22+
Drag the eqMac app into Applications directory.
23+
<br>
24+
Open eqMac.app from you Applications directory.`
25+
}, {
26+
Q: `Why is eqMac asking for Admin Password during the first launch?`,
27+
A: `The way eqMac works it needs to install an Audio Driver, to do that it needs your system password.<br>The app never sees your password as it uses secure Apple API to perform the install.`
28+
}, {
29+
Q: `Why is eqMac asking for permission to access my microphone?`,
30+
A: `macOS does not have direct way to access the System Audio stream, so we use the eqMac Audio driver to divert the system audio to the drivers input stream.<br>Then eqMac captures that input audio stream, processses it and sends it directly to the output device.`
31+
}, {
32+
Q: `Sometimes there are sound issues using eqMac?`,
33+
A: `Sometimes there are synching issues, try to switch away from eqMac audio device to your preferred output device and eqMac should restart the audio pipeline.<br>Alternatively, you can try to restart eqMac, that should help as well`
34+
}, {
35+
Q: `How do I uninstall eqMac?`,
36+
A: `The proper way to uninstall eqMac is to click the "Uninstall" button in eqMac Settings section.
37+
<br>That will run a script to uninstall the app and the driver properly.
38+
<br>If for whatever reason you cannot run eqMac, to install the driver you can run this command in Terminal:
39+
<br><br>
40+
<div class="terminal-command">sudo rm -rf /Library/Audio/Plug-Ins/HAL/eqMac.driver/ && launchctl kickstart -k system/com.apple.audio.coreaudiod &>/dev/null</div>`
41+
}]
42+
// tslint:enable:max-line-length
43+
44+
constructor () { }
45+
46+
ngOnInit () {
47+
}
48+
49+
}

0 commit comments

Comments
 (0)