Skip to content

Commit c12d482

Browse files
author
Josh Lavallee
committed
JOSH-DEV-2024: Updated Experience Colors To Refresh Memory
1 parent b882bf8 commit c12d482

File tree

2 files changed

+26
-11
lines changed

2 files changed

+26
-11
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Deploy Website
33
on:
44
push:
55
branches: [ main ]
6-
76
workflow_dispatch:
87

98
jobs:
@@ -12,23 +11,28 @@ jobs:
1211

1312
steps:
1413
- name: Checkout Repository
15-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '20'
1620

17-
- name: Configure AWS
18-
uses: aws-actions/configure-aws-credentials@v1
21+
- name: Configure AWS Credentials
22+
uses: aws-actions/configure-aws-credentials@v4
1923
with:
2024
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
2125
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
2226
aws-region: us-east-1
2327

24-
- name: Install Modules
25-
run: yarn install
28+
- name: Install Dependencies
29+
run: yarn install --frozen-lockfile
2630

2731
- name: Build Application
2832
run: yarn run build
2933

30-
- name: Deploy To S3
34+
- name: Deploy to S3
3135
run: aws s3 sync ./dist s3://${{ secrets.BUCKET_NAME }}
3236

33-
- name: Create Cloudfront Invalidation
37+
- name: Create CloudFront Invalidation
3438
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.DISTRIBUTION_ID }} --paths "/*"

src/Experience.tsx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,27 @@ function Experience() {
1616
});
1717

1818
return (
19+
<>
20+
<mesh
21+
// rotation={[0,0,0]}
22+
scale={.75}
23+
position={[-3, 0, 0]}
24+
>
25+
<sphereGeometry />
26+
<meshBasicMaterial color={"purple"}/>
27+
</mesh>
28+
1929
<mesh
2030
ref={cube}
21-
scale={clicked ? 1.5 : 1}
31+
scale={clicked ? 2 : 1}
2232
onClick={() => click(!clicked)}
2333
onPointerOver={(event) => (event.stopPropagation(), hover(true))}
2434
onPointerOut={() => hover(false)}
2535
>
26-
<boxGeometry args={[1, 1, 1]} />
27-
{hovered ? <meshNormalMaterial /> : <meshStandardMaterial color="hotpink" />}
36+
<boxGeometry />
37+
{hovered ? <meshBasicMaterial color={"purple"}/> : <meshBasicMaterial color={"yellow"} />}
2838
</mesh>
39+
</>
2940
);
3041
}
3142

0 commit comments

Comments
 (0)