Init commit
This commit is contained in:
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/node_modules/
|
||||
/.shadow-cljs/
|
||||
/.lsp/
|
||||
/.clj-kondo/
|
||||
/public/js/
|
||||
1636
package-lock.json
generated
Normal file
1636
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
9
package.json
Normal file
9
package.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"shadow-cljs": "^2.26.2"
|
||||
}
|
||||
}
|
||||
28
public/css/style.css
Normal file
28
public/css/style.css
Normal file
@@ -0,0 +1,28 @@
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
background-color: #f4f4f9;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.main-container {
|
||||
text-align: center;
|
||||
padding: 2rem;
|
||||
background-color: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.social-links a {
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
margin: 0 0.5rem;
|
||||
}
|
||||
|
||||
.social-links a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
16
public/index.html
Normal file
16
public/index.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Your Name's Personal Site</title>
|
||||
<link href="/css/style.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<p>Loading ClojureScript...</p>
|
||||
</div>
|
||||
|
||||
<script src="/js/main.js" type="text/javascript"></script>
|
||||
</body>
|
||||
</html>
|
||||
20
shadow-cljs.edn
Normal file
20
shadow-cljs.edn
Normal file
@@ -0,0 +1,20 @@
|
||||
;; shadow-cljs configuration
|
||||
{:source-paths
|
||||
["src/dev"
|
||||
"src/main/frontend"
|
||||
"src/test"]
|
||||
|
||||
:dependencies
|
||||
[[reagent "1.1.1"] [re-frame "1.4.3"] [cljs-ajax "0.8.1"]]
|
||||
:build-hooks [(shadow-env.core/hook)]
|
||||
:dev-http
|
||||
{8020 "public"}
|
||||
|
||||
:builds
|
||||
{:app
|
||||
{:target :browser
|
||||
:output-dir "public/js"
|
||||
:asset-path "assets"
|
||||
:modules
|
||||
{:main
|
||||
{:init-fn landing/init}}}}}
|
||||
45
src/main/frontend/landing.cljs
Normal file
45
src/main/frontend/landing.cljs
Normal file
@@ -0,0 +1,45 @@
|
||||
(ns landing
|
||||
(:require [reagent.dom :as rdom]))
|
||||
|
||||
(defn social-links []
|
||||
[:div {:class "social-links"}
|
||||
[:a {:href "https://codeberg.org/Gigia"} "Codeberg"] " | "
|
||||
[:a {:href "https://matrix.to/#/@GigiaJ:matrix.org"} "Matrix"] " | "
|
||||
[:a {:href "https://github.com/GigiaJ"} "GitHub"] " | "
|
||||
[:a {:href "https://discord.gg/tsZnXfzMYG"} "Discord"] " | "
|
||||
[:a {:href "https://linkedin.com/in/jaggar-boone-74017219b"} "LinkedIn"]])
|
||||
|
||||
(defn personal-site []
|
||||
[:div {:class "main-container"}
|
||||
[:h1 "Jaggar"]
|
||||
[:p "Sometimes I do stuff. Fairly often really."]
|
||||
[:p
|
||||
"Actively a contributor to "
|
||||
[:a {:href "https://guix.gnu.org"} "Guix"]
|
||||
" -as a package maintainer- and "
|
||||
[:a {:href "https://gthub.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."]
|
||||
[: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/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://codeberg.org/Gigia/gunit"} "My Guix channel"] " where I have some packages that aren't upstreamed."]
|
||||
[:br]
|
||||
[:br]
|
||||
[:br]
|
||||
[:p "This is created with love in Clojurescript. Multe da amo."]
|
||||
[:a {:href "https://codeberg.org/Gigia/mesite"} "The code for which is here. (It is very succinct)."]
|
||||
[:br]
|
||||
[:br]
|
||||
[:p "You can check out my work or reach me at one of the following:"]
|
||||
[social-links]])
|
||||
|
||||
(defn ^:export init []
|
||||
(rdom/render [personal-site]
|
||||
(.getElementById js/document "app")))
|
||||
Reference in New Issue
Block a user