-
Subscriptions
- {Array.from(classes)
- .sort((a, b) => (a > b ? 1 : -1)) // Sort to ensure the sub order doesn't change
- .map(([courseCode, course]) => {
- return (
-
- );
- })}
+
+
+
+
+
+ {termName} Notifications
+
+
+ {Array.from(classes)
+ .sort((a, b) => (a > b ? 1 : -1))
+ .map(([courseCode, course]) => (
+
+ ))}
- >
+
) : (
)}
diff --git a/public/unsubscribe.svg b/public/unsubscribe.svg
new file mode 100644
index 00000000..e814122b
--- /dev/null
+++ b/public/unsubscribe.svg
@@ -0,0 +1,7 @@
+
diff --git a/styles/pages/_Results.scss b/styles/pages/_Results.scss
index 15c67690..aac5b4f6 100644
--- a/styles/pages/_Results.scss
+++ b/styles/pages/_Results.scss
@@ -175,6 +175,47 @@ $SIDEBAR_WIDTH: 268px;
padding-left: 10px;
}
+ .Subscriptions_Header_Container {
+ display: flex;
+ justify-content: space-between;
+ align-items: end;
+ flex-direction: row;
+
+ .Subscriptions_Title {
+ font-family: Lato;
+ font-size: 24px;
+ font-style: normal;
+ font-weight: 700;
+ line-height: 28.8px;
+ }
+
+ .Unsubscribe_All_Button {
+ display: flex;
+ gap: 8px;
+ align-items: center;
+
+ padding: 9px 18px;
+
+ cursor: pointer;
+
+ border: 0.5px solid #1d3557;
+ background-color: white;
+ border-radius: 8px;
+
+ color: #212121;
+ font-family: Lato;
+ font-size: 14px;
+ font-style: normal;
+ font-weight: 700;
+ line-height: 16px;
+
+ .Unsuscribe_Icon {
+ width: 8px;
+ height: 8px;
+ }
+ }
+ }
+
.Results_Main__EmptyCard {
display: flex;
flex-direction: column;
diff --git a/styles/results/_SearchResult.scss b/styles/results/_SearchResult.scss
index 7c76499e..82473637 100644
--- a/styles/results/_SearchResult.scss
+++ b/styles/results/_SearchResult.scss
@@ -29,6 +29,7 @@
font-size: 18px;
line-height: 2px;
border-radius: 5px 5px 0 0;
+ color: Colors.$NEU9;
}
&--employeeName {
@@ -175,6 +176,7 @@
&__sectionTable > thead > tr > th {
text-align: left;
padding-left: 16px;
+ padding-top: 20px;
}
&__sectionTable > thead > tr > th:nth-child(6) {
@@ -236,15 +238,28 @@
}
&--subscriptionExpanded {
- transform: rotate(-180deg);
+ transform: rotate(-90deg);
margin-top: 2px;
}
&--subscriptionCollapsed {
- transform: rotate(0deg);
+ transform: rotate(90deg);
margin-top: 3px;
}
+ &--unsubscribeButton {
+ margin-left: auto;
+ width: fit-content;
+ display: flex;
+ width: auto;
+ padding: 8px 16px;
+ align-items: center;
+ border-radius: 8px;
+ border: 1px solid #d1d3d7;
+ font-weight: 700;
+ background: #fff;
+ }
+
& > span {
margin-right: 8px;
}