devaanand commited on
Commit
59b268b
·
1 Parent(s): da069b3

fix(ui): show the site identity footer on the welcome view only

Browse files

The footer rendered on every view. It now renders only on the public
welcome/landing page, so the dashboard and results views are uncluttered.
Site identity for scanners already lives in the served HTML (da069b3).

backend/static/assets/{index-CcTOklY6.js → index-W6fHx_lP.js} RENAMED
The diff for this file is too large to render. See raw diff
 
backend/static/index.html CHANGED
@@ -19,7 +19,7 @@
19
  property="og:description"
20
  content="Score a text corpus against validated psychological questionnaires. Operated by the Culture and Morality Lab, University of Massachusetts Amherst."
21
  />
22
- <script type="module" crossorigin src="/assets/index-CcTOklY6.js"></script>
23
  <link rel="stylesheet" crossorigin href="/assets/index-B86LHuCf.css">
24
  </head>
25
  <body>
 
19
  property="og:description"
20
  content="Score a text corpus against validated psychological questionnaires. Operated by the Culture and Morality Lab, University of Massachusetts Amherst."
21
  />
22
+ <script type="module" crossorigin src="/assets/index-W6fHx_lP.js"></script>
23
  <link rel="stylesheet" crossorigin href="/assets/index-B86LHuCf.css">
24
  </head>
25
  <body>
frontend/src/App.jsx CHANGED
@@ -463,9 +463,12 @@ export default function App() {
463
  </div>
464
  )}
465
 
466
- {/* Every page carries the operator, affiliation, and contact. Beyond
467
- being useful, it is what identifies the site to link scanners and
468
- reviewers, who judge a domain by what it says about itself. */}
 
 
 
469
  <footer className="site-footer">
470
  <p>
471
  <strong>CCR Platform</strong> - Contextualized Construct
@@ -490,6 +493,7 @@ export default function App() {
490
  <a href="/guide">How this tool works</a>
491
  </p>
492
  </footer>
 
493
  </div>
494
  );
495
  }
 
463
  </div>
464
  )}
465
 
466
+ {/* Site identity footer, shown on the public welcome/landing view only.
467
+ Link scanners and reviewers judge the domain by its public face, and
468
+ the lab identity is also baked into the served HTML (see da069b3), so
469
+ the dashboard and results views drop it to keep the working area
470
+ uncluttered. */}
471
+ {showWelcome && (
472
  <footer className="site-footer">
473
  <p>
474
  <strong>CCR Platform</strong> - Contextualized Construct
 
493
  <a href="/guide">How this tool works</a>
494
  </p>
495
  </footer>
496
+ )}
497
  </div>
498
  );
499
  }