Skip to content

Commit e84daf7

Browse files
authored
Merge pull request #71 from CodeWithAloha/avenmia/UpdateSpellingAndAddLinks
Fixing spelling and adding historical links
2 parents 24f5e5d + 6949119 commit e84daf7

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

src/components/HistoricalLinks.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import React from "react";
2+
3+
export const HistoricalLinks = () => {
4+
return (
5+
<div className="flex flex-col items-start w-full relative mx-auto p-5">
6+
<h2 className="text-2xl font-bold mb-4">Historical Sites</h2>
7+
8+
<a
9+
className="text-blue-500 hover:underline mb-2"
10+
href="https://www.facebook.com/CityCampHNL/"
11+
>
12+
CityCamp Honolulu Facebook Page
13+
</a>
14+
<a
15+
className="text-blue-500 hover:underline mb-2"
16+
href="https://web.archive.org/web/20210510151613/https://www.codeforamerica.org/blog/2012/08/23/introducing-the-brigade-captains-program/"
17+
>
18+
2012 Brigade Captains are Announced
19+
</a>
20+
<a
21+
className="text-blue-500 hover:underline mb-2"
22+
href="https://web.archive.org/web/20220915101458/https://www.codeforhawaii.org/"
23+
>
24+
Older Code For Hawaii Website
25+
</a>
26+
</div>
27+
);
28+
};

src/components/Timeline.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React, { useRef, useEffect, useState } from "react";
22
import { motion, useScroll, useSpring } from "framer-motion";
33
import TimelineIcon from "./TimelineIcon";
44
import { getTimeline } from "@/data/webData";
5+
import { HistoricalLinks } from "./HistoricalLinks";
56
// import timeline1Img from "../images/timeline-1.jpg";
67
// import timeline2Img from "../images/timeline-2.jpg";
78
// import timeline3Img from "../images/timeline-3.jpg";
@@ -79,6 +80,7 @@ const Timeline = () => {
7980
/>
8081
))}
8182
</ul>
83+
<HistoricalLinks />
8284
</div>
8385
</div>
8486
</section>

src/data/webData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const data = {
9898
src: timeline2Img,
9999
date: "2011",
100100
title: "First Civic App Released",
101-
text: "We made it offical and released our first app aimed to help and improve our community.",
101+
text: "Code for Hawaii became official and released its first app aimed to help and improve the community.",
102102
},
103103

104104
{

0 commit comments

Comments
 (0)