Skip to content

Commit 5967648

Browse files
committed
Undoing the svelte migration because its probably not necessary. Just
update website info and photos instead. This reverts commit cb5d37c. Revert "just verifying that the CI/CD works" This reverts commit dd58ee4. Revert "update actions" This reverts commit 2cfdaff. Revert "update actions" This reverts commit 404d0b3. Revert "bootstrap svelte" This reverts commit d901fa2. Revert "Update readme" This reverts commit ad90f35. Revert "migrate to new website framework" This reverts commit 72f58fb.
1 parent cb5d37c commit 5967648

27 files changed

+293
-3609
lines changed
+15-40
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,18 @@
1-
name: Deploy to S3
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
1+
name: GitHub Actions Demo
2+
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
3+
on: [push]
84
jobs:
9-
build-and-deploy:
5+
Explore-GitHub-Actions:
106
runs-on: ubuntu-latest
11-
environment: env
12-
137
steps:
14-
- name: Checkout code
15-
uses: actions/checkout@v2
16-
17-
- name: Set up Node.js
18-
uses: actions/setup-node@v2
19-
with:
20-
node-version: '23'
21-
22-
- name: Install dependencies
23-
run: npm install
24-
25-
- name: Run build
26-
run: npm run build
27-
28-
- name: Delete files from S3 bucket
29-
run: |
30-
aws s3 rm s3://michaelarnold.io-assets --recursive
31-
env:
32-
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
33-
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
34-
AWS_REGION: 'us-west-1'
35-
36-
- name: Upload build files to S3 bucket
37-
run: |
38-
aws s3 cp ./build s3://michaelarnold.io-assets --recursive
39-
env:
40-
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
41-
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
42-
AWS_REGION: 'us-west-1'
43-
8+
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
9+
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
10+
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
11+
- name: Check out repository code
12+
uses: actions/checkout@v4
13+
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
14+
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
15+
- name: List files in the repository
16+
run: |
17+
ls ${{ github.workspace }}
18+
- run: echo "🍏 This job's status is ${{ job.status }}."

.gitignore

-22
Original file line numberDiff line numberDiff line change
@@ -1,23 +1 @@
1-
node_modules
2-
3-
# Output
4-
.output
5-
.vercel
6-
.netlify
7-
.wrangler
8-
/.svelte-kit
9-
/build
10-
11-
# OS
121
.DS_Store
13-
Thumbs.db
14-
15-
# Env
16-
.env
17-
.env.*
18-
!.env.example
19-
!.env.test
20-
21-
# Vite
22-
vite.config.js.timestamp-*
23-
vite.config.ts.timestamp-*

.npmrc

-1
This file was deleted.

.prettierignore

-4
This file was deleted.

.prettierrc

-15
This file was deleted.

README.md

+1-38
Original file line numberDiff line numberDiff line change
@@ -3,48 +3,12 @@
33
This repository provides the source code for my personal website.
44

55
## Versioning
6-
- 3.0 -> main
7-
- 2.0 -> v2.0 (deprecated 02/14/2025)
6+
- 2.0 -> main
87
- 1.0 -> v1.0 (deprecated 12/10/2023)
98

109
## Hosting
1110
The hosting and SSL for this project are provided by Netlify.
1211

13-
## Creating a project
14-
15-
If you're seeing this, you've probably already done this step. Congrats!
16-
17-
```bash
18-
# create a new project in the current directory
19-
npx sv create
20-
21-
# create a new project in my-app
22-
npx sv create my-app
23-
```
24-
25-
## Developing
26-
27-
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
28-
29-
```bash
30-
npm run dev
31-
32-
# or start the server and open the app in a new browser tab
33-
npm run dev -- --open
34-
```
35-
36-
## Building
37-
38-
To create a production version of your app:
39-
40-
```bash
41-
npm run build
42-
```
43-
44-
You can preview the production build with `npm run preview`.
45-
46-
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
47-
4812
## Contributors
4913
@author: Michael Arnold \
5014
@@ -57,4 +21,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
5721
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
5822

5923
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
60-

css/styles.css

+174
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
:root {
2+
--clr-dk: #F5F1ED;
3+
--clr-lt: #252323;
4+
--fnt-lg: 2.0rem;
5+
--fnt-md: 1.5rem;
6+
--fnt-sm: 1.1rem;
7+
}
8+
9+
@media screen and (max-width: 1100px) {
10+
:root {
11+
--fnt-lg: 3.8rem;
12+
--fnt-md: 2.7rem;
13+
--fnt-sm: 2.3rem;
14+
}
15+
}
16+
17+
.grid-1 img {
18+
width: 100%;
19+
height: 100%;
20+
}
21+
22+
.grid-4 img {
23+
width: 100%;
24+
height: 100%;
25+
}
26+
27+
html {
28+
font-family: 'Roboto', sans-serif;
29+
}
30+
31+
* {
32+
margin: 0;
33+
padding: 0;
34+
box-sizing: border-box;
35+
}
36+
37+
header, footer {
38+
width: 100%;
39+
height: 12vh;
40+
display: flex;
41+
align-items: center;
42+
justify-content: center;
43+
}
44+
45+
main {
46+
width: 100%;
47+
min-height: 150vh;
48+
display: grid;
49+
grid-template-rows: repeat(2, 1fr);
50+
grid-template-columns: repeat(4, 1fr);
51+
}
52+
53+
@media screen and (max-width: 1100px) {
54+
main {
55+
grid-template-rows: repeat(4, 1fr);
56+
}
57+
}
58+
59+
main > div > h1 {
60+
font-size: var(--fnt-lg);
61+
margin-bottom: 13%;
62+
}
63+
64+
main > div > h2 {
65+
font-size: var(--fnt-md);
66+
margin-bottom: 6%;
67+
}
68+
69+
main > div > p {
70+
font-size: var(--fnt-sm);
71+
margin-bottom: 3%;
72+
}
73+
74+
main > div {
75+
padding: 13%;
76+
display: flex;
77+
flex-direction: column;
78+
justify-content: center;
79+
line-height: 1.6;
80+
}
81+
82+
.grid-1 {
83+
margin: 0;
84+
padding: 0;
85+
grid-column-start: 1;
86+
grid-column-end: 3;
87+
grid-row: 1;
88+
}
89+
90+
@media screen and (max-width: 1100px) {
91+
.grid-1 {
92+
grid-column-start: 1;
93+
grid-column-end: 5;
94+
grid-row: 1;
95+
}
96+
}
97+
98+
.grid-2 {
99+
grid-column-start: 3;
100+
grid-column-end: 5;
101+
grid-row: 1;
102+
background-color: #70798C;
103+
color: var(--clr-dk);
104+
}
105+
106+
@media screen and (max-width: 1100px) {
107+
.grid-2 {
108+
grid-column-start: 1;
109+
grid-column-end: 5;
110+
grid-row: 2;
111+
}
112+
}
113+
114+
.grid-3 {
115+
grid-column-start: 1;
116+
grid-column-end: 3;
117+
grid-row: 2;
118+
background-color: #DAD2BC;
119+
color: var(--clr-lt);
120+
}
121+
122+
.grid-3 > div {
123+
display: flex;
124+
justify-content: start;
125+
}
126+
127+
.grid-3 > div > a {
128+
width: 40px;
129+
height: 40px;
130+
margin: 15px;
131+
}
132+
133+
134+
@media screen and (max-width: 1100px) {
135+
.grid-3 {
136+
grid-column-start: 1;
137+
grid-column-end: 5;
138+
grid-row: 3;
139+
}
140+
141+
.grid-3 > div > a {
142+
width: 70px;
143+
height: 70px;
144+
margin-top: 100px;
145+
}
146+
}
147+
148+
.grid-4 {
149+
grid-column-start: 3;
150+
margin: 0;
151+
padding: 0;
152+
grid-column-end: 5;
153+
grid-row: 2;
154+
}
155+
156+
@media screen and (max-width: 1100px) {
157+
.grid-4 {
158+
grid-column-start: 1;
159+
grid-column-end: 5;
160+
grid-row: 4;
161+
}
162+
}
163+
164+
header {
165+
background-color: var(--clr-lt);
166+
color: var(--clr-dk);
167+
font-size: var(--fnt-lg);
168+
}
169+
170+
footer {
171+
background-color: var(--clr-dk);
172+
color: var(--clr-lt);
173+
font-size: var(--fnt-sm);
174+
}

eslint.config.js

-34
This file was deleted.

img/cycling.jpg

7.27 MB
Loading

img/email-1564-svgrepo-com.svg

+19
Loading

img/github-svgrepo-com.svg

+5
Loading

0 commit comments

Comments
 (0)