Skip to content

Commit 8631de3

Browse files
committed
complete implementation of visual design, start to set up content collections for projects and team members
1 parent a52c119 commit 8631de3

File tree

14 files changed

+118
-32
lines changed

14 files changed

+118
-32
lines changed
Lines changed: 18 additions & 0 deletions
Loading

website/src/assets/copy/History.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22

33
There is a need in the non-profit community for easy-to-use and open source screener-building toolkits. Many small non-profits resort to building eligibility screening tools with Excel because this is the only low-cost and low-code option available to them.
44
Many small non-profits resort to building eligibility screening tools with Excel because this is the only low-cost and low-code option available to them.
5-
6-
There are so many eligibility screeners in existence, purpose-built, for a variety of specific use cases. There are high-level screeners and comprehensive screeners. There are single-benefit screeners and multi-benefit screeners. There are screeners meant to be used directly by the person seeking benefits and others meant to be used by caseworkers.

website/src/assets/copy/Mission.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
## Our Mission
22

33
We are a team of problem solvers working to improve the usability and onboarding experience for creating benefit eligibility screeners, especially for non-technical users like benefits analysts.
4-
5-
There are so many eligibility screeners in existence, purpose-built, for a variety of specific use cases. There are high-level screeners and comprehensive screeners.  There are single-benefit screeners and multi-benefit screeners. There are screeners meant to be used directly by the person seeking benefits and others meant to be used by caseworkers.

website/src/components/Contact.astro

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
2-
import { Image } from "astro:assets";
32
import { Content } from "../assets/copy/Contact.md";
4-
import manInOffice from "../assets/photos/man-in-office.png";
3+
import wedge from "../assets/backgrounds/wedge.svg";
54
---
65

76
<section id="contact">
@@ -14,11 +13,18 @@ import manInOffice from "../assets/photos/man-in-office.png";
1413
<form action="message" class="mt-6">
1514
<div><label for="name">Name:</label></div>
1615
<div>
17-
<input type="text" name="name" id="name" placeholder="John Doe" />
16+
<input
17+
class="my-3 p-3 border-2 border-sky-500 rounded-2xl"
18+
type="text"
19+
name="name"
20+
id="name"
21+
placeholder="John Doe"
22+
/>
1823
</div>
1924
<div><label for="name">Email:</label></div>
2025
<div>
2126
<input
27+
class="my-3 p-3 border-2 border-sky-500 rounded-2xl"
2228
type="text"
2329
name="email"
2430
id="email"
@@ -27,17 +33,24 @@ import manInOffice from "../assets/photos/man-in-office.png";
2733
</div>
2834
<div><label for="name">Message:</label></div>
2935
<div>
30-
<input
31-
type="text"
36+
<textarea
37+
class="my-3 p-3 border-2 border-sky-500 rounded-2xl"
3238
name="message"
3339
id="message"
3440
placeholder="Your message"
35-
/>
41+
cols="40"
42+
rows="10"></textarea>
3643
</div>
37-
<input type="submit" value="Submit" />
44+
<input
45+
class="px-4 py-2 mt-3 font-serif font-bold bg-green-300 rounded-full text-lg cursor-pointer"
46+
type="submit"
47+
value="Submit"
48+
size=""
49+
/>
3850
</form>
3951
</div>
4052
<div class="w-1/2 bg-[url(../assets/photos/man-in-office.png)] bg-cover">
53+
<img class="h-full relative right-0.5" src={wedge.src} alt="" />
4154
</div>
4255
</div>
4356
</div>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<footer class="py-6 text-center flex flex-col gap-3 bg-green-300">
2+
<a href="#top">Return to top</a>
23
<p>Benefit Decision Toolkit</p>
3-
<p>A Code For Philly Project</p>
4+
<p>With ❤️ from Philly</p>
45
</footer>

website/src/components/Hero.astro

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ import { Content } from "../assets/copy/Hero.md";
44

55
<section
66
id="hero"
7-
class="py-6 px-3 h-120 bg-green-500/15 bg-[url(../assets/photos/man-with-laptop.png)] bg-cover bg-blend-overlay"
7+
class="py-6 px-3 h-120 bg-slate-700/25 bg-[url(../assets/photos/man-with-laptop.png)] bg-cover bg-blend-overlay"
88
>
99
<div class="max-w-[130ch] mx-auto mt-20">
1010
<div
1111
class="prose prose-p:text-slate-100 prose-headings:text-slate-100 max-w-120"
1212
>
1313
<Content />
1414
</div>
15-
<p
16-
class="mt-6 w-fit px-4 py-2 bg-white border-2 border-sky-500 rounded-full"
17-
>
18-
<a href="" class="text-sky-500 font-bold font-serif">See what we can do</a
15+
<a href="#projects">
16+
<p
17+
class="mt-6 w-fit px-4 py-2 bg-white border-2 border-sky-500 rounded-full text-sky-500 text-lg font-bold font-serif"
1918
>
20-
</p>
19+
See what we can do
20+
</p>
21+
</a>
2122
</div>
2223
</section>

website/src/components/HistoryMission.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ import manInOffice from "../assets/photos/man-in-office.png";
1010
<div class="max-w-[130ch] mx-auto">
1111
<div class="grid grid-rows-2 grid-cols-2">
1212
<div class="bg-green-200 flex justify-center items-center">
13-
<div class="max-w-72">
13+
<div class="max-w-72 relative top-30">
1414
<Image src={womanWithLaptop} alt="Woman with laptop." />
1515
</div>
1616
</div>
17-
<div class="prose p-6">
17+
<div class="prose p-6 pb-30">
1818
<Mission />
1919
</div>
20-
<div class="prose p-6">
20+
<div class="prose p-6 pt-30">
2121
<History />
2222
</div>
2323
<div class="bg-green-200 flex justify-center items-center">
24-
<div class="max-w-72">
24+
<div class="max-w-72 relative bottom-30">
2525
<Image src={manInOffice} alt="Woman with laptop." />
2626
</div>
2727
</div>

website/src/components/Mission.astro

Lines changed: 0 additions & 9 deletions
This file was deleted.

website/src/content.config.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import { defineCollection, z } from "astro:content";
2+
import { glob } from "astro/loaders";
3+
4+
const projects = defineCollection({
5+
loader: glob({
6+
pattern: "**/*.md",
7+
base: "./src/projects",
8+
}),
9+
schema: ({ image }) =>
10+
z.object({
11+
index: z.number(),
12+
image: image(),
13+
imageAlt: z.string(),
14+
}),
15+
});
16+
17+
const members = defineCollection({
18+
loader: glob({
19+
pattern: "**/*.md",
20+
base: "./src/members",
21+
}),
22+
schema: ({ image }) =>
23+
z.object({
24+
index: z.number(),
25+
image: image(),
26+
imageAlt: z.string(),
27+
}),
28+
});
29+
30+
export const collections = { projects, members };

website/src/layouts/Layout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Header from "../components/Header.astro";
55
import Footer from "../components/Footer.astro";
66
---
77

8-
<html lang="en">
8+
<html lang="en" class="scroll-smooth">
99
<head>
1010
<meta charset="utf-8" />
1111
<link rel="shortcut icon" type="image/svg+xml" href={favicon} />

0 commit comments

Comments
 (0)