Skip to content

Commit b95ab9b

Browse files
authored
Merge pull request #1 from complytime/feat/website-minimal
feat: CPLYTM-1289 add ComplyTime website skeleton
2 parents 1f376c7 + 4ab3ce6 commit b95ab9b

56 files changed

Lines changed: 10310 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04
2+
3+
RUN apt-get update && \
4+
apt-get install -y \
5+
ca-certificates \
6+
nodejs \
7+
npm \
8+
wget && \
9+
update-ca-certificates
10+
11+
ARG HUGO_VERSION="0.155.1"
12+
RUN wget --quiet "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" && \
13+
tar xzf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz && \
14+
rm -r hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz && \
15+
mv hugo /usr/bin && \
16+
chmod 755 /usr/bin/hugo
17+
18+
WORKDIR /src
19+
COPY ./ /src

.devcontainer/devcontainer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"build": {
3+
"dockerfile": "./Dockerfile"
4+
}
5+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
name: Deploy Hugo to GitHub Pages
3+
4+
on:
5+
push:
6+
branches: main
7+
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: false
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
25+
26+
- name: Setup Node.js
27+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238
28+
with:
29+
node-version: '22'
30+
31+
- name: Setup Hugo
32+
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f
33+
with:
34+
hugo-version: '0.155.1'
35+
extended: true
36+
37+
- name: Install dependencies
38+
run: npm ci
39+
40+
- name: Build
41+
run: hugo --minify --gc --baseURL "https://complytime.dev/"
42+
43+
- name: Upload artifact
44+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
45+
with:
46+
path: ./public
47+
48+
deploy:
49+
environment:
50+
name: github-pages
51+
url: ${{ steps.deployment.outputs.page_url }}
52+
runs-on: ubuntu-latest
53+
needs: build
54+
steps:
55+
- name: Deploy to GitHub Pages
56+
id: deployment
57+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.gitignore

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# ─── Hugo build output ───────────────────────────────────────────────
2+
public/
3+
/docs/
4+
resources/_gen/
5+
.hugo_build.lock
6+
hugo_stats.json
7+
8+
# ─── Node.js ─────────────────────────────────────────────────────────
9+
node_modules/
10+
11+
# ─── Go ──────────────────────────────────────────────────────────────
12+
# Compiled sync engine binary (built by CI or locally).
13+
sync-content
14+
15+
# ─── Synced content (generated by sync-content at build time) ────────
16+
# Project subdirectories (complyctl, complyscribe, complytime-collector-components)
17+
# are temporarily committed; they will be removed once sync-content runs in CI.
18+
# The _index.md landing page is hand-authored and tracked.
19+
20+
# ─── OS files ────────────────────────────────────────────────────────
21+
.DS_Store
22+
Thumbs.db
23+
24+
# ─── IDE ─────────────────────────────────────────────────────────────
25+
.idea/
26+
*.swp
27+
*.swo
28+
*~
29+
30+
# ─── Environment and secrets ─────────────────────────────────────────
31+
.env
32+
33+
# ─── Netlify ─────────────────────────────────────────────────────────
34+
.netlify
35+
36+
# ─── Non-source files ────────────────────────────────────────────────
37+
*.pdf
38+
proposals/
39+
check_workflow_action_shas.py

.prettierignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
*.html
2+
*.ico
3+
*.png
4+
*.jp*g
5+
*.toml
6+
*.*ignore
7+
*.svg
8+
*.xml
9+
LICENSE
10+
.npmrc
11+
.gitkeep
12+
*.woff*

.prettierrc.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Default config
2+
tabWidth: 4
3+
endOfLine: crlf
4+
singleQuote: true
5+
printWidth: 100000
6+
trailingComma: none
7+
bracketSameLine: true
8+
quoteProps: consistent
9+
experimentalTernaries: true
10+
11+
# Overrided config
12+
overrides:
13+
- files: ["*.md", "*.json", "*.yaml"]
14+
options:
15+
tabWidth: 2
16+
singleQuote: false
17+
- files: ["*.scss"]
18+
options:
19+
singleQuote: false

0 commit comments

Comments
 (0)