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

Merge new website from internal fork (v3) #233

Merged
merged 659 commits into from
May 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
659 commits
Select commit Hold shift + click to select a range
f41c0cd
fix: missing permission on github actions
tofran May 8, 2023
cc93e64
Merge branch 'main' into deploy-to-vercel-from-github-actions
tofran May 8, 2023
3951e3b
Merge pull request #36 from significa/deploy-to-vercel-from-github-ac…
pdrbrnd May 8, 2023
c168b89
Merge branch 'main' into feat/tarot
pdrbrnd May 8, 2023
47c873f
fix: fix typo and randomize string
pdrbrnd May 8, 2023
07ec308
Merge pull request #35 from significa/feat/tarot
pdrbrnd May 8, 2023
daa74b8
feat(services/timeline): cell with decoration
filipeff95 May 8, 2023
a2c336d
Merge branch 'main' into feat/services-hero
filipeff95 May 8, 2023
3d3be23
fix: tarot
pdrbrnd May 8, 2023
0621805
chore: format
pdrbrnd May 8, 2023
722907b
feat: plant
May 9, 2023
80b9c28
Merge branch 'main' into feat/plant
michellemeinert May 9, 2023
93b2151
feat: egg
May 9, 2023
583cbfb
fix: import
May 9, 2023
fedd071
fix: imports
May 9, 2023
254602c
Merge branch 'feat/plant' into feat/egg
May 9, 2023
b6e983c
fix: update img
May 9, 2023
15aa910
fix: animation
May 9, 2023
13b0209
fix: animation
May 9, 2023
b74bd53
Merge branch 'feat/plant' into feat/egg
May 9, 2023
e5fb0a5
Merge pull request #34 from significa/feat/draw-your-segg
pdrbrnd May 9, 2023
ca037fd
feat: notion dbs env vars
pdrbrnd May 9, 2023
08f3d67
chore: update env example
pdrbrnd May 9, 2023
5cae4e2
feat(home): handbook cta
filipeff95 May 9, 2023
a458e8d
Merge branch 'main' into feat/plant
tofran May 9, 2023
aee113f
Merge branch 'feat/plant' into feat/egg
tofran May 9, 2023
e26eee1
Merge pull request #40 from significa/feat/notion-db-env-vars
pdrbrnd May 9, 2023
4901a8a
feat: top left rotate
May 9, 2023
3d8a292
Merge branch 'feat/egg' of github.com:significa/another-significa int…
May 9, 2023
61a69cf
fix(services/timeline): cleanup and typo
filipeff95 May 9, 2023
e7fa804
Merge branch 'main' into feat/services-hero
filipeff95 May 9, 2023
c101367
Merge pull request #31 from significa/feat/services-hero
pdrbrnd May 9, 2023
a20ff81
feat: prettier formatting mailchimp email templates
tofran May 9, 2023
9620cab
fixed bash functions
tofran May 9, 2023
ff54ee9
fix: install prettier
tofran May 9, 2023
8c64985
mailchimp action: exit on crash and permissions
tofran May 9, 2023
50e8d30
Merge pull request #41 from significa/update-mailchimp-action
tofran May 9, 2023
3dc306a
fix: mailchimp action permissions contents
tofran May 9, 2023
517227f
fix: pull request permissions
tofran May 9, 2023
4105008
fix: mailchimp email template updater
tofran May 9, 2023
c6d75bf
fix mailchimp action author
tofran May 9, 2023
adfe3b0
ci: mailchimp pull request removed author and added schedule
tofran May 9, 2023
4bfff7a
fix: get a quote
kaaps May 9, 2023
a043487
fix: name position
kaaps May 9, 2023
1bfb9bd
fix: position name
kaaps May 9, 2023
396e0c3
fix: truncatedText
kaaps May 9, 2023
e4ba93c
Merge pull request #44 from significa/SIGN-372
kaaps May 9, 2023
e921637
feat(home): services section
filipeff95 May 9, 2023
8b925cb
feat: redirects
pdrbrnd May 9, 2023
8d53538
fix: update vercel.json
pdrbrnd May 9, 2023
76f8d08
Merge pull request #45 from significa/feat/redirects
pdrbrnd May 9, 2023
cb0da33
fix: type
kaaps May 9, 2023
b1e274e
feat(home): testimonials second variant
filipeff95 May 9, 2023
d3929da
Merge branch 'main' into feat/home-struct
filipeff95 May 9, 2023
797354f
fix(services/timeline): needle head shrinking
filipeff95 May 9, 2023
b60a059
feat: add back ISR
pdrbrnd May 9, 2023
c67fda5
feat: egghatching
kaaps May 9, 2023
2708b6b
fix: naming
kaaps May 9, 2023
d14d264
Merge pull request #39 from significa/feat/egg
kaaps May 9, 2023
9f6eae1
fix(home): spacings and schema update
filipeff95 May 9, 2023
01fe0a6
fix: forms WIP
pdrbrnd May 9, 2023
3ed84a8
Merge pull request #38 from significa/feat/plant
kaaps May 9, 2023
4a22019
fix(handbook): content conditional rendering
filipeff95 May 9, 2023
70b590b
feat(home): pedulum
filipeff95 May 9, 2023
af6b8db
fix(projects): filters not reseting SIGN-343
filipeff95 May 10, 2023
f9fa61c
fix(app): color-scheme css property to obey theme SIGN-365
filipeff95 May 10, 2023
d0db152
fix(physics-input): remove autocomplete SIGN-380
filipeff95 May 10, 2023
f644cfe
fix(handbook): draft mode text color SIGN-378
filipeff95 May 10, 2023
30247c5
vercel preview aliases
tofran May 10, 2023
4ec4668
fix: isr form submissions
pdrbrnd May 10, 2023
c905020
fix: video center
kaaps May 10, 2023
afd2b37
chore: deps
pdrbrnd May 10, 2023
28e51ee
feat(home/pendulum): removed overflow hidden
filipeff95 May 10, 2023
42637ea
Merge branch 'main' into feat/home-struct
filipeff95 May 10, 2023
ab65b07
chore(home): unused import
filipeff95 May 10, 2023
577c96d
chore: format
pdrbrnd May 10, 2023
6133418
Merge pull request #46 from significa/feat/home-struct
filipeff95 May 10, 2023
89b8900
feat: bypass previews
pdrbrnd May 10, 2023
8c8c562
Merge pull request #47 from significa/feat/home-newton
filipeff95 May 10, 2023
aaa4d33
fix: isr
pdrbrnd May 10, 2023
2f7c519
Merge pull request #49 from significa/SIGN-347
kaaps May 10, 2023
1b5280d
Merge pull request #50 from significa/fix/bug-fixing-10-05-23
filipeff95 May 10, 2023
6c4ec23
feat(plausible): instance and utils
filipeff95 May 10, 2023
c5a354a
fix: max call stack exceeded and shared state between client and server
May 10, 2023
4347f9f
fix: form enhancement
pdrbrnd May 10, 2023
0ebe5cf
fix: text color
kaaps May 10, 2023
f986708
refactor: centralize load functions
pdrbrnd May 10, 2023
ee808c9
Merge pull request #53 from significa/SIG-381
kaaps May 10, 2023
978a8a5
Merge branch 'main' into fix/isr-and-forms
pdrbrnd May 10, 2023
884f620
chore: update data
pdrbrnd May 10, 2023
f6eac39
fix: a11y
pdrbrnd May 10, 2023
06f6d39
feat(about/timeline): arrow flip
filipeff95 May 10, 2023
d7b3129
chore: unused import
filipeff95 May 10, 2023
98ba13b
fix: services
kaaps May 10, 2023
c508bcb
chore: remove console logs
pdrbrnd May 10, 2023
cc2c37f
fix: preview mode
pdrbrnd May 10, 2023
128f429
chore: add vercel to gitignore
pdrbrnd May 10, 2023
2a2cba5
feat: allow opting out of https defaults to disabled
tofran May 10, 2023
192c5ce
Merge branch 'main' into allow-opting-out-of-https-for-development
tofran May 10, 2023
37822ed
Merge pull request #57 from significa/allow-opting-out-of-https-for-d…
pdrbrnd May 10, 2023
9f0e63a
Merge pull request #56 from significa/SIG-387
pdrbrnd May 10, 2023
5b6c6d2
Merge pull request #55 from significa/feat/timeline-arrow-flip
pdrbrnd May 10, 2023
7d7376b
ci: updated email templates
pdrbrnd May 10, 2023
9386617
fix: link, drawer
kaaps May 10, 2023
f79f086
fix: pr issues
pdrbrnd May 10, 2023
a1c0e19
Merge branch 'main' into fix/isr-and-forms
pdrbrnd May 10, 2023
5c78233
Merge pull request #54 from significa/fix/isr-and-forms
pdrbrnd May 10, 2023
6032138
Merge branch 'main' into SIG-386
kaaps May 10, 2023
fa489c7
chore: update text only emails
pdrbrnd May 10, 2023
94b91c0
Merge pull request #43 from significa/ci/update-email-templates
pdrbrnd May 10, 2023
8e8c2d1
Merge branch 'main' into SIGN-351
pdrbrnd May 10, 2023
4bb9f7d
Merge pull request #51 from significa/SIGN-351
pdrbrnd May 10, 2023
652b5ab
Merge pull request #58 from significa/SIG-386
pdrbrnd May 10, 2023
d274aec
chore: update i18n
pdrbrnd May 10, 2023
82d8cfb
fix: title sizes, services link
kaaps May 10, 2023
986cfd0
fix: unused icon
kaaps May 10, 2023
debe71d
Merge branch 'main' into SIG-382
kaaps May 10, 2023
484030d
Merge pull request #59 from significa/SIG-382
pdrbrnd May 11, 2023
c1d26be
chore: update segg asset
pdrbrnd May 11, 2023
f2d4e67
chore: update env example
pdrbrnd May 11, 2023
421e761
Merge branch 'main' into feat/plausible-events
filipeff95 May 11, 2023
988bed8
fix: local https
pdrbrnd May 11, 2023
ee626c4
Merge pull request #60 from significa/fix/misc-fixes
pdrbrnd May 11, 2023
1e42950
fix: timeline buttons SIGN-411
pdrbrnd May 11, 2023
11a3b0c
fix: add alt to buttons SIGN-408
pdrbrnd May 11, 2023
7035656
fix: services
kaaps May 11, 2023
75d1dec
fix: user select on canvas SIGN-400
pdrbrnd May 11, 2023
0ee5f16
fix: services
kaaps May 11, 2023
1930fbd
fix: remove canvas gradient and 100vh SIGN-398
pdrbrnd May 11, 2023
4ead44d
fix: remove em dash SIGN-390
pdrbrnd May 11, 2023
5c98d3f
fix: convert png to webp SIGN-406
pdrbrnd May 11, 2023
7c41a9b
feat(Plausible): navbar events
filipeff95 May 11, 2023
8d130c8
feat: preload images SIGN-391
pdrbrnd May 11, 2023
45ef335
fix: awards gap SIGN-412
pdrbrnd May 11, 2023
a7f0b00
Merge pull request #61 from significa/SIG-407
kaaps May 11, 2023
57b80be
fix: timeout issue
May 11, 2023
2d41afd
fix: icons
kaaps May 11, 2023
9df20b6
Merge pull request #64 from significa/SIG-414
kaaps May 11, 2023
dadd01b
fix: refactor icons
kaaps May 11, 2023
7f26419
feat(Plausible) home page events
filipeff95 May 11, 2023
ea7b14b
Merge pull request #65 from significa/SIGN-416
kaaps May 11, 2023
eb9c9e7
feat(Plausible): projects page events
filipeff95 May 11, 2023
85bf17b
Merge pull request #63 from significa/fix/11may-morning
pdrbrnd May 11, 2023
4934bdc
fix: colors
kaaps May 11, 2023
08a11b3
Merge pull request #66 from significa/SIG-417
kaaps May 11, 2023
7ed2504
Merge pull request #62 from significa/fix/tarot
michellemeinert May 11, 2023
00bde92
feat(Plausible): blog and drawer
filipeff95 May 11, 2023
85d8375
feat(Plausible) About page events
filipeff95 May 11, 2023
fe2a27d
Merge branch 'main' into feat/plausible-events
filipeff95 May 11, 2023
aca3a67
fix: font fallbacks
May 11, 2023
97f3aa5
feat(Plausible): services page events
filipeff95 May 11, 2023
2856f3a
feat(Plausible) rich-text-box cta event
filipeff95 May 11, 2023
0b3789e
feat(Plausible): team member page
filipeff95 May 11, 2023
9f40ad2
fix: btn
kaaps May 11, 2023
863d94f
Merge pull request #69 from significa/SIGN-421
kaaps May 11, 2023
9f30133
feat(Plausible): form events
filipeff95 May 11, 2023
8010fb4
fix: colors, adds descriptions
kaaps May 11, 2023
0f2d117
Merge pull request #70 from significa/SIGN-423
kaaps May 11, 2023
d3149ed
feat(Plausible): careers canvas events
filipeff95 May 11, 2023
0b469ac
fix: buttons
kaaps May 11, 2023
2f25acf
feat(Plausible): draw your segg events
filipeff95 May 11, 2023
8a70571
feat(Plausible): careers events
filipeff95 May 11, 2023
fb35627
Merge pull request #71 from significa/SIGN-424
kaaps May 11, 2023
d8bf4f9
feat(Plausible): 404 nobita found event
filipeff95 May 11, 2023
6e576c9
feat(Plausible): custom events script
filipeff95 May 11, 2023
36e0c13
feat: cool reels
pdrbrnd May 11, 2023
a16bf78
Merge branch 'main' into feat/plausible-events
filipeff95 May 11, 2023
11d5c7a
fix: remove unused code
pdrbrnd May 11, 2023
7c405b1
Merge branch 'main' into fix/comic
tofran May 11, 2023
9a85ef9
Merge pull request #68 from significa/fix/comic
pdrbrnd May 11, 2023
4d85440
chore: rename prop
pdrbrnd May 11, 2023
62986b2
fix: add back cursor
pdrbrnd May 11, 2023
17ee1d0
chore(Plausible): more agnostic naming
filipeff95 May 11, 2023
e15466f
Merge pull request #73 from significa/feat/reels
pdrbrnd May 11, 2023
baed3ac
fix: pr
filipeff95 May 11, 2023
0deb6e4
Merge branch 'main' into feat/plausible-events
filipeff95 May 11, 2023
ede0937
fix(vercel): renamed proxy
filipeff95 May 11, 2023
2d7598f
fix(Plausible): reel mobile event
filipeff95 May 11, 2023
b144eb7
Merge pull request #74 from significa/feat/plausible-events
filipeff95 May 11, 2023
796b9ab
feat(top-nav): sticky behaviour
filipeff95 May 11, 2023
b475648
feat: sitemap SIGN-388
pdrbrnd May 11, 2023
ca401aa
fix: remove trailing slash
pdrbrnd May 11, 2023
5e22141
feat(analytics): removed navbar link tracking except cta
filipeff95 May 12, 2023
94dd948
feat(top-nav): blur and border past 0
filipeff95 May 12, 2023
9eb89ff
Merge pull request #77 from significa/fix/analytics
filipeff95 May 12, 2023
6007793
fix(hoveravble-gallery): safari aspect ratio SIGN-432
filipeff95 May 12, 2023
65dc3be
Merge branch 'main' into feat/sticky-nav
filipeff95 May 12, 2023
9273acd
Merge pull request #75 from significa/feat/sticky-nav
filipeff95 May 12, 2023
6652be7
fix: spaces
pdrbrnd May 12, 2023
52c2666
Merge branch 'main' into fix/spaces
pdrbrnd May 12, 2023
815cda7
fix: project spaces
pdrbrnd May 12, 2023
ae4e6c6
Merge pull request #78 from significa/fix/photo-gallery-safari
pdrbrnd May 12, 2023
b5842e2
Merge pull request #76 from significa/feat/sitemap
pdrbrnd May 12, 2023
99bb50a
fix: bold comic sans
pdrbrnd May 12, 2023
6296e79
Merge branch 'main' into fix/spaces
pdrbrnd May 12, 2023
1ea9fc2
fix: more fixes
pdrbrnd May 12, 2023
b3071b0
feat: add feedback on upload fail
pdrbrnd May 12, 2023
607e449
fix: spaces
pdrbrnd May 12, 2023
9fc9706
Merge pull request #81 from significa/fix/spaces
pdrbrnd May 12, 2023
2d8ca86
chore: remove unused import
pdrbrnd May 12, 2023
ebdec44
fix: handbook route
pdrbrnd May 12, 2023
34881fb
fix: handbook redirect with isr
pdrbrnd May 12, 2023
68bcbea
feat(careers/canvas): minimap
filipeff95 May 12, 2023
265677c
fix: remove isr from handbook
pdrbrnd May 12, 2023
c901a5f
fix: bugfixes
filipeff95 May 12, 2023
7b0bfdd
Merge pull request #82 from significa/fix/handbook-redirect
tofran May 12, 2023
a415b73
fix: align right
kaaps May 12, 2023
c957404
fix: label
kaaps May 12, 2023
a2c6633
feat(navbar): drawer get a quote button
filipeff95 May 12, 2023
f20ad27
fix(rich-text-box): mobile
filipeff95 May 12, 2023
3a8f8d7
fix(physics): unmounting log
filipeff95 May 12, 2023
4cb941e
Merge pull request #83 from significa/feat/canvas-minimap
filipeff95 May 12, 2023
3283b60
Merge pull request #85 from significa/fix/12-05
filipeff95 May 12, 2023
ab25b78
Merge pull request #86 from significa/SIGN-466
kaaps May 12, 2023
3c60e44
feat: added drawing authorization
tofran May 12, 2023
d1fb827
Merge pull request #87 from significa/SIGN-429
kaaps May 12, 2023
7c0e8c3
Merge pull request #88 from significa/fix/bugs-afternoon
pdrbrnd May 12, 2023
23d22c7
Merge branch 'main' into drawing-authorization
tofran May 12, 2023
d773e12
fix(testimonials): responsiveness
filipeff95 May 12, 2023
cafd5c2
Merge pull request #90 from significa/fix/testimonials
pdrbrnd May 12, 2023
e352975
refactor: drawer close is history back SIGN-458
pdrbrnd May 12, 2023
0ec8cbf
fix: small fixes
pdrbrnd May 12, 2023
3c341e8
fix(home): services mobile asset update
filipeff95 May 12, 2023
5c23e37
fix(navbar): middle page refresh bg bug
filipeff95 May 12, 2023
a4e55d5
renamed api/segg back to /segg
tofran May 12, 2023
2ab54d6
Merge branch 'drawing-authorization' of github.com:significa/another-…
tofran May 12, 2023
675d62d
chore: update icons
pdrbrnd May 12, 2023
5a92494
feat: illustration update
filipeff95 May 12, 2023
b907f6b
Merge pull request #91 from significa/feat/bug-fixing-asset-nav
pdrbrnd May 12, 2023
b42c3ce
Merge pull request #92 from significa/fix/issues
pdrbrnd May 12, 2023
6b38eb9
Merge pull request #93 from significa/feat/illust-update
pdrbrnd May 12, 2023
1f0785f
fix: egg
kaaps May 12, 2023
ad0e8ec
Merge pull request #94 from significa/fix/update-pan-egg-svg
pdrbrnd May 12, 2023
12e00ba
fix: drawer expand
pdrbrnd May 12, 2023
ff8f76c
fix: top bar border
pdrbrnd May 12, 2023
c192965
Merge branch 'main' into drawing-authorization
tofran May 12, 2023
aa1b421
fix: remove no-index
pdrbrnd May 12, 2023
5a0f35a
created readme.md
tofran May 12, 2023
099fa82
updated readme
tofran May 12, 2023
96a747a
Merge pull request #95 from significa/doc/create-readme
tofran May 12, 2023
8800fff
updated i18n
tofran May 12, 2023
c123190
datasources.ts: better error handling when var is missing
tofran May 12, 2023
ae3db5c
added install and build command to vercel.json
tofran May 12, 2023
c37a7a2
Merge pull request #96 from significa/minor-improvements
tofran May 12, 2023
094330d
ci: updated email templates
tofran May 12, 2023
16856e6
Merge branch 'main' into drawing-authorization
tofran May 15, 2023
f665ed2
Merge pull request #97 from significa/ci/update-email-templates
tofran May 15, 2023
e2d006f
Merge pull request #89 from significa/drawing-authorization
tofran May 15, 2023
e2ebe04
🗑️ cleanup repository for new version
tofran May 15, 2023
24a914a
Merge remote-tracking branch 'version3-fork/main' into version3
tofran May 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 19 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
PRISMIC_ACCESS_TOKEN=MC5YOG9mQmhFQUFDWUFtVGVY.77-977-977-977-9JzDvv73vv73vv73vv70h77-9fO-_ve-_vTNeYe-_ve-_ve-_vWHvv71vfzFA77-977-9Re-_ve-_vQ
PUBLIC_STORYBLOK_TOKEN=

AWS_S3_BUCKET=
AWS_REGION=eu-west-3
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_SES_FROM_ADDRESS="Significa (local) <noreply-local@significa.co>"
AWS_DYNAMODB_TABLE=

NOTION_TOKEN=
NOTION_DB_LEADS=
NOTION_DB_CANDIDATES=
NOTION_DB_CONTACTS=

BYPASS_TOKEN=

VITE_HTTPS_ENABLED=true

SESSION_SECRET_KEY=
16 changes: 16 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock

# generated types
bloks.d.ts
20 changes: 20 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['svelte3', '@typescript-eslint'],
ignorePatterns: ['*.cjs'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
settings: {
'svelte3/typescript': () => require('typescript')
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020
},
env: {
browser: true,
es2017: true,
node: true
}
};
21 changes: 0 additions & 21 deletions .eslintrc.json

This file was deleted.

4 changes: 0 additions & 4 deletions .github/CODEOWNERS

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI/CD

on:
push:
branches:
- main
pull_request:
release:
types:
- published
workflow_dispatch:

jobs:
ci-cd:
name: CI/CD
permissions:
contents: read
packages: read
deployments: write
uses: significa/actions/.github/workflows/vercel-app.yaml@vercel-deployment-alias
with:
npm_scope: '@significa'
install_registry_url: 'https://npm.pkg.github.com/'
staging_domain: ${{ vars.STAGING_DOMAIN }}
production_domain: ${{ vars.PRODUCTION_DOMAIN }}
secrets:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
47 changes: 0 additions & 47 deletions .github/workflows/deploy-preview.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/deploy.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/update-email-templates.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Update email templates

on:
workflow_dispatch:
repository_dispatch:
schedule:
- cron: '0 11 * * 2' # Every tuesday at 11am UTC

jobs:
update-templates:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write
packages: read
pull-requests: write

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: npm
scope: '@significa'
registry-url: 'https://npm.pkg.github.com/'

- name: Install dependencies
run: npm ci

- name: Update email templates
env:
MAILCHIMP_API_KEY: ${{ secrets.MAILCHIMP_API_KEY }}
run: ./scripts/update-email-templates.sh

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch: ci/update-email-templates
commit-message: 'ci: updated email templates'
delete-branch: true
title: 'CI: auto updated email templates'
body: |
Updated email templates from Mailchimp.

Before merging, please make sure that the plaintext versions of the emails still make sense.
84 changes: 11 additions & 73 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,76 +1,14 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env

# gatsby files
.cache/
public

# Mac files
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity
.vercel

# functions
build
build.zip
build.tar
build.tar.gz
static/sitemap.xml
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run test
7 changes: 0 additions & 7 deletions .huskyrc.json

This file was deleted.

3 changes: 3 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*.{js,ts,json,svelte}": ["eslint", "prettier --write"]
}
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//npm.pkg.github.com/:_authToken=${GITHUB_AUTH_TOKEN}
@significa:registry=https://npm.pkg.github.com/
engine-strict=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
13 changes: 13 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
Loading