diff --git a/index.html b/index.html index f2845a7..60e6ce8 100644 --- a/index.html +++ b/index.html @@ -21,8 +21,8 @@ diff --git a/pages/about.html b/pages/about.html index 4a7eaf6..81b7990 100644 --- a/pages/about.html +++ b/pages/about.html @@ -1,29 +1,33 @@ -

About Alabama Progress

-

Alabama Progress is a community of like-minded Alabamians who enjoy discussing and debating current - social and political issues, and also connecting, organizing, and collaborating on political actions of consequence - primarily in our local communities.

+
+

About Alabama Progress

+

Alabama Progress is a community of like-minded Alabamians who enjoy discussing and debating current + social and political issues, and also connecting, organizing, and collaborating on political actions of consequence + primarily in our local communities.

+
-
-

Our mission

-
-

Empower Alabamians to create positive change.

-

Our mission is to empower Alabamians to create positive change and pursue forward progress by creating - connections, building coalitions, encouraging active participation in processes both political and non-political, - and dissolving the barrier between those who seek to represent and the represented.

+
+

What drives our work

+
+
+

Our mission

+

Empower Alabamians to create positive change.

+

Our mission is to empower Alabamians to create positive change and pursue forward progress by creating + connections, building coalitions, encouraging active participation in processes both political and + non-political, + and dissolving the barrier between those who seek to represent and the represented.

+
+ +
+

Our vision

+

A strong and victorious future of progress.

+

Our vision is to see an Alabama working towards a strong and victorious future of progress for the people and + places we call home.

+
-
-

Our vision

-
-

A strong and victorious future of progress.

-

Our vision is to see an Alabama working towards a strong and victorious future of progress for the people and - places we call home.

-
-
- -
-

Our values

+
+

Our values

  • Pro Racial Justice
  • Pro Union
  • @@ -44,8 +48,10 @@
-
-

Ready to get involved?

+
+

Ready to get involved?

Reach out and say hello. We’d love to have you.

-

Request to join

+
\ No newline at end of file diff --git a/pages/home.html b/pages/home.html index 3760d65..c764d6a 100644 --- a/pages/home.html +++ b/pages/home.html @@ -1,32 +1,38 @@
- -

Progress begins with you.

-

Alabama Progress is a community of like-minded Alabamians who enjoy discussing and debating current - social and political issues, and also connecting, organizing, and collaborating on political actions of consequence - primarily in our local communities.

-

- Join the community | - Learn more -

-
- -
-

Our mission

+ Alabama Progress logo
-

Empower Alabamians to create positive change.

+

Progress begins with you.

+

Alabama Progress is a community of like-minded Alabamians who enjoy discussing and debating current + social and political issues, and also connecting, organizing, and collaborating on political actions of + consequence + primarily in our local communities.

+
-
-

Our vision

-
-

A strong and victorious future of progress.

-

Read more about who we are

+
+

What drives our work

+
+
+

Our mission

+

Empower Alabamians to create positive change.

+
+ +
-
-

Ready to get involved?

-

If you’re interested in becoming a part of our community, reach out and say hello. We’d love to have you.

-

Request to join

+
+

Ready to get involved?

+

If you're interested in becoming a part of our community, reach out and say hello. We'd love to have you.

+
\ No newline at end of file diff --git a/pages/join.html b/pages/join.html index c495004..e258fb0 100644 --- a/pages/join.html +++ b/pages/join.html @@ -1,11 +1,12 @@

Ready to get involved?

- If you’re interested in becoming a part of our community, reach out and say - hello. We’d love to have you. + If you're interested in becoming a part of our community, reach out and say + hello. We'd love to have you.

We run a private Discord community for our members. You can request to join by - filling out the application below. + filling out the application below. View our Privacy Policy for information on how your data is + handled when submitting this form.

diff --git a/pages/blog.html b/pages/news.html similarity index 71% rename from pages/blog.html rename to pages/news.html index fe51ae8..e954617 100644 --- a/pages/blog.html +++ b/pages/news.html @@ -1,7 +1,7 @@ -
-

Blog

+
+

News

News and updates from the Alabama Progress administrators.

-
+

Loading posts…

\ No newline at end of file diff --git a/scripts/app.js b/scripts/app.js index 8514be6..1fee08f 100644 --- a/scripts/app.js +++ b/scripts/app.js @@ -6,7 +6,7 @@ const routes = { home: { url: 'pages/home.html', title: 'Home' }, about: { url: 'pages/about.html', title: 'About' }, community: { url: 'pages/community.html', title: 'Community' }, - blog: { url: 'pages/blog.html', title: 'Blog' }, + news: { url: 'pages/news.html', title: 'News' }, join: { url: 'pages/join.html', title: 'Join' }, privacy: { url: 'pages/privacy-policy.html', title: 'Privacy Policy' }, }; diff --git a/styles/main.css b/styles/main.css index f21c4ac..97bfcd4 100644 --- a/styles/main.css +++ b/styles/main.css @@ -292,15 +292,6 @@ main :focus-visible { } } -/* ---------- About page ---------- */ -li .stance-pro { - color: var(--green); -} -li .stance-anti { - color: var(--red); -} - - /* ---------- Join form ---------- */ .form { max-width: 44rem; @@ -566,4 +557,203 @@ li .stance-anti { .event-list li:hover { background: var(--gold); color: var; +} + +/* ---------- Landing page ---------- */ +.hero { + display: grid; + grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); + align-items: center; + gap: 1.5rem 2.5rem; + padding: 2rem; + margin-bottom: 2.5rem; + background: var(--white); + border: 1px solid var(--rule); + border-radius: 0.5rem; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); +} + +.hero img { + width: 100%; + max-width: 11rem; + max-height: 11rem; + object-fit: contain; + justify-self: center; +} + +.hero .actions { + display: flex; + flex-wrap: wrap; + gap: 0.75rem; + margin-top: 1.25rem; +} + +.pillars { + margin-bottom: 2.5rem; +} + +.pillars-grid { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 1.5rem; + margin-top: 1rem; +} + +.pillar { + background: var(--white); + padding: 1.5rem; + border: 1px solid var(--rule); + border-radius: 0.5rem; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); +} + +.pillar h4 { + margin: 0 0 0.5rem; + font-family: var(--font-sign); + font-weight: 900; + font-size: 1.15rem; + color: var(--blue); +} + +.pillar .statement { + margin: 0 0 0.75rem; + font-size: 1.125rem; + font-weight: 600; + color: var(--ink); +} + +.callout { + background: var(--white); + padding: 1.75rem 2rem; + border: 1px solid var(--rule); + border-radius: 0.5rem; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); +} + +.callout .actions { + margin-top: 1rem; +} + +.btn { + display: inline-block; + padding: 0.7rem 1.25rem; + border-radius: 0.3rem; + font-weight: 700; + text-decoration: none; +} + +.btn-primary { + background: var(--gold); + color: var(--ink); +} + +.btn-primary:hover { + background: #e6a800; +} + +.btn-secondary { + background: var(--paper); + color: var(--blue); + border: 1px solid var(--rule); +} + +.btn-secondary:hover { + background: var(--gold); + color: var(--ink); + border-color: var(--gold); +} + +@media (max-width: 48rem) { + .hero { + grid-template-columns: 1fr; + text-align: center; + padding: 1.5rem; + } + + .hero img { + max-width: 7.5rem; + max-height: 7.5rem; + } + + .hero .actions { + justify-content: center; + } + + .pillars-grid { + grid-template-columns: 1fr; + } +} + +/* ---------- About page ---------- */ +.page-intro { + margin-bottom: 2.5rem; +} + +.page-intro .lead { + max-width: 48rem; + margin-bottom: 0; +} + +.values-section { + background: var(--white); + padding: 1.75rem 2rem; + margin-bottom: 2.5rem; + border: 1px solid var(--rule); + border-radius: 0.5rem; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); +} + +.values-section h3 { + margin-top: 0; +} + +.values { + list-style: none; + padding: 0; + margin: 1rem 0 0; + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 0.65rem 1.5rem; +} + +.values li { + display: flex; + align-items: baseline; + gap: 0.55rem; + margin: 0; + padding: 0.55rem 0.75rem; + background: var(--paper); + border: 1px solid var(--rule); + border-radius: 0.35rem; +} + +.values-break { + grid-column: 1 / -1; + margin-top: 0.5rem; +} + +li .stance-pro { + color: var(--green); + font-weight: 800; + text-transform: uppercase; + font-size: 0.85rem; + letter-spacing: 0.03em; +} + +li .stance-anti { + color: var(--red); + font-weight: 800; + text-transform: uppercase; + font-size: 0.85rem; + letter-spacing: 0.03em; +} + +@media (max-width: 48rem) { + .values-section { + padding: 1.5rem; + } + + .values { + grid-template-columns: 1fr; + } } \ No newline at end of file