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 Development branch to Main branch #1

Open
wants to merge 97 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
bf59a91
Set up Firebase hosting for Staging env. Deployment is triggered on …
oleg-saidov Jan 26, 2024
b810489
Check development branch deploy on staging env
oleg-saidov Jan 26, 2024
517ab55
Check development branch staging build.
oleg-saidov Jan 26, 2024
25ff888
Merge branch 'main' into development
souljja Feb 15, 2024
6374b3b
- Added basic reset
souljja Feb 16, 2024
e4ed36a
- installed sass
souljja Feb 16, 2024
ce3430e
- desktop-first -> mobile-first
souljja Feb 16, 2024
b18cdac
- add lists to reset
souljja Feb 16, 2024
cbc0c0e
- fix breakpoints according to requirements
souljja Feb 19, 2024
d7b6cbd
- added primary palette
souljja Feb 19, 2024
26302ab
- removed redundant comments
souljja Feb 20, 2024
2ce71e4
- Added button component
souljja Feb 15, 2024
8ba8809
- fix color-mix-duplication
souljja Feb 15, 2024
29595d6
- added sass and changed nesting
souljja Feb 15, 2024
a70b82e
- changed all files to sass
souljja Feb 15, 2024
3cd20b6
- fix button size
souljja Feb 15, 2024
73125b0
- fix after rebase to develop
souljja Feb 20, 2024
fc65d53
- fix buttons according to requirements
souljja Feb 21, 2024
e294414
[EPMGCIPCNT-19] - Component to deliver footer navigation for the website
souljja Feb 21, 2024
8daf926
- Fixes after rebase
souljja Feb 23, 2024
a7eeba6
- added header and navigation
souljja Feb 21, 2024
0823b3f
- fix lock file after rebase
souljja Feb 29, 2024
e5497dd
[EPMGCIPCNT-34] - hero component
souljja Feb 26, 2024
6f59be8
[EPMGCIPCNT-34] - changed div to section
souljja Feb 26, 2024
7f34fd1
- Fix wave after rebase
souljja Mar 4, 2024
dec3eee
[EPMGCIPCNT-34] - changed div to section
souljja Feb 26, 2024
0b6c7bb
- integration with BE
souljja Feb 28, 2024
856d059
- Added request for a particular page
souljja Feb 28, 2024
3c079cc
- Fix part of the data
souljja Feb 28, 2024
25da254
- Fix integration after rebase
souljja Mar 4, 2024
23ff713
- Added projects section
souljja Mar 4, 2024
3cd7ae8
- added ellipsis after 5 rows
souljja Mar 4, 2024
0188045
- added information section
souljja Feb 29, 2024
167fc00
- fix semantics and class naming
souljja Feb 29, 2024
531d6f9
- fix imports order after rebase
souljja Feb 29, 2024
014633c
- added news card
souljja Feb 29, 2024
2cc4bea
- fix after rebase
souljja Mar 5, 2024
77e0a65
- added image banner
souljja Mar 5, 2024
73a7770
- fix after rebase
souljja Mar 6, 2024
3d47af3
- wave banner
souljja Mar 5, 2024
03c29ef
- Added integration of header and footer
souljja Mar 6, 2024
0e27cff
- remove redundant constant
souljja Mar 6, 2024
137d50e
- added palette component
souljja Mar 6, 2024
8065093
- moved wavy image to mixin for further usage
souljja Mar 6, 2024
30794f9
- changed inverted button color
souljja Mar 7, 2024
e5ccf97
- added wave delimiter for section
souljja Mar 11, 2024
1982444
- changed header behavior (hide on scroll to bottom and show on scrol…
souljja Mar 11, 2024
befe2ae
- added secondary banner
souljja Mar 11, 2024
f4da4f6
add: initial text component draft
Feb 21, 2024
7768205
add: color and hover
Feb 26, 2024
51a0c02
- added title
souljja Mar 12, 2024
d353594
- added carousel for partners
souljja Mar 12, 2024
f4222b1
Delete .env
souljja Mar 13, 2024
b3f7a6e
- added integration for all available sections
souljja Mar 14, 2024
474a684
- added timeline section
souljja Mar 18, 2024
6c61d50
- added profiles section
souljja Mar 19, 2024
19878b9
- added testimonials section
souljja Mar 25, 2024
a6394b1
- added spinner and width restrictions
souljja Mar 25, 2024
a597c20
- update dependencies
souljja Mar 25, 2024
b11fbab
- Added categorized news and pagination
souljja Apr 3, 2024
b4965aa
EPMGCIPCNT-54 modify wave banner
Apr 15, 2024
2c87016
EPMGCIPCNT-54 review changes
Apr 16, 2024
e86d351
EPMGCIPCNT-54 review changes
Apr 17, 2024
b96d032
EPMGCIPCNT-54 review changes
Apr 17, 2024
8bf87d0
- Used wave from section
souljja Apr 17, 2024
d9ae464
Merge pull request #30 from epam/EPMGCIPCNT-54
bszabolcs Apr 18, 2024
f0ffed6
- Payment methods
souljja Apr 27, 2024
f72373b
EPMGCIPCNT-58 - Expandable section
Apr 29, 2024
d7c78b1
review fix
May 3, 2024
ded01c7
remove package-lock
May 3, 2024
e4bb072
review fixes
May 3, 2024
c733a32
Fix review remarks
souljja May 9, 2024
302608f
Added two columns component
souljja May 9, 2024
fec3b94
changed page and data-graph
souljja May 15, 2024
6741808
Initial NextJS migration
souljja May 26, 2024
bf0eb01
Fix build
souljja May 26, 2024
649d8aa
Remove mode from staging build
souljja May 26, 2024
ffe084c
Add loading and locale change
souljja Jun 1, 2024
f8d09aa
Fix svgr types
souljja Jun 1, 2024
65a371b
Change firebase config
souljja Jun 1, 2024
5056deb
Change function id
souljja Jun 1, 2024
6775f7a
Fix minor issues
souljja Jun 2, 2024
358ec0b
Added test deployment config for FE
souljja Jun 24, 2024
ebddda3
Update deps
souljja Jul 14, 2024
4132a75
Update test data
souljja Jul 14, 2024
e1bd4af
Added the integration with BE
souljja Jul 16, 2024
08e6609
Added the integration with BE
souljja Jul 21, 2024
22ccd48
Fix styles
souljja Jul 28, 2024
edb3b37
Added fragments
souljja Jul 28, 2024
419c2e0
Added fragments
souljja Jul 28, 2024
7ebd747
- Added signup form
souljja Feb 21, 2024
be0f50f
- Fixes after rebase
souljja Feb 23, 2024
008d59b
- added name field
souljja Mar 4, 2024
65104ad
- Updated form according to design
souljja Mar 26, 2024
502da93
- updated form according to the new design
souljja Mar 27, 2024
94df96c
- update sign up according to new design
souljja Mar 29, 2024
f368e8a
Fix after rebase
souljja Aug 4, 2024
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
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Dockerfile
.dockerignore
node_modules
npm-debug.log
README.md
.next
.git
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
vite.config.ts
codegen.ts
node_modules/**
coverage/**
src/assets/**
src/__generated__/**
.eslintrc
/dist

Expand Down
78 changes: 73 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"es2020": true
},
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"prettier",
"plugin:react/recommended",
Expand Down Expand Up @@ -102,12 +103,72 @@
},
{
"group": "external",
"pattern": "@/pages/**",
"position": "after"
},
{
"group": "external",
"pattern": "@/features/**/*.tsx",
"position": "after"
},
{
"group": "external",
"pattern": "@/components/**/*.tsx",
"position": "after"
},
{
"group": "external",
"pattern": "@/**/*.tsx",
"position": "after"
},
{
"group": "external",
"pattern": "@/features/**/*.ts",
"position": "after"
},
{
"group": "external",
"pattern": "@/components/**/*.ts",
"position": "after"
},
{
"group": "external",
"pattern": "@/hooks/**",
"position": "after"
},
{
"group": "external",
"pattern": "@/utils/**",
"position": "after"
},
{
"group": "external",
"pattern": "@/queries/**",
"position": "after"
},
{
"group": "external",
"pattern": "@/constants/**",
"position": "after"
},
{
"group": "external",
"pattern": "@/assets/**",
"position": "after"
},
{
"group": "external",
"pattern": "@/__generated__/**",
"position": "after"
},
{
"group": "object",
"pattern": "./*.svg",
"position": "after"
},
{
"pattern": "./*.css",
"group": "sibling",
"pattern": "./*.scss",
"group": "object",
"position": "after"
}
],
Expand Down Expand Up @@ -170,12 +231,12 @@
"react/destructuring-assignment": "warn",
"react/forbid-prop-types": "error",
"react/prop-types": "error",
"react/button-has-type": "warn",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
"@typescript-eslint/no-var-requires": "warn",
"@typescript-eslint/no-duplicate-enum-values": "warn",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-shadow": "warn",
// can be replaced by noop from lodash
"@typescript-eslint/no-unused-vars": [
"warn",
Expand Down Expand Up @@ -222,14 +283,21 @@
"no-await-in-loop": "warn",
"no-plusplus": "warn",
"no-bitwise": "warn",
"no-shadow": "warn",
"no-shadow": "off",
"no-restricted-syntax": "warn",
"no-restricted-exports": "warn",
"no-use-before-define": "warn",
"no-nested-ternary": "error",
"no-param-reassign": "warn",
"no-mixed-operators": "warn",
"no-underscore-dangle": "warn",
"no-underscore-dangle": [
"warn",
{
"allow": [
"__typename"
]
}
],
"max-len": "off",
"default-case": "off",
"key-spacing": "off",
Expand Down
89 changes: 89 additions & 0 deletions .github/workflows/deploy-cloud-run-source-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# This workflow will deploy source code on Cloud Run when a commit is pushed to the $default-branch branch
#
# Overview:
#
# 1. Authenticate to Google Cloud
# 2. Deploy it to Cloud Run
#
# To configure this workflow:
#
# 1. Ensure the required Google Cloud APIs are enabled:
#
# Cloud Run run.googleapis.com
# Cloud Build cloudbuild.googleapis.com
# Artifact Registry artifactregistry.googleapis.com
#
# 2. Create and configure Workload Identity Federation for GitHub (https://github.com/google-github-actions/auth#setting-up-workload-identity-federation)
#
# 3. Ensure the required IAM permissions are granted
#
# Cloud Run
# roles/run.admin
# roles/iam.serviceAccountUser (to act as the Cloud Run runtime service account)
#
# Cloud Build
# roles/cloudbuild.builds.editor
#
# Cloud Storage
# roles/storage.admin
#
# Artifact Registry
# roles/artifactregistry.admin (project or repository level)
#
# NOTE: You should always follow the principle of least privilege when assigning IAM roles
#
# 4. Create GitHub secrets for WIF_PROVIDER and WIF_SERVICE_ACCOUNT
#
# 5. Change the values for the SERVICE and REGION environment variables (below).
#
# For more support on how to run this workflow, please visit https://github.com/marketplace/actions/deploy-to-cloud-run
#
# Further reading:
# Cloud Run runtime service account - https://cloud.google.com/run/docs/securing/service-identity
# Cloud Run IAM permissions - https://cloud.google.com/run/docs/deploying-source-code#permissions_required_to_deploy
# Cloud Run builds from source - https://cloud.google.com/run/docs/deploying-source-code
# Principle of least privilege - https://cloud.google.com/blog/products/identity-security/dont-get-pwned-practicing-the-principle-of-least-privilege

name: Deploy to Cloud Run PROD ENV

on:
push:
branches:
- main

env:
PROJECT_ID: cdkz-frontend # TODO: update Google Cloud project id
SERVICE: epmgcip-connect-ed-ui # TODO: update Cloud Run service name
REGION: us-central1 # TODO: update Cloud Run service region

jobs:
deploy:
# Add 'id-token' with the intended permissions for workload identity federation
permissions:
contents: 'read'
id-token: 'write'

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

# NOTE: Alternative option - authentication via credentials json
- name: Google Auth
id: auth
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'

- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/deploy-cloudrun@v2
with:
service: ${{ env.SERVICE }}
region: ${{ env.REGION }}
# NOTE: If required, update to the appropriate source folder
source: ./

# If required, use the Cloud Run url output in later steps
- name: Show Output
run: echo ${{ steps.deploy.outputs.url }}
89 changes: 89 additions & 0 deletions .github/workflows/deploy-cloud-run-source-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# This workflow will deploy source code on Cloud Run when a commit is pushed to the $default-branch branch
#
# Overview:
#
# 1. Authenticate to Google Cloud
# 2. Deploy it to Cloud Run
#
# To configure this workflow:
#
# 1. Ensure the required Google Cloud APIs are enabled:
#
# Cloud Run run.googleapis.com
# Cloud Build cloudbuild.googleapis.com
# Artifact Registry artifactregistry.googleapis.com
#
# 2. Create and configure Workload Identity Federation for GitHub (https://github.com/google-github-actions/auth#setting-up-workload-identity-federation)
#
# 3. Ensure the required IAM permissions are granted
#
# Cloud Run
# roles/run.admin
# roles/iam.serviceAccountUser (to act as the Cloud Run runtime service account)
#
# Cloud Build
# roles/cloudbuild.builds.editor
#
# Cloud Storage
# roles/storage.admin
#
# Artifact Registry
# roles/artifactregistry.admin (project or repository level)
#
# NOTE: You should always follow the principle of least privilege when assigning IAM roles
#
# 4. Create GitHub secrets for WIF_PROVIDER and WIF_SERVICE_ACCOUNT
#
# 5. Change the values for the SERVICE and REGION environment variables (below).
#
# For more support on how to run this workflow, please visit https://github.com/marketplace/actions/deploy-to-cloud-run
#
# Further reading:
# Cloud Run runtime service account - https://cloud.google.com/run/docs/securing/service-identity
# Cloud Run IAM permissions - https://cloud.google.com/run/docs/deploying-source-code#permissions_required_to_deploy
# Cloud Run builds from source - https://cloud.google.com/run/docs/deploying-source-code
# Principle of least privilege - https://cloud.google.com/blog/products/identity-security/dont-get-pwned-practicing-the-principle-of-least-privilege

name: Deploy to Cloud Run STAGING ENV

on:
push:
branches:
- development

env:
PROJECT_ID: cdkz-frontend # TODO: update Google Cloud project id
SERVICE: epmgcip-connect-ed-ui # TODO: update Cloud Run service name
REGION: us-central1 # TODO: update Cloud Run service region

jobs:
deploy:
# Add 'id-token' with the intended permissions for workload identity federation
permissions:
contents: 'read'
id-token: 'write'

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

# NOTE: Alternative option - authentication via credentials json
- name: Google Auth
id: auth
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'

- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/deploy-cloudrun@v2
with:
service: ${{ env.SERVICE }}
region: ${{ env.REGION }}
# NOTE: If required, update to the appropriate source folder
source: ./

# If required, use the Cloud Run url output in later steps
- name: Show Output
run: echo ${{ steps.deploy.outputs.url }}
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ node_modules
dist
dist-ssr
*.local
.env

# Editor directories and files
.vscode/*
Expand All @@ -22,3 +23,40 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

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

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
2 changes: 1 addition & 1 deletion .lintstagedrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"src/**/*.{js,ts,jsx,tsx}": [
"src/!(__generated__)**/*.{js,ts,jsx,tsx}": [
() => "npm run lint:types",
"npm run lint -- --fix",
],
Expand Down
Loading
Loading