Spaces:
Sleeping
Sleeping
logic saying placeholder
Browse files- src/App.js +111 -1
src/App.js
CHANGED
|
@@ -31,6 +31,109 @@ import "katex/dist/katex.min.css";
|
|
| 31 |
|
| 32 |
import remarkGfm from "remark-gfm";
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
function normalizeLatex(text) {
|
| 35 |
if (!text) return "";
|
| 36 |
|
|
@@ -43,6 +146,13 @@ function normalizeLatex(text) {
|
|
| 43 |
}
|
| 44 |
|
| 45 |
function App() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
// ---------------------------
|
| 47 |
// Authentication State
|
| 48 |
// ---------------------------
|
|
@@ -744,7 +854,7 @@ function App() {
|
|
| 744 |
{error && <div className="error">{error}</div>}
|
| 745 |
<form className="input-row" onSubmit={handleSend}>
|
| 746 |
<textarea
|
| 747 |
-
placeholder=
|
| 748 |
value={input}
|
| 749 |
onChange={(e) => setInput(e.target.value)}
|
| 750 |
onKeyDown={(e) => {
|
|
|
|
| 31 |
|
| 32 |
import remarkGfm from "remark-gfm";
|
| 33 |
|
| 34 |
+
const LOGIC_SAYINGS = [
|
| 35 |
+
"Logic is the compass; reason is the journey.",
|
| 36 |
+
"Logic doesn't tell you where to go—only how not to get lost.",
|
| 37 |
+
"Emotion starts the fire; logic builds the fireplace.",
|
| 38 |
+
"Logic is truth with the noise removed.",
|
| 39 |
+
"Where logic ends, belief begins.",
|
| 40 |
+
"Logic is the discipline of refusing to lie to yourself.",
|
| 41 |
+
"A logical mind fears no question.",
|
| 42 |
+
"Logic is patience armed with structure.",
|
| 43 |
+
"Without logic, intelligence is just decoration.",
|
| 44 |
+
"Logic turns confusion into coordinates.",
|
| 45 |
+
"Logic is thinking that survives inspection.",
|
| 46 |
+
"Feelings persuade; logic convinces.",
|
| 47 |
+
"Logic is the skeleton beneath every solid idea.",
|
| 48 |
+
"Logic doesn't shout—it explains.",
|
| 49 |
+
"Logic is humility formalized.",
|
| 50 |
+
"Logic is the courage to follow conclusions you don't like.",
|
| 51 |
+
"Logic is what remains when excuses are removed.",
|
| 52 |
+
"Logic sharpens truth; rhetoric polishes it.",
|
| 53 |
+
"Logic is slow thinking that wins.",
|
| 54 |
+
"Logic is the art of necessary consequences.",
|
| 55 |
+
"Logic is not cold—it's honest.",
|
| 56 |
+
"Logic is curiosity wearing rules.",
|
| 57 |
+
"Logic asks 'must it be so?'",
|
| 58 |
+
"Logic is the bridge between assumptions and reality.",
|
| 59 |
+
"Logic is doubt with a method.",
|
| 60 |
+
"Logic is reason refusing shortcuts.",
|
| 61 |
+
"Logic is the map; wisdom chooses the destination.",
|
| 62 |
+
"Logic doesn't prevent mistakes—it exposes them early.",
|
| 63 |
+
"Logic is clarity earned, not assumed.",
|
| 64 |
+
"Logic is discipline against wishful thinking.",
|
| 65 |
+
"Logic is what makes disagreement productive.",
|
| 66 |
+
"Logic is thinking that scales beyond yourself.",
|
| 67 |
+
"Logic is the grammar of truth.",
|
| 68 |
+
"Logic is consistency under pressure.",
|
| 69 |
+
"Logic is the enemy of convenient nonsense.",
|
| 70 |
+
"Logic doesn't care who you are—only what follows.",
|
| 71 |
+
"Logic is freedom from contradiction.",
|
| 72 |
+
"Logic is order negotiated with reality.",
|
| 73 |
+
"Logic is the courage to say 'I was wrong.'",
|
| 74 |
+
"Logic is thinking that respects consequences.",
|
| 75 |
+
"Logic is precision applied to belief.",
|
| 76 |
+
"Logic is restraint in an impatient world.",
|
| 77 |
+
"Logic is the difference between opinion and argument.",
|
| 78 |
+
"Logic is clarity without charisma.",
|
| 79 |
+
"Logic is trust in structure over impulse.",
|
| 80 |
+
"Logic is reasoning with receipts.",
|
| 81 |
+
"Logic is thought that can be audited.",
|
| 82 |
+
"Logic is the firewall against self-deception.",
|
| 83 |
+
"Logic is patience encoded.",
|
| 84 |
+
"Logic is a promise to be consistent tomorrow.",
|
| 85 |
+
"Logic is the refusal to confuse desire with evidence.",
|
| 86 |
+
"Logic is the backbone of fairness.",
|
| 87 |
+
"Logic is what makes intelligence reliable.",
|
| 88 |
+
"Logic is the art of not contradicting yourself later.",
|
| 89 |
+
"Logic is explanation that survives time.",
|
| 90 |
+
"Logic is truth, step by step.",
|
| 91 |
+
"Logic is the science of 'therefore.'",
|
| 92 |
+
"Logic is clarity that doesn't depend on mood.",
|
| 93 |
+
"Logic is thinking that welcomes scrutiny.",
|
| 94 |
+
"Logic is humility with equations.",
|
| 95 |
+
"Logic is the difference between sounding right and being right.",
|
| 96 |
+
"Logic is reason trained to behave.",
|
| 97 |
+
"Logic is structure applied to curiosity.",
|
| 98 |
+
"Logic is belief with a warranty.",
|
| 99 |
+
"Logic is the discipline of necessary steps.",
|
| 100 |
+
"Logic is calm thinking in loud situations.",
|
| 101 |
+
"Logic is the art of implication.",
|
| 102 |
+
"Logic is skepticism with standards.",
|
| 103 |
+
"Logic is thinking that keeps promises.",
|
| 104 |
+
"Logic is the architecture of understanding.",
|
| 105 |
+
"Logic is what lets truth travel intact.",
|
| 106 |
+
"Logic is order discovered, not imposed.",
|
| 107 |
+
"Logic is reasoning that scales beyond intuition.",
|
| 108 |
+
"Logic is the slow weapon against fast lies.",
|
| 109 |
+
"Logic is consistency made explicit.",
|
| 110 |
+
"Logic is thinking that earns trust.",
|
| 111 |
+
"Logic is precision without arrogance.",
|
| 112 |
+
"Logic is explanation that doesn't flinch.",
|
| 113 |
+
"Logic is thought that survives opposition.",
|
| 114 |
+
"Logic is truth under constraints.",
|
| 115 |
+
"Logic is discipline for the curious.",
|
| 116 |
+
"Logic is evidence wearing syntax.",
|
| 117 |
+
"Logic is the guardrail of intelligence.",
|
| 118 |
+
"Logic is belief forced to grow up.",
|
| 119 |
+
"Logic is the art of unavoidable conclusions.",
|
| 120 |
+
"Logic is patience that pays interest.",
|
| 121 |
+
"Logic is reasoning that respects reality.",
|
| 122 |
+
"Logic is clarity that doesn't need applause.",
|
| 123 |
+
"Logic is the structure beneath insight.",
|
| 124 |
+
"Logic is the courage to follow 'if–then.'",
|
| 125 |
+
"Logic is thinking that refuses special treatment.",
|
| 126 |
+
"Logic is what makes truth transferable.",
|
| 127 |
+
"Logic is the economy of thought.",
|
| 128 |
+
"Logic is understanding without shortcuts.",
|
| 129 |
+
"Logic is precision in motion.",
|
| 130 |
+
"Logic is thought with integrity.",
|
| 131 |
+
"Logic is explanation that doesn't leak.",
|
| 132 |
+
"Logic is the science of consistency.",
|
| 133 |
+
"Logic is freedom from internal contradiction.",
|
| 134 |
+
"Logic is respect—for truth, for thought, and for consequence.",
|
| 135 |
+
];
|
| 136 |
+
|
| 137 |
function normalizeLatex(text) {
|
| 138 |
if (!text) return "";
|
| 139 |
|
|
|
|
| 146 |
}
|
| 147 |
|
| 148 |
function App() {
|
| 149 |
+
// ---------------------------
|
| 150 |
+
// Random Logic Saying
|
| 151 |
+
// ---------------------------
|
| 152 |
+
const randomSaying = useMemo(() => {
|
| 153 |
+
return LOGIC_SAYINGS[Math.floor(Math.random() * LOGIC_SAYINGS.length)];
|
| 154 |
+
}, []);
|
| 155 |
+
|
| 156 |
// ---------------------------
|
| 157 |
// Authentication State
|
| 158 |
// ---------------------------
|
|
|
|
| 854 |
{error && <div className="error">{error}</div>}
|
| 855 |
<form className="input-row" onSubmit={handleSend}>
|
| 856 |
<textarea
|
| 857 |
+
placeholder={randomSaying}
|
| 858 |
value={input}
|
| 859 |
onChange={(e) => setInput(e.target.value)}
|
| 860 |
onKeyDown={(e) => {
|