Skip to content

Commit

Permalink
Name change and favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
lukedigiovanna committed Sep 14, 2024
1 parent e123f17 commit dc791ad
Show file tree
Hide file tree
Showing 17 changed files with 75 additions and 2 deletions.
Binary file added frontend/public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/android-chrome-384x384.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions frontend/public/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added frontend/public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Election Data Inspector</title>
<title>Ballot Pulse</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
Binary file added frontend/public/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions frontend/public/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions frontend/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function App() {
return (
<div className="flex flex-col items-center p-4 max-w-5xl mx-auto">
<h1 className="text-center text-5xl font-bold">
Election Data Inspector
Ballot Pulse
</h1>
<h1 className="font-bold text-xl">
“A republic, if you can keep it” <span className="text-lg italic font-normal">-Benjamin Franklin</span>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/assets/2012_education.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/src/assets/2016_education.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/src/assets/2020_education.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/src/assets/2022_education.json

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions frontend/src/constants/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import electionResults2012 from "../assets/2012_state_election_results.json";
import electionResults2016 from "../assets/2016_state_election_results.json";
import electionResults2020 from "../assets/2020_state_election_results.json";

import education2012 from "../assets/2012_education.json";
import education2016 from "../assets/2016_education.json";
import education2020 from "../assets/2020_education.json";
import education2022 from "../assets/2022_education.json";

const fpTable = {
"ALABAMA": "01",
"ALASKA": "02",
Expand Down Expand Up @@ -81,8 +86,17 @@ const electionResults = {
2020: electionResults2020,
}

const education = {
2012: education2012,
2016: education2016,
2020: education2020,
2022: education2022,
}

export { electionResults };

export { education };

export { electionResults2000, electionResults2004, electionResults2008, electionResults2012,
electionResults2016, electionResults2020
};
Expand Down

0 comments on commit dc791ad

Please sign in to comment.