Skip to content

Commit

Permalink
Merge pull request #308 from SWM-FIRE/dev
Browse files Browse the repository at this point in the history
fix: fix css from landing page
  • Loading branch information
071yoon authored Jan 21, 2024
2 parents 1ceed10 + db28e94 commit 0d84a3a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 33 deletions.
64 changes: 33 additions & 31 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,37 @@
name: Cypress tests
on:
pull_request:
branches:
- main
- dev
# cancel cypress ci for now

jobs:
cypress-run:
name: Cypress run
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
# name: Cypress tests
# on:
# pull_request:
# branches:
# - main
# - dev

# - name: My Own Cypress
# with:
# start: yarn install | yarn start | npx cypress run --record --key ${{ secrets.TARGET_CYPRESS_RECORDS_KEY }}
# jobs:
# cypress-run:
# name: Cypress run
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout
# uses: actions/checkout@v3

- name: Cypress run
uses: cypress-io/github-action@v4
with:
start: yarn start
record: true
browser: chrome
wait-on: 'http://localhost:3000'
# # - name: My Own Cypress
# # with:
# # start: yarn install | yarn start | npx cypress run --record --key ${{ secrets.TARGET_CYPRESS_RECORDS_KEY }}

env:
REACT_APP_BASE_URL: ${{ secrets.REACT_APP_BASE_URL }}
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.TARGET_CYPRESS_RECORDS_KEY }}
# pass GitHub token to allow accurately detecting a build vs a re-run build
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# pass the project ID from the secrets through environment variable
CYPRESS_PROJECT_ID: ${{ secrets.TARGET_CYPRESS_PROJECT_ID }}
# - name: Cypress run
# uses: cypress-io/github-action@v4
# with:
# start: yarn start
# record: true
# browser: chrome
# wait-on: 'http://localhost:3000'

# env:
# REACT_APP_BASE_URL: ${{ secrets.REACT_APP_BASE_URL }}
# # pass the Dashboard record key as an environment variable
# CYPRESS_RECORD_KEY: ${{ secrets.TARGET_CYPRESS_RECORDS_KEY }}
# # pass GitHub token to allow accurately detecting a build vs a re-run build
# # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# # pass the project ID from the secrets through environment variable
# CYPRESS_PROJECT_ID: ${{ secrets.TARGET_CYPRESS_PROJECT_ID }}
5 changes: 3 additions & 2 deletions src/components/main/landingPage/GiveWhat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ const Container = styled.div`
`;

const MainTitle = styled.div`
left: 50%;
left: 10%;
position: absolute;
${media.xlarge} {
position: relative;
left: 0;
text-align: right;
margin-right: -20%;
margin-bottom: -5rem;
}
font-family: IBMPlexSansKRRegular;
Expand Down

0 comments on commit 0d84a3a

Please sign in to comment.