Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 2026/liberal-arts-decline-src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
The Decline of the Liberal Arts at Chicago, by the Numbers
The Decline of the Liberal Arts at UChicago, by the Numbers
</title>
<link rel="icon" type="image/png" href="/maroon_logo_m_white.svg" />

<meta
property="og:title"
content="The Decline of the Liberal Arts at Chicago"
content="The Decline of the Liberal Arts at UChicago"
/>
<meta
property="og:image"
Expand Down
8 changes: 4 additions & 4 deletions 2026/liberal-arts-decline-src/public/content.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 2026/liberal-arts-decline-src/public/dotchart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default function ArticleContent({ windowHeight, windowWidth }) {
<ArticleSection paragraphs={section1.slice(0, 9)} />

{/* Penn comparison chart (mentioned at end of section 1) */}
<figure className="my-16 flex flex-col items-start max-w-3xl mx-auto px-2 sm:px-8">
<figure className="mt-24 mb-16 flex flex-col items-start max-w-3xl mx-auto px-2 sm:px-8">
<div className="w-full">
<Penn />
</div>
Expand Down Expand Up @@ -291,7 +291,7 @@ export default function ArticleContent({ windowHeight, windowWidth }) {
<ArticleSection paragraphs={section4.slice(2, 8)} />

{/* Share of students vs share of degrees chart */}
<figure className="my-4 flex flex-col items-start max-w-6xl mx-auto px-2 sm:px-8">
<figure className="my-16 flex flex-col items-start max-w-6xl mx-auto px-2 sm:px-8">
<div className="w-full">
<SocialSciencesHumanities />
</div>
Expand Down Expand Up @@ -348,7 +348,7 @@ export default function ArticleContent({ windowHeight, windowWidth }) {
header={section6Header}
paragraphs={section6.slice(0, -1)}
/>
<section className="max-w-2xl mx-auto px-4 my-12">
<section className="max-w-2xl mx-auto px-4 mb-12">
<p className="text-lg leading-relaxed mb-5 font-serif font-normal">
<span
dangerouslySetInnerHTML={{
Expand All @@ -358,7 +358,7 @@ export default function ArticleContent({ windowHeight, windowWidth }) {
<img
src="maroon_logo_m_black.svg"
alt=""
className="inline h-[0.85em] w-auto ml-[1px] align-text-bottom"
className="inline h-[0.85em] w-auto ml-2 align-text-bottom"
/>
</p>
</section>
Expand All @@ -368,7 +368,7 @@ export default function ArticleContent({ windowHeight, windowWidth }) {
<p className="text-sm">
Editor’s note: Elizabeth Eck previously served as an
associate Arts editor for the{' '}
<span className="italic">Maroon</span>.
<span className="not-italic">Maroon</span>.
</p>
<p className="text-sm mt-2">
The version of this article published in the May 20 print
Expand Down
2 changes: 1 addition & 1 deletion 2026/liberal-arts-decline-src/src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function Credits() {
const [showMethods, setShowMethods] = useState(false);

return (
<div className="w-[90%] md:w-[80%] mx-auto">
<div className="max-w-2xl mx-auto px-4">
<div className="w-full h-[3px] bg-black rounded-md" />
<div className="py-5">
<p
Expand Down
7 changes: 4 additions & 3 deletions 2026/liberal-arts-decline-src/src/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ const Headline = ({ windowWidth, windowHeight }) => {
? '2.3em'
: '2.8em'
: '3.2em',
lineHeight: windowHeight < 800 ? '1.2em' : '1.1em'
lineHeight: windowHeight < 800 ? '1.2em' : '1.1em',
fontFamily: 'Georgia, serif'
}}
dangerouslySetInnerHTML={{
__html: windowWidth < 640 ? headlinesm : headlinelg
Expand Down Expand Up @@ -86,8 +87,8 @@ const Subhead = ({ windowWidth }) => {
const Byline = ({ windowWidth }) => {
return (
<div
className="px-3 sm:px-12 mx-auto relative text-[black] w-[90vw]
top-[100vh] z-[20]"
className="mx-auto relative text-[black] w-[90vw]
top-[100vh] z-[20] text-center"
>
{byline.map((text, index) => (
<p
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const setChartTitleLines = (
.attr('fill', 'black')
.attr('font-family', 'Georgia, serif')
.attr('font-size', fontSize(windowWidth))
.attr('text-anchor', 'middle')
.text(null)
.selectAll('tspan')
.remove();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default function AriChart({

// Chart title
setChartTitleLines(svg.append('text'), windowWidth, {
x: margin.left,
x: (margin.left + width - margin.right) / 2,
y: margin.top - 55,
lines: [
'UChicago Students in Select',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function MajorChart({
}

setChartTitleLines(svg.select('.chart-title'), windowWidth, {
x: margin.left,
x: (margin.left + width - margin.right) / 2,
y: margin.top - 45,
lines: ['Share of UChicago', 'Majors']
});
Expand Down
6 changes: 3 additions & 3 deletions 2026/liberal-arts-decline-src/src/components/penn_chart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {
export default function PennChart({
data,
width = 750,
height = 400,
margin = { top: 80, right: 50, bottom: 30, left: 70 }
height = 420,
margin = { top: 100, right: 50, bottom: 30, left: 70 }
}) {
const svgRef = useRef();
const windowWidth = useWindowWidth();
Expand Down Expand Up @@ -109,7 +109,7 @@ export default function PennChart({

// Chart title
setChartTitleLines(svg.append('text'), windowWidth, {
x: margin.left,
x: (margin.left + width - margin.right) / 2,
y: margin.top - 115,
lines: [
'Percentage of Students with Business,',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function SocialHumChart({

// Chart title
setChartTitleLines(svg.append('text'), windowWidth, {
x: margin.left,
x: (margin.left + width - margin.right) / 2,
y: margin.top - 45,
lines: [title],
fontSize: getSocialHumTitleFontSize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default function SubstitutionChart({

// Chart title
setChartTitleLines(svg.append('text'), windowWidth, {
x: margin.left,
x: (margin.left + width - margin.right) / 2,
y: margin.top - 65,
lines: ['Percentage of Students by', 'Field of Study at UChicago']
});
Expand Down
Loading
Loading