Skip to content

Commit

Permalink
👌 added stripe link fixed some naming to bp
Browse files Browse the repository at this point in the history
  • Loading branch information
parchinski committed Jan 15, 2025
1 parent be5d626 commit d019f74
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions app/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ export function Footer() {
text: 'Present at a Meeting',
url: '/contact-us',
},
{
id: 'donate',
text: 'Donate',
url: 'https://donate.stripe.com/7sI7un5vkfGV9xKaEE',
},
];

return (
Expand Down
8 changes: 4 additions & 4 deletions app/routes/execs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
CardTitle,
} from '@/components/ui/card';

const executivesData = [
const EXECUTIVE_DATA = [
{
year: '2012-13',
president: 'Gaelan Adams',
Expand Down Expand Up @@ -107,7 +107,7 @@ const executivesData = [
const positions = ['president', 'vicePresident', 'treasurer', 'secretary'];

export default function Executives() {
const chartData = executivesData.map(year => ({
const chartData = EXECUTIVE_DATA.map(year => ({
name: year.year,
value: 0.5,
}));
Expand Down Expand Up @@ -151,7 +151,7 @@ export default function Executives() {
<ChartTooltip
content={({ active, payload }) => {
if (active && payload && payload.length) {
const yearData = executivesData.find(
const yearData = EXECUTIVE_DATA.find(
d => d.year === payload[0].payload.name,
);
if (yearData) {
Expand Down Expand Up @@ -220,7 +220,7 @@ export default function Executives() {
</tr>
</thead>
<tbody>
{executivesData.map((year, index) => (
{EXECUTIVE_DATA.map((year, index) => (
<tr
key={year.year}
className={`
Expand Down

0 comments on commit d019f74

Please sign in to comment.