Compare commits

...

14 Commits

Author SHA1 Message Date
9f76492e76 Update the IaC reference to point to the correct repo and add the library I wrote for such 2025-11-26 19:10:52 -06:00
0e840c71d9 bump readme 2025-10-24 00:38:41 -05:00
3288c5148b add sample env 2025-10-24 00:38:33 -05:00
57c3637ea7 Swap name to default expected name 2025-10-24 00:38:10 -05:00
2c9b84f98b Add nginx.conf fallback 2025-10-01 17:14:39 -05:00
857750568e Add release script 2025-10-01 17:14:26 -05:00
2d26e8a9ce Some light changes 2025-10-01 17:14:14 -05:00
e145bcd2c2 Update title 2025-10-01 17:14:01 -05:00
d61e01f464 Add dockerfile 2025-10-01 17:13:50 -05:00
121d2adbca update README 2025-10-01 17:13:31 -05:00
572d4a6cbb Improve phrasing 2025-08-22 09:31:38 -05:00
c34800a9dc Better phrasing 2025-08-22 09:30:41 -05:00
377bd72ee7 Fix layout for mobile 2025-08-22 09:18:44 -05:00
a2b965755b Fix typos 2025-08-22 09:18:32 -05:00
8 changed files with 82 additions and 16 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:18-bullseye AS builder
RUN apt-get update && apt-get install -y default-jre
WORKDIR /app
COPY package.json package-lock.json shadow-cljs.edn ./
RUN npm install
COPY src ./src
COPY public ./public
RUN npx shadow-cljs release :app
FROM nginx:alpine
COPY --from=builder /app/public /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

22
README.md Normal file
View File

@@ -0,0 +1,22 @@
Simple README
Just use Docker to build and to run for ease:
Build:
```
docker build -t gigiaj/mesite .
```
Run:
```
docker run -p 8084:80 gigiaj/mesite
```
Can access in browser now at:
```
localhost:8084
```
deploy to docker repo
```
echo "$DOCKERHUB_PAT" | docker login --username gigiaj --password-stdin
docker push gigiaj/mesite:latest
```

11
nginx.conf Normal file
View File

@@ -0,0 +1,11 @@
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}

View File

@@ -1,4 +1,7 @@
{
"scripts": {
"release": "npx shadow-cljs release app"
},
"dependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"

View File

@@ -1,28 +1,41 @@
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
min-height: 100vh;
margin: 0;
background-color: #f4f4f9;
color: #333;
box-sizing: border-box;
}
.main-container {
text-align: center;
padding: 2rem;
padding: 2rem 3rem;
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
width: 100%;
max-width: 600px;
margin: 2rem 1rem;
}
.social-links a {
color: #007bff;
text-decoration: none;
margin: 0 0.5rem;
}
@media (max-width: 600px) {
body {
align-items: flex-start;
}
.social-links a:hover {
text-decoration: underline;
.main-container {
padding: 1.5rem 1rem;
margin: 0;
box-shadow: none;
border-radius: 0;
min-height: 100vh;
}
h1 {
font-size: 1.8rem;
}
}

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Your Name's Personal Site</title>
<title>Jaggar</title>
<link href="/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>

1
sample.env Normal file
View File

@@ -0,0 +1 @@
export DOCKERHUB_PAT=""

View File

@@ -14,21 +14,22 @@
[:h1 "Jaggar"]
[:p "Sometimes I do stuff. Fairly often really."]
[:p
"Actively a contributor to "
"Active contributor to "
[:a {:href "https://guix.gnu.org"} "Guix"]
" -as a package maintainer- and "
[:a {:href "https://gthub.com/GigiaJ/cinny"} "Cinny (Matrix client)"]
[:a {:href "https://github.com/GigiaJ/cinny"} "Cinny (Matrix client)"]
"."]
[:p "Software engineer (and more) at Ocean Spray Cranberries. I adore farmer-owned coops. Companies shouldn't be driven to improve stock prices."]
[:p "Large proponent for free open source software, but I also think that users should not be directly bridled from choices that are unequivocally pro-sumer."]
[:p "Software engineer (and more) at Ocean Spray Cranberries. I adore farmer-owned co-ops; companies shouldn't be driven to improve stock prices."]
[:p "Large proponent for free open source software, however I believe users should not be directly bridled from choices that are unequivocally pro-sumer."]
[:br]
[:br]
[:br]
[:h2 "Some of the other stuff"]
[:p "Creator of " [:a {:href "https://github.com/OSRSB/OsrsBot"} "OSRSB"] " a botting API for Old School RuneScape."]
[:p [:a {:href "https://github.com/GigiaJ/Renny"} "Infrequent" ] " software reverse engineer for games."]
[:p [:a {:href "https://github.com/GigiaJ/Renny"} "Infrequent" ] " software reverse engineer for games. Zig soon though."]
[:p [:a {:href "https://github.com/GigiaJ/dotfiles/tree/master/guix/.config/guix"} "My Guix home configuration"] " if you want your Guix config just like mine for some reason. (It's an alright reference I guess)."]
[:p [:a {:href "https://github.com/GigiaJ/dotfiles/tree/master/iac"} "My Pulumi IaC"] " for an unmanaged K8 cluster with hcloud."]
[:p [:a {:href "https://github.com/GigiaJ/iac-cljs-configs"} "My Clojurescript Pulumi IaC configs"] " for an unmanaged K8 cluster on hcloud that defines a reproducible infrastructure in which my services are defined and can live."]
[:p [:a {:href "https://github.com/GigiaJ/pulumi-clojurescript"} "pulumi-cljs"] " a library I wrote for creating extremely dynamic IaC with Clojurescript. Goes well with my Guix configs."]
[:p [:a {:href "https://codeberg.org/Gigia/gunit"} "My Guix channel"] " where I have some packages that aren't upstreamed."]
[:br]
[:br]