-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
204 lines (202 loc) · 7.04 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>john cardarelli</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css"
/>
<link rel="stylesheet" href="style.css" />
<script
src="https://unpkg.com/[email protected]"
integrity="sha384-ujb1lZYygJmzgSwoxRggbCHcjc0rB2XoQrxeTUQyRjrOnlCoYta87iKBWq3EsdM2"
crossorigin="anonymous"
></script>
<script src="index.js"></script>
<script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
</head>
<body>
<main class="container">
<header>
<nav>
<ul>
<li class="project-header">
<strong>John Cardarelli</strong>
</li>
</ul>
<ul>
<li class="current-page"><a href="#">Projects</a></li>
</ul>
</nav>
</header>
<div
class="grid"
data-masonry='{ "percentPosition": true, "itemSelector": ".grid-item", "columnWidth": ".grid-sizer" }'
>
<div class="grid-sizer"></div>
<div class="grid-item">
<a
href="https://github.com/jcardarelli/fancy-cli"
class="repo-link"
target="new"
data-tooltip="open github repo"
>
<p class="project-title">Fancy CLI</p>
</a>
<p class="project-desc">Go CLI tool for managing restaurant info</p>
<section class="terminal overflow-auto">
<span class="prompt-dir">~/c/fancy-cli</span
><span class="prompt-git">main</span
><span class="readline"
><span class="command">./fancy</span> restaurant get --all</span
>
<pre class="stdout">
___/\/\/\_________________________________________________
_/\/\______/\/\/\______/\/\/\/\______/\/\/\/\__/\/\__/\/\_
_/\/\/\________/\/\____/\/\__/\/\__/\/\________/\/\__/\/\_
_/\/\______/\/\/\/\____/\/\__/\/\__/\/\__________/\/\/\/\_
_/\/\______/\/\/\/\/\__/\/\__/\/\____/\/\/\/\________/\/\_
_______________________________________________/\/\/\/\___
# NAME ADDRESS STARS
1 The French Laundry 6640 Washington St, Yountville, CA 94599 3
2 Birdsong 1085 Mission St, San Francisco, CA 94103 2
3 Benu 22 Hawthorne St, San Francisco, CA 94105 3
</pre
>
</section>
<div id="modal-content"></div>
<section class="project-desc">
<button
class="build small-button"
hx-trigger="load"
hx-get="projects/fancy-cli/index.html"
hx-target="#modal-content"
>
build info
</button>
<p>
Manages information about fancy restaurants that is then stored in
a single sqlite database.
</p>
<p>Features:</p>
<ul>
<li>Get all restaurants</li>
<li>Create new restaurant</li>
<li>Delete restaurant</li>
</ul>
</section>
</div>
<div class="grid-item">
<a
href="https://github.com/jcardarelli/mail-in-a-box-terraform"
class="repo-link"
target="new"
>
<p class="project-title">
Terraform module to install Mail-in-a-Box on a Digital Ocean
Droplet
</p>
</a>
<section class="project-desc">
<p>
Terraform module to create a Mail-in-a-Box Droplet on Digital
Ocean with Floating IP and Spaces storage.
</p>
</section>
</div>
<div class="grid-item">
<a
href="https://github.com/jcardarelli/bumped"
class="repo-link"
target="new"
>
<p class="project-title">Bumped web service</p>
</a>
<p class="project-desc">
Go web microservice for interacting with sqlite database
</p>
<section class="terminal">
<span class="prompt-dir">~/c/bumped</span
><span class="prompt-git">main</span
><span class="readline"
><span class="command">docker-compose</span> up --build</span
>
<br />
<pre class="stdout">
<span class="stdout-blue">[+] Running 2/2</span>
<span class="stdout-green">✔</span> Container bumped-api <span class="stdout-green">Running</span>
<span class="stdout-green">✔</span> Container bumped-nginx <span class="stdout-green">Recreated</span>
Attaching to bumped-api, bumped-nginx
</pre>
</section>
<section class="project-desc">
<p>There are two microservices:</p>
<ol>
<li>Golang API with Gin framework</li>
<li>Nginx web server that hosts HTMX frontend</li>
</ol>
</section>
</div>
<div class="grid-item">
<a
href="https://github.com/jcardarelli/.dotfiles"
class="repo-link"
target="new"
>
<p class="project-title">Dotfiles</p>
</a>
<p class="project-desc">
Configuration files for command line utilities and tools.
</p>
<section class="project-desc">
<!--<div class="grid">-->
<!-- <div>-->
<!-- <img src="img/kitty.svg" class="dotfile-program" />-->
<!-- </div>-->
<!-- <div>-->
<!-- <img src="img/neovim.svg" class="dotfile-program" />-->
<!-- </div>-->
<!--</div>-->
<p>Features:</p>
<ul>
<li>Any config in this repo can be synced using GNU Stow</li>
<li>Git Delta for `git diff` highlighting</li>
<li>
Neovim configured with custom keymaps for running git commands
in toggleterm while coding
</li>
<li>Tokyonight theme for neovim, tmux, and more</li>
</ul>
</section>
</div>
</div>
</main>
<footer style="display: none">
<a href="#">About this website</a>
<div class="about">
<a
href="https://github.com/jcardarelli/jcardarelli.github.io"
class="repo-link"
target="new"
>
<p class="project-title">code for this website</p>
</a>
<section class="project-desc">
<p>Features:</p>
<ul>
<li>
Artisinal HTML, no frameworks (but I could probably use one)
</li>
<li>HTMX for interactive elements, e.g. modals</li>
<li>Pico CSS library as a base style</li>
<li>
Masonry javascript library for tiling effect on project page
</li>
</ul>
</section>
</div>
</footer>
</body>
</html>