-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into working-on-profile
- Loading branch information
Showing
11 changed files
with
98 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import Link from 'next/link'; | ||
import { BsFillArrowRightCircleFill } from 'react-icons/bs'; | ||
|
||
const Tabs = ({ contents }) => { | ||
return ( | ||
<ul className=" p-4"> | ||
{contents.map((content) => ( | ||
<li | ||
key={content.topic} | ||
className="border border-BLUE p-2 rounded mb-4 shadow-md" | ||
> | ||
<div className="flex flex-row justify-between font-bold items-center"> | ||
<div>{content.topic} </div> | ||
<Link href={content.url}> | ||
<a> | ||
<BsFillArrowRightCircleFill className="text-lg text-PURPLE" /> | ||
</a> | ||
</Link> | ||
</div> | ||
</li> | ||
))} | ||
</ul> | ||
); | ||
}; | ||
|
||
export default Tabs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
import React from 'react'; | ||
import Header from '../components/Header'; | ||
import Main from '../components/Main'; | ||
|
||
const Announcements = () => { | ||
return ( | ||
<> | ||
<Header /> | ||
<h1>Announcements 🔊</h1> | ||
<Main> | ||
<h1>Announcements 🔊</h1> | ||
</Main> | ||
</> | ||
); | ||
} | ||
}; | ||
export default Announcements; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
import React from 'react'; | ||
import Header from '../components/Header'; | ||
import Main from '../components/Main'; | ||
|
||
export default function Announcements() { | ||
return ( | ||
<> | ||
<Header /> | ||
<h1>Resources</h1> | ||
<Main> | ||
<h1>Resources</h1> | ||
</Main> | ||
</> | ||
); | ||
} |