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/ /.quarto/
result result
.DS_Store

42
flake.lock generated
View file

@ -1,59 +1,25 @@
{ {
"nodes": { "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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1737672001, "lastModified": 1756886854,
"narHash": "sha256-YnHJJ19wqmibLQdUeq9xzE6CjrMA568KN/lFPuSVs4I=", "narHash": "sha256-6tooT142NLcFjt24Gi4B0G1pgWLvfw7y93sYEfSHlLI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "035f8c0853c2977b24ffc4d0a42c74f00b182cd8", "rev": "0e6684e6c5755325f801bda1751a8a4038145d7d",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-24.11", "ref": "nixos-25.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs" "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", "root": "root",

View file

@ -1,25 +1,26 @@
# filepath: flake.nix
{ {
description = "Quarto website build"; description = "Quarto website build";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
flake-utils.url = "github:numtide/flake-utils";
}; };
outputs = { self, nixpkgs, flake-utils }: outputs = {
flake-utils.lib.eachDefaultSystem (system: self,
let 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}; pkgs = nixpkgs.legacyPackages.${system};
reqs = with pkgs; [ website = pkgs.stdenv.mkDerivation {
quarto name = "personal-website";
];
in
{
packages.default = pkgs.stdenv.mkDerivation {
name = "personal website";
src = ./.; src = ./.;
buildInputs = reqs; buildInputs = reqPkgs pkgs;
buildPhase = '' buildPhase = ''
mkdir home mkdir home
@ -32,9 +33,19 @@
cp -r build/* $out/ cp -r build/* $out/
''; '';
}; };
in {
devShells.default = pkgs.mkShell { default = website;
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} ::: {.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> <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. 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 */ /* css styles */
.navbar-logo { .navbar-logo {
max-height: 20px; /* Adjust the height as needed */ max-height: 20px;
} }
.flex-container { .flex-container {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; /* Add space between columns */ justify-content: space-between;
margin: -10px; /* Adjust for padding */ margin: -10px;
} }
.flex-item { .flex-item {
flex: 1 1 30%; /* Grow, shrink, and set a base width of 45% */ flex: 1 1 30%;
padding: 10px; /* Padding around items */ padding: 10px;
box-sizing: border-box; /* Include padding in width calculations */ box-sizing: border-box;
} }
.flex-item:last-child { .flex-item:last-child {
flex: 1 1 60%; /* Right column: larger, 60% width */ flex: 1 1 60%;
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.flex-container { .flex-container {
flex-direction: column; /* Stack items vertically */ flex-direction: column;
} }
.flex-item:first-child { .flex-item:first-child {
order: 1; /* Move the first column below the second */ order: 1;
} }
.flex-item:last-child { .flex-item:last-child {
order: 2; /* Keep the second column on top */ order: 2;
} }
} }
@media (max-width: 600px) { @media (max-width: 600px) {
.flex-item { .flex-item {
flex: 1 1 100%; /* Full width on very small screens */ flex: 1 1 100%;
} }
} }