summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Main.hs3
-rw-r--r--data/people.yaml3
-rw-r--r--flake.lock26
-rw-r--r--flake.nix35
-rw-r--r--src/Prolog.hs8
-rw-r--r--templates/default.html12
-rw-r--r--www/contact/index.html2
-rw-r--r--www/img/au_logo.pngbin0 -> 349655 bytes
-rw-r--r--www/img/chris.jpgbin0 -> 2377781 bytes
-rw-r--r--www/img/cmu_seal.pngbin0 -> 185870 bytes
-rw-r--r--www/img/isu_logo.pngbin0 -> 142673 bytes
-rw-r--r--www/img/isu_seal.pngbin0 -> 149581 bytes
-rw-r--r--www/index.html39
13 files changed, 65 insertions, 63 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 9510471..bce890b 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -49,6 +49,9 @@ main = do
-- route $ dropParentRoute 1
-- compile $ minify <<$>> getResourceLBS
+ match "www/img/**" $ do
+ route $ dropParentRoute 1
+ compile copyFileCompiler
let baseCtxt :: Context String
baseCtxt = fold $
diff --git a/data/people.yaml b/data/people.yaml
index caf26c4..4cbc90e 100644
--- a/data/people.yaml
+++ b/data/people.yaml
@@ -48,6 +48,9 @@
- name: Enrique Gomez-Leos
+- name: Emily Heath
+ webpage: "https://sites.google.com/view/emilyheath/home"
+
- name: Owen Henderschedt
webpage: "https://www.owenh-math.com/home"
diff --git a/flake.lock b/flake.lock
index bd92cc8..efbfdd1 100644
--- a/flake.lock
+++ b/flake.lock
@@ -5,11 +5,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
- "lastModified": 1765835352,
- "narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=",
+ "lastModified": 1769996383,
+ "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
"owner": "hercules-ci",
"repo": "flake-parts",
- "rev": "a34fae9c08a15ad73f295041fec82323541400a9",
+ "rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
"type": "github"
},
"original": {
@@ -50,11 +50,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1739120049,
- "narHash": "sha256-6X+c/vkU4Lxy0dvcpaLD5gGHdLWFQiHhhctNmWhEy2A=",
+ "lastModified": 1770580651,
+ "narHash": "sha256-yZ5a0phemTlDkHi9rb550ikDDzmvZM5iWj+RibRVSqg=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "8f73f996c0e3bbf3c49ab15ee52b731db5d56166",
+ "rev": "0298fc501eb1d7c33c31b5e295cd4494c58983e6",
"type": "github"
},
"original": {
@@ -65,11 +65,11 @@
},
"nixpkgs-lib": {
"locked": {
- "lastModified": 1765674936,
- "narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
+ "lastModified": 1769909678,
+ "narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
- "rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85",
+ "rev": "72716169fe93074c333e8d0173151350670b824c",
"type": "github"
},
"original": {
@@ -129,11 +129,11 @@
"systems": "systems_2"
},
"locked": {
- "lastModified": 1770388997,
- "narHash": "sha256-eh56UdQY6NlcB8uMwKaMoXdKtKwjIZYQ7z5ZYM7VDQI=",
+ "lastModified": 1770582573,
+ "narHash": "sha256-dmFQ5Wis0XZznnvARSX7kHt+GFl7X9KTWSVchQ8MK1c=",
"ref": "refs/heads/master",
- "rev": "7bd883e0316cf1a62395b65ce7f5a2bc13768acb",
- "revCount": 6,
+ "rev": "f3ab054aef8cce1fc2b56fec48a20e1764e017a1",
+ "revCount": 9,
"type": "git",
"url": "git://git.mathematicaster.org/www/assets.git"
},
diff --git a/flake.nix b/flake.nix
index 79c9327..447b8b8 100644
--- a/flake.nix
+++ b/flake.nix
@@ -105,6 +105,18 @@
${www-main-exe}/bin/www-main deploy
'';
};
+ mkassets = pkgs.writeShellApplication {
+ name = "mkassets";
+ text = ''
+ toplevel="$(git rev-parse --show-toplevel)"
+ cd "$toplevel"
+
+ dir="$toplevel/assets"
+ rm -rf "$dir"
+ cp -r "${pkgs.www-assets}" "$dir"
+ chmod -R +w "$dir"
+ '';
+ };
};
devShells.default = pkgs.haskellPackages.shellFor {
@@ -118,29 +130,6 @@
pkgs.haskell-language-server
pkgs.zlib
pkgs.icu
- (pkgs.writeShellApplication {
- name = "site-rebuild";
- text = ''
- nix run ${self}#www-main-exe -- rebuild "''${@}"
- '';
- })
- (pkgs.writeShellApplication {
- name = "site-watch";
- text = ''
- nix run ${self}#www-main-exe -- watch "''${@}"
- '';
- })
- (pkgs.writeShellApplication {
- name = "mkassets";
- text = ''
- toplevel="$(git rev-parse --show-toplevel)"
- cd "$toplevel"
-
- dir="$toplevel/assets"
- rm -rf "$dir"
- cp -r "${pkgs.www-assets}" "$dir"
- '';
- })
];
};
};
diff --git a/src/Prolog.hs b/src/Prolog.hs
index 1910a78..32f7c61 100644
--- a/src/Prolog.hs
+++ b/src/Prolog.hs
@@ -241,7 +241,7 @@ instance StringConv Html String where
strConv _ = strip . BS.renderHtml
where
strip :: String -> String
- strip =
+ strip =
let d = L.dropWhile C.isSpace
in L.reverse . d . L.reverse . d
@@ -320,8 +320,8 @@ instance MonadThrow H.Compiler where
throwM = throwError . pure . displayException
-- | Huh, I guess I need a version bump for this guy?
-instance A.FromJSON URI where
- parseJSON = A.withText "URI" $ maybe (fail "Invalid URI") pure . parseURI . toSL
+-- instance A.FromJSON URI where
+-- parseJSON = A.withText "URI" $ maybe (fail "Invalid URI") pure . parseURI . toSL
-deriving instance Generic Time.Day
+-- deriving instance Generic Time.Day
deriving newtype instance Binary Time.Day
diff --git a/templates/default.html b/templates/default.html
index 878963c..68424ff 100644
--- a/templates/default.html
+++ b/templates/default.html
@@ -7,11 +7,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1" >
<link rel="stylesheet" href="/css/main.css">
- <link rel="stylesheet" href="/fontawesome/css/fontawesome.css">
+ <link rel="stylesheet" href="/fontawesome/css/all.css">
<link rel="stylesheet" href="/katex/katex.min.css">
- <script defer type="text/javascript" src="/katex/katex.min.js"></script>
- <script defer type="text/javascript" src="/katex/contrib/autorender.min.js"></script>
- <script type="text/javascript" src="/js/katex.js"></script>
+ <script type="text/javascript" src="/katex/katex.js"></script>
+ <script type="text/javascript" src="/katex/contrib/auto-render.js"></script>
+ <!-- <script defer type="text/javascript" src="/katex/katex.min.js"></script> -->
+ <!-- <script defer type="text/javascript" src="/katex/contrib/autorender.min.js"></script> -->
+ <script type="text/javascript" src="/js/katex-opts.js"></script>
<script type="text/javascript" src="/js/colors.js"></script>
<script type="text/javascript" src="/js/toggle.js"></script>
<!-- $if(math)$ -->
@@ -41,7 +43,7 @@
<a href="/research"><i class="fa fa-book"></i> Research</a>
<a href="/teaching"><i class="fa fa-chalkboard-teacher"></i> Teaching</a>
<a href="/links"><i class="fa fa-link"></i> Links</a>
- <a href="https://git.mathematicaster.org/"><i class="fa fa-code"></i> Code</a>
+ <!-- <a href="https://git.mathematicaster.org/"><i class="fa fa-code"></i> Code</a> -->
<a href="/contact"><i class="fa fa-address-book"></i> Contact</a>
<a href="/doc/cv.pdf"><i class="fa fa-file-alt"></i> CV</a>
</span>
diff --git a/www/contact/index.html b/www/contact/index.html
index 1945684..6c5b967 100644
--- a/www/contact/index.html
+++ b/www/contact/index.html
@@ -8,7 +8,7 @@ short_title: Contact
<div class="bare">
<table>
<tr>
- <td><i class="fa fa-envelop"></i></td>
+ <td><i class="fa fa-envelope"></i></td>
<td><a href="mailto:$workEmail$">$workEmail$</a></td>
</tr>
<tr>
diff --git a/www/img/au_logo.png b/www/img/au_logo.png
new file mode 100644
index 0000000..dfadb08
--- /dev/null
+++ b/www/img/au_logo.png
Binary files differ
diff --git a/www/img/chris.jpg b/www/img/chris.jpg
new file mode 100644
index 0000000..c2188fb
--- /dev/null
+++ b/www/img/chris.jpg
Binary files differ
diff --git a/www/img/cmu_seal.png b/www/img/cmu_seal.png
new file mode 100644
index 0000000..3c3cd08
--- /dev/null
+++ b/www/img/cmu_seal.png
Binary files differ
diff --git a/www/img/isu_logo.png b/www/img/isu_logo.png
new file mode 100644
index 0000000..5ff8ca6
--- /dev/null
+++ b/www/img/isu_logo.png
Binary files differ
diff --git a/www/img/isu_seal.png b/www/img/isu_seal.png
new file mode 100644
index 0000000..f569ad6
--- /dev/null
+++ b/www/img/isu_seal.png
Binary files differ
diff --git a/www/index.html b/www/index.html
index 18b93c8..300ef63 100644
--- a/www/index.html
+++ b/www/index.html
@@ -22,52 +22,57 @@ short_title: Chris Wells
<div class="row">
<div class="column left">
<h3>Education</h3>
-
- <blockquote>
+
+ <div class="employment">
<h6><b>PhD</b> in Algorithms, Combinatorics and Optimization</h6>
+ <img src="/img/cmu_seal.png" height=70 alt="CMU">
<ul>
<li>2020</li>
<li>Carnegie Mellon University</li>
<li>Major Professor: $personA("Boris Bukh")$</li>
</ul>
- </blockquote>
+ </div>
- <blockquote>
+ <div class="employment">
<h6><b>MS</b> in Mathematics</h6>
+ <img src="/img/isu_seal.png" height=70 alt="ISU">
<ul>
<li>2015</li>
<li>Iowa State University</li>
<li>Major Professor: $personA("Derrick Stolee")$</li>
</ul>
- </blockquote>
+ </div>
- <blockquote>
+ <div class="employment">
<h6><b>BS</b> in Mathematics</h6>
- <ul>
- <li>2014</li>
- <li>Iowa State University</li>
- <li>Thesis Adviser: $personA("Steve Butler")$</li>
- </ul>
- </blockquote>
+ <img src="/img/isu_seal.png" height=70 alt="ISU">
+ <ul>
+ <li>2014</li>
+ <li>Iowa State University</li>
+ <li>Thesis Adviser: $personA("Steve Butler")$</li>
+ </ul>
+ </div>
<h3>Employment</h3>
- <blockquote>
+ <div class="employment">
<h6><b>Postdoctoral Research Associate</b></h6>
+ <img src="/img/au_logo.png" height=50 alt="AU">
<ul>
<li>2023&ndash;Present</li>
<li>Auburn University</li>
</ul>
- </blockquote>
- <blockquote>
+ </div>
+ <div class="employment">
<h6><b>RTG Postdoctoral Research Associate</b></h6>
+ <img src="/img/isu_logo.png" height=50 alt="ISU">
<ul>
<li>2020&ndash;2023</li>
<li>Iowa State University</li>
</ul>
- </blockquote>
-
+ </div>
+
</div>
<div class="column right">