Skip to content

Commit 77a9057

Browse files
authored
fix(index.html): restore main.tsx script to enable local development … (#5)
* fix(index.html): restore main.tsx script to enable local development rendering * - Edit workflow of deployment to take from githuv actions instead of main root - Center Our Activites at the center
1 parent 7e2e024 commit 77a9057

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626

2727
- name: Setup Node.js
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: '18'
3131
cache: 'npm'
@@ -37,7 +37,7 @@ jobs:
3737
run: npm run build
3838

3939
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v1
40+
uses: actions/upload-pages-artifact@v3
4141
with:
4242
path: ./dist
4343

@@ -51,4 +51,4 @@ jobs:
5151
steps:
5252
- name: Deploy to GitHub Pages
5353
id: deployment
54-
uses: actions/deploy-pages@v2
54+
uses: actions/deploy-pages@v4

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
</head>
1818
<body>
1919
<div id="root"></div>
20+
<script type="module" src="/src/main.tsx"></script>
2021
</body>
2122
</html>

src/styles/ActivitiesSection.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
opacity: 0;
3434
transform: translateY(30px);
3535
transition: opacity 0.7s ease, transform 0.7s ease;
36+
text-align: center;
3637
}
3738

3839
.activities-header.animate-in {

0 commit comments

Comments
 (0)