diff --git a/lib/title.ts b/lib/title.ts new file mode 100644 --- /dev/null +++ b/lib/title.ts @@ -0,0 +1,7 @@ +const DEFAULT_TITLE = "Wichita's software developer community"; + +export const title = ( + pageTitle: string = DEFAULT_TITLE, +) => { + return `${pageTitle} | devICT`; +}; diff --git a/routes/_app.tsx b/routes/_app.tsx --- a/routes/_app.tsx +++ b/routes/_app.tsx @@ -1,6 +1,7 @@ import { PageProps } from "$fresh/server.ts"; import Header from "../islands/Header.tsx"; import Footer from "../islands/Footer.tsx"; +import { title } from "../lib/title.ts"; const nav = [ { name: "About", href: "/about" }, @@ -49,7 +50,7 @@ `} -
+ The devICT Institute is a 501c3 non-profit governed by a board of + directors. In addition to the board we are supported by volunteers + who organize events and generally keep things running. +
+- The devICT Institute is a 501c3 non-profit governed by a board of - directors. In addition to the board we are supported by volunteers - who organize events and generally keep things running. -
-- devICT is 100% volunteer run and funded by the support of our - community members and sponsor organizations. -
-- You can create a recurring donation by creating an account on - Patreon. To donate visit{" "} - - our Patreon profile - - . + <> +
++ devICT is 100% volunteer run and funded by the support of our + community members and sponsor organizations.
+ You can create a recurring donation by creating an account on + Patreon. To donate visit{" "} + + our Patreon profile + + . +
+- If you want to help but do not want to set up a recurring donation - you can give a single amount using PayPal. -
- ++ If you want to help but do not want to set up a recurring donation + you can give a single amount using PayPal. +
+ +