@empoweredvote/ev-ui 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1305,7 +1305,6 @@ function Header({
1305
1305
  // src/SiteHeader.jsx
1306
1306
  var import_react5 = __toESM(require("react"));
1307
1307
  var defaultNavItems = [
1308
- { label: "About Us", href: "https://empowered.vote/about" },
1309
1308
  {
1310
1309
  label: "Features",
1311
1310
  href: "#",
@@ -1313,12 +1312,10 @@ var defaultNavItems = [
1313
1312
  { label: "Political Compass", href: "https://compass.empowered.vote" },
1314
1313
  { label: "Find Representatives", href: "https://essentials.empowered.vote" },
1315
1314
  { label: "Read & Rank", href: "https://readrank.empowered.vote" },
1316
- { label: "Treasury Tracker", href: "https://ev-prototypes.netlify.app/treasury-tracker/dist" },
1317
- { label: "Empowered Badges", href: "https://ev-prototypes.netlify.app/empowered-badges/dist" }
1315
+ { label: "Treasury Tracker", href: "https://treasurytracker.empowered.vote" },
1316
+ { label: "Empowered Badges", href: "https://badges.empowered.vote" }
1318
1317
  ]
1319
- },
1320
- { label: "Volunteer", href: "https://empowered.vote/volunteer" },
1321
- { label: "FAQ", href: "https://empowered.vote/faq" }
1318
+ }
1322
1319
  ];
1323
1320
  var defaultCtaButton = {
1324
1321
  label: "Donate",
@@ -4499,7 +4496,7 @@ function StanceAccordion({
4499
4496
  if (contextCache.current.has(topicId)) return;
4500
4497
  try {
4501
4498
  const res = await fetch(
4502
- `${apiUrl}/compass/politicians/${politicianId}/${topicId}/context`,
4499
+ `${apiUrl}/api/compass/politicians/${politicianId}/${topicId}/context`,
4503
4500
  { credentials: "include" }
4504
4501
  );
4505
4502
  if (res.status === 404) {
@@ -4521,7 +4518,7 @@ function StanceAccordion({
4521
4518
  if (quotesCache.current !== null) return;
4522
4519
  try {
4523
4520
  const res = await fetch(
4524
- `${apiUrl}/essentials/quotes?politician_id=${politicianId}`,
4521
+ `${apiUrl}/api/essentials/quotes?politician_id=${politicianId}`,
4525
4522
  { credentials: "include" }
4526
4523
  );
4527
4524
  if (res.ok) {