Skip to content

Commit

Permalink
Merge pull request #71 from CodeWithAloha/avenmia/UpdateSpellingAndAd…
Browse files Browse the repository at this point in the history
…dLinks

Fixing spelling and adding historical links
  • Loading branch information
tyliec committed Mar 14, 2024
2 parents 24f5e5d + 6949119 commit e84daf7
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
28 changes: 28 additions & 0 deletions src/components/HistoricalLinks.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import React from "react";

export const HistoricalLinks = () => {
return (
<div className="flex flex-col items-start w-full relative mx-auto p-5">
<h2 className="text-2xl font-bold mb-4">Historical Sites</h2>

<a
className="text-blue-500 hover:underline mb-2"
href="https://www.facebook.com/CityCampHNL/"
>
CityCamp Honolulu Facebook Page
</a>
<a
className="text-blue-500 hover:underline mb-2"
href="https://web.archive.org/web/20210510151613/https://www.codeforamerica.org/blog/2012/08/23/introducing-the-brigade-captains-program/"
>
2012 Brigade Captains are Announced
</a>
<a
className="text-blue-500 hover:underline mb-2"
href="https://web.archive.org/web/20220915101458/https://www.codeforhawaii.org/"
>
Older Code For Hawaii Website
</a>
</div>
);
};
2 changes: 2 additions & 0 deletions src/components/Timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { useRef, useEffect, useState } from "react";
import { motion, useScroll, useSpring } from "framer-motion";
import TimelineIcon from "./TimelineIcon";
import { getTimeline } from "@/data/webData";
import { HistoricalLinks } from "./HistoricalLinks";
// import timeline1Img from "../images/timeline-1.jpg";
// import timeline2Img from "../images/timeline-2.jpg";
// import timeline3Img from "../images/timeline-3.jpg";
Expand Down Expand Up @@ -79,6 +80,7 @@ const Timeline = () => {
/>
))}
</ul>
<HistoricalLinks />
</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion src/data/webData.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const data = {
src: timeline2Img,
date: "2011",
title: "First Civic App Released",
text: "We made it offical and released our first app aimed to help and improve our community.",
text: "Code for Hawaii became official and released its first app aimed to help and improve the community.",
},

{
Expand Down

0 comments on commit e84daf7

Please sign in to comment.