diff --git a/app/layout.tsx b/app/layout.tsx index 285a1a6..eee1cf0 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,4 +1,4 @@ -import { departureMono } from "../src/fonts"; +import { alagard, departureMono, lora } from "../src/fonts"; import "./global.css"; export const metadata = { @@ -12,7 +12,10 @@ export default function RootLayout({ children: React.ReactNode; }) { return ( - + {children} ); diff --git a/docs/404.html b/docs/404.html index d8ce828..05ed879 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1 +1 @@ -404: This page could not be found.VL2 Forge

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.VL2 Forge

404

This page could not be found.

\ No newline at end of file diff --git a/docs/404/index.html b/docs/404/index.html index d8ce828..05ed879 100644 --- a/docs/404/index.html +++ b/docs/404/index.html @@ -1 +1 @@ -404: This page could not be found.VL2 Forge

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.VL2 Forge

404

This page could not be found.

\ No newline at end of file diff --git a/docs/_next/static/chunks/app/layout-0774da368882efee.js b/docs/_next/static/chunks/app/layout-0774da368882efee.js new file mode 100644 index 0000000..4f9a1e3 --- /dev/null +++ b/docs/_next/static/chunks/app/layout-0774da368882efee.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{3933:function(a,e,_){Promise.resolve().then(_.t.bind(_,2085,23)),Promise.resolve().then(_.t.bind(_,461,23)),Promise.resolve().then(_.t.bind(_,429,23)),Promise.resolve().then(_.t.bind(_,2528,23))},2528:function(){},429:function(a){a.exports={style:{fontFamily:"'__Lora_b97ccf', '__Lora_Fallback_b97ccf'"},className:"__className_b97ccf",variable:"__variable_b97ccf"}},2085:function(a){a.exports={style:{fontFamily:"'__departureMono_6dd175', '__departureMono_Fallback_6dd175'",fontWeight:400,fontStyle:"normal"},className:"__className_6dd175",variable:"__variable_6dd175"}},461:function(a){a.exports={style:{fontFamily:"'__alagard_60c549', '__alagard_Fallback_60c549'",fontWeight:400,fontStyle:"normal"},className:"__className_60c549",variable:"__variable_60c549"}}},function(a){a.O(0,[958,971,117,744],function(){return a(a.s=3933)}),_N_E=a.O()}]); \ No newline at end of file diff --git a/docs/_next/static/chunks/app/layout-3255e2bc046de7d7.js b/docs/_next/static/chunks/app/layout-3255e2bc046de7d7.js deleted file mode 100644 index dec67d2..0000000 --- a/docs/_next/static/chunks/app/layout-3255e2bc046de7d7.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{4345:function(e,n,t){Promise.resolve().then(t.t.bind(t,2085,23)),Promise.resolve().then(t.t.bind(t,2528,23))},2528:function(){},2085:function(e){e.exports={style:{fontFamily:"'__departureMono_6dd175', '__departureMono_Fallback_6dd175'",fontWeight:400,fontStyle:"normal"},className:"__className_6dd175",variable:"__variable_6dd175"}}},function(e){e.O(0,[499,971,117,744],function(){return e(e.s=4345)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/docs/_next/static/chunks/webpack-f1b6ebce872ed2e9.js b/docs/_next/static/chunks/webpack-95d08392c5372292.js similarity index 96% rename from docs/_next/static/chunks/webpack-f1b6ebce872ed2e9.js rename to docs/_next/static/chunks/webpack-95d08392c5372292.js index 0ff0a00..6c43a4a 100644 --- a/docs/_next/static/chunks/webpack-f1b6ebce872ed2e9.js +++ b/docs/_next/static/chunks/webpack-95d08392c5372292.js @@ -1 +1 @@ -!function(){"use strict";var e,t,n,r,o,u,i,c,f,a={},l={};function d(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={id:e,loaded:!1,exports:{}},r=!0;try{a[e].call(n.exports,n,n.exports,d),r=!1}finally{r&&delete l[e]}return n.loaded=!0,n.exports}d.m=a,e=[],d.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(d.O).every(function(e){return d.O[e](n[f])})?n.splice(f--,1):(c=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(d.O).every(function(e){return d.O[e](n[f])})?n.splice(f--,1):(c=!1,oVL2 Forge
\ No newline at end of file +VL2 Forge
\ No newline at end of file diff --git a/docs/index.txt b/docs/index.txt index 425e8b2..60bf47a 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -1,6 +1,6 @@ 2:I[9330,["51","static/chunks/795d4814-53044e1cf9e42373.js","212","static/chunks/59650de3-d12eb82ab0e85613.js","516","static/chunks/f7333993-8f32bf8e5c1e3f32.js","240","static/chunks/53c13509-17317f399c482fd7.js","699","static/chunks/8e1d74a4-8e519121d6db0557.js","634","static/chunks/634-d90cc75f8d4e4c06.js","931","static/chunks/app/page-8de0c0ea0a779b3f.js"],"Forge"] 3:I[4707,[],""] 4:I[6423,[],""] -0:["UAGDurzq1nt_r79Gjz0gN",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{}],[["$","link","0",{"rel":"stylesheet","href":"/vl2-forge/_next/static/css/73ad5c2b1e2895f0.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/vl2-forge/_next/static/css/c50e9c221475fcb7.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_6dd175","children":["$","body",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]],null],null],["$L5",null]]]] +0:["omMvh_CTP09DflvW2eGy4",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{}],[["$","link","0",{"rel":"stylesheet","href":"/vl2-forge/_next/static/css/09f007ce01a6ad93.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/vl2-forge/_next/static/css/9805353de4b13899.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_6dd175 __variable_60c549 __variable_b97ccf","children":["$","body",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]],null],null],["$L5",null]]]] 5:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"VL2 Forge"}],["$","meta","3",{"name":"description","content":"Create .vl2 files for Tribes 2"}],["$","meta","4",{"name":"next-size-adjust"}]] 1:null diff --git a/public/alagard.ttf b/public/alagard.ttf new file mode 100644 index 0000000..c7ed1d9 Binary files /dev/null and b/public/alagard.ttf differ diff --git a/src/Forge.module.css b/src/Forge.module.css index 4c07aaa..21da560 100644 --- a/src/Forge.module.css +++ b/src/Forge.module.css @@ -70,10 +70,10 @@ .NameInput { position: relative; font-size: 18px; - font-family: var(--system-ui); - font-weight: normal; + font-family: var(--font-lora); + font-weight: 500; font-style: italic; - line-height: 1.5; + line-height: 1.25; } .NameInput input { @@ -107,13 +107,13 @@ .DownloadButton { border: 0; margin: 0; - padding: 0 0 1px 0; + padding: 0 12px 1px 12px; min-width: 128px; min-height: 46px; - font-family: var(--font-departure), monospace; - font-size: 18px; - font-style: inherit; - font-weight: inherit; + font-family: var(--font-alagard), monospace; + font-size: 24px; + font-style: normal; + font-weight: normal; line-height: 1; border-radius: 2px; background: url("../public/button.png") transparent; diff --git a/src/fonts.ts b/src/fonts.ts index d14e4a8..4c1ba2c 100644 --- a/src/fonts.ts +++ b/src/fonts.ts @@ -1,3 +1,4 @@ +import { Lora } from "next/font/google"; import localFont from "next/font/local"; export const departureMono = localFont({ @@ -7,3 +8,19 @@ export const departureMono = localFont({ display: "swap", variable: "--font-departure", }); + +export const alagard = localFont({ + src: "../public/alagard.ttf", + weight: "400", + style: "normal", + display: "swap", + variable: "--font-alagard", +}); + +export const lora = Lora({ + subsets: ["latin"], + weight: "variable", + style: ["normal", "italic"], + display: "swap", + variable: "--font-lora", +});