feat: domain-based branding (humorunits.com / dickloads.com)
- src/lib/brand.ts: Brand config map, getBrand() reads hostname server-side - src/routes/+layout.server.ts: new, passes brand to layout - +layout.svelte: site name and footer driven by brand config - humorunits.com footer: 'invented conversions for ridiculous people' - dickloads.com footer: placeholder (pending Shannon's pick)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
"id": "barrel",
|
||||
"label": "Barrel",
|
||||
"labelPlural": "Barrels",
|
||||
"symbol": "dlbbl",
|
||||
"symbol": "bbl",
|
||||
"group": "dickloads",
|
||||
"toBase": 19
|
||||
},
|
||||
@@ -28,18 +28,10 @@
|
||||
"id": "hogshead",
|
||||
"label": "Hogshead",
|
||||
"labelPlural": "Hogsheads",
|
||||
"symbol": "dlhhd",
|
||||
"symbol": "hhd",
|
||||
"group": "dickloads",
|
||||
"toBase": 38
|
||||
},
|
||||
{
|
||||
"id": "assload",
|
||||
"label": "Assload",
|
||||
"labelPlural": "Assloads",
|
||||
"symbol": "assl",
|
||||
"group": "dickloads",
|
||||
"toBase": 2
|
||||
},
|
||||
{
|
||||
"id": "short-ton",
|
||||
"label": "Short ton",
|
||||
@@ -48,14 +40,6 @@
|
||||
"group": "dickloads",
|
||||
"toBase": 76
|
||||
},
|
||||
{
|
||||
"id": "long-ton",
|
||||
"label": "Long ton",
|
||||
"labelPlural": "Long tons",
|
||||
"symbol": "long tn",
|
||||
"group": "dickloads",
|
||||
"toBase": 85.1199999999
|
||||
},
|
||||
{
|
||||
"id": "fuckton",
|
||||
"label": "Fuck ton",
|
||||
@@ -64,6 +48,14 @@
|
||||
"group": "dickloads",
|
||||
"toBase": 152
|
||||
},
|
||||
{
|
||||
"id": "long-ton",
|
||||
"label": "Long ton",
|
||||
"labelPlural": "Long tons",
|
||||
"symbol": "long tn",
|
||||
"group": "dickloads",
|
||||
"toBase": 85.1199999999
|
||||
},
|
||||
{
|
||||
"id": "metric-fuckton",
|
||||
"label": "Metric fuckton",
|
||||
@@ -72,6 +64,14 @@
|
||||
"group": "dickloads",
|
||||
"toBase": 170.2399999998
|
||||
},
|
||||
{
|
||||
"id": "assload",
|
||||
"label": "Assload",
|
||||
"labelPlural": "Assloads",
|
||||
"symbol": "assl",
|
||||
"group": "dickloads",
|
||||
"toBase": 2
|
||||
},
|
||||
{
|
||||
"id": "shitload",
|
||||
"label": "Shitload",
|
||||
|
||||
Reference in New Issue
Block a user