File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export function VersionButton(): JSXElement {
1212 const [ indicatorVisible , setIndicatorVisible ] = createSignal ( true ) ;
1313 const getVersionText = ( ) : string => {
1414 if ( isDevEnvironment ( ) ) {
15- return "localhost " ;
15+ return "martinnn.com " ;
1616 }
1717 return getVersion ( ) . text ;
1818 } ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export function Logo(): JSXElement {
5151 ) }
5252 data-ui-element = "logoSubtext"
5353 >
54- { isDevEnvironment ( ) ? "localhost " : "monkey see" }
54+ { isDevEnvironment ( ) ? "martinnn.com " : "monkey see" }
5555 </ div >
5656 < h1
5757 class = { cn ( "-mt-[0.11em] text-text transition-colors duration-250" , {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const obj: Config = {
2929 time : 30 ,
3030 mode : "time" ,
3131 quoteLength : [ 1 ] ,
32- language : "english " ,
32+ language : "bemba " ,
3333 fontSize : 2 ,
3434 freedomMode : false ,
3535 difficulty : "normal" ,
@@ -39,7 +39,7 @@ const obj: Config = {
3939 paceCaretStyle : "default" ,
4040 flipTestColors : false ,
4141 layout : "default" ,
42- funbox : [ ] ,
42+ funbox : [ "bigram_crunch" ] ,
4343 confidenceMode : "off" ,
4444 indicateTypos : "off" ,
4545 compositionDisplay : "replace" ,
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import {
2323 getAdditionalUserInfo ,
2424} from "firebase/auth" ;
2525import { promiseWithResolvers } from "./utils/misc" ;
26- import { isDevEnvironment } from "./utils/env" ;
2726import { createErrorMessage } from "./utils/error" ;
2827
2928import {
@@ -32,7 +31,6 @@ import {
3231} from "firebase/analytics" ;
3332import { tryCatch } from "@monkeytype/util/trycatch" ;
3433import { googleSignUpEvent } from "./events/google-sign-up" ;
35- import { addBanner } from "./states/banners" ;
3634import { setUserId } from "./states/core" ;
3735
3836let app : FirebaseApp | undefined ;
@@ -79,13 +77,7 @@ export async function init(callback: ReadyCallback): Promise<void> {
7977 console . error ( "Firebase failed to initialize" , e ) ;
8078 await callback ( false , null ) ;
8179 setUserId ( null ) ;
82- if ( isDevEnvironment ( ) ) {
83- addBanner ( {
84- level : "notice" ,
85- text : "Dev Info: Firebase failed to initialize" ,
86- icon : "fas fa-exclamation-triangle" ,
87- } ) ;
88- }
80+ // Firebase is intentionally unavailable on the custom public fork.
8981 } finally {
9082 resolveAuthPromise ( ) ;
9183 }
Original file line number Diff line number Diff line change 11import * as Misc from "./utils/misc" ;
22import * as MonkeyPower from "./elements/monkey-power" ;
3- import * as MerchBanner from "./elements/merch-banner" ;
43import * as ServerConfiguration from "./ape/server-configuration" ;
54import { configLoadPromise } from "./config/lifecycle" ;
65import { authPromise } from "./firebase" ;
@@ -17,7 +16,6 @@ onDOMReady(async () => {
1716 qs ( "body" ) ?. setStyle ( {
1817 transition : "background .25s, transform .05s" ,
1918 } ) ;
20- MerchBanner . showIfNotClosedBefore ( ) ;
2119
2220 const app = document . querySelector ( "#app" ) as HTMLElement ;
2321 app ?. classList . remove ( "hidden" ) ;
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export function setMediaQueryDebugLevel(level: number): void {
7373
7474if ( isDevEnvironment ( ) ) {
7575 qs ( "head title" ) ?. setText (
76- ( qs ( "head title" ) ?. native . textContent ?? "" ) + " (localhost )" ,
76+ ( qs ( "head title" ) ?. native . textContent ?? "" ) + " (martinnn.com )" ,
7777 ) ;
7878 qs ( "body" ) ?. appendHtml (
7979 `<div class="devIndicator tl">local</div><div class="devIndicator br">local</div>` ,
Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ export function reloadAfter(seconds: number): void {
487487}
488488
489489export function updateTitle ( title ?: string ) : void {
490- const local = isDevEnvironment ( ) ? "localhost - " : "" ;
490+ const local = isDevEnvironment ( ) ? "martinnn.com - " : "" ;
491491
492492 if ( title === undefined || title === "" ) {
493493 document . title =
You can’t perform that action at this time.
0 commit comments