You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/about/page.jsx
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,17 @@ AUTHOR(S): Justin Moua
4
4
=====
5
5
Notes
6
6
=====
7
-
7
+
- Placeholder Text
8
8
=========
9
9
Resources
10
10
=========
11
11
- Placeholder Text
12
12
*/
13
13
importHeaderfrom"../components/Header";// This is a custom component created located in ./components/Header.jsx. This is so we don't have to copy and paste the code for the header in every page. It is similar to creating a function that you call in your code
14
-
importFooterfrom"../components/Footer";
14
+
importFooterfrom"../components/Footer";// This is another custom component.
15
15
16
16
// This is called from page.js from src\app.
17
17
exportdefaultfunctionAbout(){
18
-
// Calendar link goes here. Otherwise, page displays a "under construction" if left empty.
Copy file name to clipboardExpand all lines: src/app/calendar/page.jsx
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,13 @@ Resources
22
22
- Placeholder Text
23
23
*/
24
24
importHeaderfrom"../components/Header";// This is a custom component created located in ./components/Header.jsx. This is so we don't have to copy and paste the code for the header in every page. It is similar to creating a function that you call in your code
importFooterfrom"../components/Footer";// This is another custom component.
26
+
importUnderConstructionfrom"../components/UnderConstruction";// This is another custom component used when a page is under construction. It is located in ./components/UnderConstruction.jsx. This is so we don't have to copy and paste the code for the under construction page in every page.
27
+
27
28
// This is called from page.js from src\app.
28
29
exportdefaultfunctionCalendar(){
29
30
// Calendar link goes here. Otherwise, page displays a "under construction" if left empty.
30
31
constcalendarSrc="";
31
-
// Empty example: const calendarSrc = "";
32
32
33
33
return(
34
34
<divclassName="flex flex-col min-h-screen">
@@ -41,10 +41,12 @@ export default function Calendar() {
41
41
{/* Use an iframe to show the shared calendar. If no link, show under construction message. */}
42
42
43
43
{/*
44
-
============
45
-
REPLACE ME!!
46
-
============
47
-
THIS CODE HAS BEEN COMMENTED OUT BECAUSE IT IS CURRENTLY LINKED TO JUSTIN'S OUTLOOK CALENDAR. - Justin Moua (7/7/2025)
44
+
==========
45
+
RIMPORTANT
46
+
==========
47
+
CODE BELOW HAS BEEN COMMENTED OUT BECAUSE IT IS CURRENTLY LINKED TO JUSTIN'S OUTLOOK CALENDAR.
48
+
PLEASE LINK IT TO THE ACM EVENTS CALENDAR. A CALENDAR MAY NEED TO BE CREATED IF IT DOES NOT EXIST YET.
49
+
FEEL FREE TO REVAMP THIS PAGE IF NEEDED. - Justin Moua (7/7/2025)
* This component takes in multiple values such as an officer's title (President, Vice President, etc.), full name, a filepath to their headshot, linked.in, email, github, and website. This is used to render officer's information in the officers page. Note that this component has been designed to handle missing parameters. For example, if an image is not passed through then a silhouette of a person is used as the officer's headshot. If the officer does not provide any social media handles, email, or website, then those hyperlinks do not appear for the officer.
19
+
* This component takes in multiple values such as an officer's title (President, Vice President, etc.), full name, a filepath to their headshot, linked.in, email, github, and website. This is used to render officer's information in the officers page. Note that this component has been designed to handle missing parameters. For example, if an image is not passed through then a silhouette of a person is used as the officer's headshot. If the officer does not provide any social media handles, email, or website, then those hyperlinks do not appear for the officer.
20
+
21
+
UnderConstruction()
22
+
* UnderConstruction({extraText})
23
+
* This component takes in one value (extraText). When using this component, it will always state "This page is under construction. Please check back later or contact [email protected]." extraText is then added to it if provided. For example, you may be working on the "About" page and want to let the users know that they can learn more about us by clicking a hyperlink that directs them to our social media accounts (such as via linktr.ee).
0 commit comments