Minor update

- Removed `flake-utils` dependency
- Small wording change
This commit is contained in:
Daniel Winkler 2025-09-05 15:20:46 +10:00
commit 83b456d3ba
5 changed files with 48 additions and 69 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/.quarto/
result
.DS_Store

42
flake.lock generated
View file

@ -1,59 +1,25 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1737672001,
"narHash": "sha256-YnHJJ19wqmibLQdUeq9xzE6CjrMA568KN/lFPuSVs4I=",
"lastModified": 1756886854,
"narHash": "sha256-6tooT142NLcFjt24Gi4B0G1pgWLvfw7y93sYEfSHlLI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "035f8c0853c2977b24ffc4d0a42c74f00b182cd8",
"rev": "0e6684e6c5755325f801bda1751a8a4038145d7d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",

View file

@ -1,25 +1,26 @@
# filepath: flake.nix
{
description = "Quarto website build";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
outputs = {
self,
nixpkgs,
}: let
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin"];
forAllSystems = nixpkgs.lib.genAttrs systems;
reqPkgs = pkgs: with pkgs; [quarto];
in {
packages = forAllSystems (
system: let
pkgs = nixpkgs.legacyPackages.${system};
reqs = with pkgs; [
quarto
];
in
{
packages.default = pkgs.stdenv.mkDerivation {
name = "personal website";
website = pkgs.stdenv.mkDerivation {
name = "personal-website";
src = ./.;
buildInputs = reqs;
buildInputs = reqPkgs pkgs;
buildPhase = ''
mkdir home
@ -32,9 +33,19 @@
cp -r build/* $out/
'';
};
in {
default = website;
}
);
devShells.default = pkgs.mkShell {
buildInputs = reqs;
devShells = forAllSystems (
system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
default = pkgs.mkShell {
buildInputs = reqPkgs pkgs;
};
});
}
}
);
};
}

View file

@ -22,7 +22,7 @@ NSW, 2033
::: {.flex-item}
I am a Postdoctoral fellow at the University of New South Wales School of Marketing. I got my PhD in Economics at the Vienna University of Economics and Business where I worked at the Institute for Retailing & Data Science.
I am a Postdoctoral fellow at the University of New South Wales School of Marketing. Previously, I got my PhD in Economics at the Vienna University of Economics and Business where I worked at the Institute for Retailing & Data Science.
<br>
My research focuses on Quantitative Marketing, Platform and Social Media Analytics, and the Economics of the Music Industry. I explore how key stakeholders—such as streaming platforms, social media, activist groups, and technological innovations in content delivery and promotion—affect the dynamics of the music industry.

View file

@ -1,41 +1,42 @@
/* css styles */
.navbar-logo {
max-height: 20px; /* Adjust the height as needed */
max-height: 20px;
}
.flex-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between; /* Add space between columns */
margin: -10px; /* Adjust for padding */
justify-content: space-between;
margin: -10px;
}
.flex-item {
flex: 1 1 30%; /* Grow, shrink, and set a base width of 45% */
padding: 10px; /* Padding around items */
box-sizing: border-box; /* Include padding in width calculations */
flex: 1 1 30%;
padding: 10px;
box-sizing: border-box;
}
.flex-item:last-child {
flex: 1 1 60%; /* Right column: larger, 60% width */
flex: 1 1 60%;
}
@media (max-width: 768px) {
.flex-container {
flex-direction: column; /* Stack items vertically */
flex-direction: column;
}
.flex-item:first-child {
order: 1; /* Move the first column below the second */
order: 1;
}
.flex-item:last-child {
order: 2; /* Keep the second column on top */
order: 2;
}
}
@media (max-width: 600px) {
.flex-item {
flex: 1 1 100%; /* Full width on very small screens */
flex: 1 1 100%;
}
}
}