Skip to content

Commit

Permalink
feat(newsletter): Update newsletter page
Browse files Browse the repository at this point in the history
  • Loading branch information
goshatch committed Dec 11, 2023
1 parent 17c13c0 commit 5069702
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 3 deletions.
32 changes: 32 additions & 0 deletions _sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,38 @@ section, article {
}
}

.newsletter {
h1.logo-title {
background-image: url(/assets/images/newsletter/logo-black.svg);
display: block;
background-position: 0 0;
background-size: contain;
background-repeat: no-repeat;
text-indent: -9999px;
height: 10rem;
}
}

@media (prefers-color-scheme: dark) {
.newsletter h1.logo-title {
background-image: url(/assets/images/newsletter/logo-white.svg);
}

html.light .newsletter h1.logo-title {
background-image: url(/assets/images/newsletter/logo-black.svg);
}
}

@media (prefers-color-scheme: light) {
.newsletter h1.logo-title {
background-image: url(/assets/images/newsletter/logo-black.svg);
}

html.dark .newsletter h1.logo-title {
background-image: url(/assets/images/newsletter/logo-white.svg);
}
}

@media (max-width: 480px) {
.hero a {
font-size: 5rem;
Expand Down
14 changes: 14 additions & 0 deletions assets/images/newsletter/logo-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions assets/images/newsletter/logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/newsletter/social-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions the-long-term.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
title: The Long Term
description: An infrequent email newsletter on the rewards and challenges of pursuing a long term creative practice
active: newsletter
featured_image: /assets/images/newsletter/social-image.jpg
---

<section class="double-column">
<section class="text col left-col">
<h1>The Long Term</h1>
<p><em>The Long Term</em> is an infrequent email newsletter on the rewards and challenges of pursuing a long term creative practice.</p>
<p>The first issue is coming soon.</p>
<h1 class="logo-title">The Long Term</h1>
<p>An infrequent email newsletter on the rewards and challenges of pursuing a long term creative practice.</p>
<p>How does making work fit in with the priorities of a busy adult life, when it is not your day gig? How does it fit with having kids? And what does it mean, to make work, anyway? What can we hope to accomplish, and what is enough?</p>
<hr/>
<p>Please leave your email address to receive the first issue when it is ready. No spam ever, and an instant unsubscribe link in every email.</p>
<div class="centered">
<form
Expand Down

0 comments on commit 5069702

Please sign in to comment.