Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Landing page #249

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 55 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,52 @@ jobs:
paths:
- client/build/

landing/install:
working_directory: *workspace_root
docker:
- image: circleci/node:10
steps:
- checkout

- run: |
cd landing/
npm ci

- persist_to_workspace:
root: *workspace_root
paths:
- landing/node_modules/

landing/lint:
working_directory: *workspace_root
docker:
- image: circleci/node:10
steps:
- checkout
- *attach_workspace

- run: |
cd landing/
npm run lint
npm run prettier:check

landing/build:
working_directory: *workspace_root
docker:
- image: circleci/node:10
steps:
- checkout
- *attach_workspace

- run: |
cd landing/
npm run build

- persist_to_workspace:
root: *workspace_root
paths:
- landing/build/

prisma_deploy:
environment:
DEPLOY_DIR: ~/prisma_deploy
Expand All @@ -96,7 +142,7 @@ jobs:

- add_ssh_keys:
fingerprints:
- "6f:f2:b4:c2:e5:13:28:f8:02:2d:da:48:34:0c:14:7f"
- '6f:f2:b4:c2:e5:13:28:f8:02:2d:da:48:34:0c:14:7f'

- run: |
mkdir -p ~/.ssh
Expand Down Expand Up @@ -126,7 +172,7 @@ jobs:

- add_ssh_keys:
fingerprints:
- "6f:f2:b4:c2:e5:13:28:f8:02:2d:da:48:34:0c:14:7f"
- '6f:f2:b4:c2:e5:13:28:f8:02:2d:da:48:34:0c:14:7f'

- run: |
mkdir -p ~/.ssh
Expand Down Expand Up @@ -163,6 +209,13 @@ workflows:
- client/build:
requires:
- client/install
- landing/install
- landing/lint:
requires:
- landing/install
- landing/build:
requires:
- landing/install
- deploy:
requires:
- server/lint
Expand Down
4 changes: 2 additions & 2 deletions client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<meta property="og:site_name" content="FAQ Zenika" />
<meta property="og:title" content="FAQ Zenika" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://faq.zenika.com" />
<meta property="og:image" content="https://faq.zenika.com/img/thinking_face-200.png" />
<meta property="og:url" content="https://faq.team" />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<meta property="og:url" content="https://faq.team" />
<meta property="og:url" content="https://zenika.faq.team" />

<meta property="og:image" content="https://zenika.faq.team/img/thinking_face-200.png" />
<meta property="og:image:alt" content="Thinking emoji" />
<meta property="og:description" content="Internal Knowledge Database for your organization" />

Expand Down
24 changes: 24 additions & 0 deletions landing/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
seogo

npm-debug.log*
yarn-debug.log*
yarn-error.log*
Loading