Skip to content

Commit

Permalink
views: adjust spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
makinbacon21 committed Sep 25, 2023
1 parent ef5382b commit 7cab105
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions views/dashboard.pug
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.row
h1.display-1.mb-4 SCCS Dashboard
.col-12.col-xl-7.mb-2
.col-12.col-xl-7.mb-2.px-3
mixin service(title, desc, linkText, href)
.col-12.col-lg-6.mb-2
.col-12.col-lg-6.mb-3
.card.h-100.shadow-sm
.card-body.d-flex.flex-column
h5.card-title= title
p.card-text= desc
a.btn.btn-primary.mt-auto(href=href)= linkText
h2.mb-4 Our Services
.row.gx-2
.row.gx-3
+service("Mailing Lists", "Distribute emails to clubs or student organizations", 'Manage lists', '/lists')
+service("The Cygnet", "The Swarthmore College student directory", 'Search the Cygnet', 'https://cygnet.sccs.swarthmore.edu')
+service("Reserved Students Digest", "A daily email with news, events, jobs, and more", 'View the RSD', 'https://rsd.sccs.swarthmore.edu')
Expand All @@ -21,11 +21,11 @@
p.text-muted
| Looking for something a bit more low-level? We can also help with advanced web hosting,
| databases, or anything else along those lines. Just contact #[a(href='mailto:[email protected]') staff@sccs.swarthmore.edu].
.col-12.col-xl
.col-12.col-xl.px-3
if posts
h2.mb-4 News and Updates
each post in posts
.card.w-100.mb-2.shadow-sm
.card.w-100.mb-3.shadow-sm
.card-body
h5.card-title= post.data.title
h6.card-subtitle.mb-2.text-muted= post.data.date.toLocaleDateString()
Expand Down
6 changes: 3 additions & 3 deletions views/homepage-splash.pug
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.row
.col-12.col-lg-7
.col-12.col-lg-7.px-3
h1.display-3 Swarthmore College Computer Society
p.text-muted Digital services by and for Swarthmore students
p
Expand All @@ -20,11 +20,11 @@
a.btn.btn-outline-primary.me-2.mt-2(href='https://schedule.sccs.swarthmore.edu') Course Planner
a.btn.btn-outline-primary.me-2.mt-2(href='https://gpacalc.sccs.swarthmore.edu') GPA Calculator
a.btn.btn-outline-primary.me-2.mt-2(href='https://dining.sccs.sh/') Dining Menu
.col-12.col-lg
.col-12.col-lg.px-3
if posts
h2.mb-4 News and Updates
each post in posts
.card.w-100.mb-2.shadow-sm
.card.w-100.mb-3.shadow-sm
.card-body
h5.card-title= post.data.title
h6.card-subtitle.mb-2.text-muted= post.data.date.toLocaleDateString()
Expand Down

0 comments on commit 7cab105

Please sign in to comment.