From e002984b930aa42189d1caefa5cd9ce4082b838f Mon Sep 17 00:00:00 2001 From: Colten Krauter Date: Tue, 6 Sep 2022 18:55:29 -0600 Subject: [PATCH 1/4] Update aspect ratio and add content --- cdk/bin.ts | 2 +- cdk/stacks/dns.ts | 3 ++- pages/index.jsx | 36 ++++++++++++++++++------------------ styles/globals.css | 35 ++++++++++++++++++++--------------- 4 files changed, 41 insertions(+), 35 deletions(-) diff --git a/cdk/bin.ts b/cdk/bin.ts index d5bef98..bed42a2 100644 --- a/cdk/bin.ts +++ b/cdk/bin.ts @@ -20,7 +20,7 @@ const main = async () => { // Build the NextJS app await builder.build(); - const dNSStack = new DNS(app, `${config.codenameCapitalized}DNS`, { + const dNSStack = new DNS(app, `Shared${config.codenameCapitalized}DNS`, { terminationProtection: config.isProd, env: { account: process.env.AWS_DEFAULT_ACCOUNT_ID, diff --git a/cdk/stacks/dns.ts b/cdk/stacks/dns.ts index c63ee23..34fb1da 100644 --- a/cdk/stacks/dns.ts +++ b/cdk/stacks/dns.ts @@ -16,7 +16,8 @@ export class DNS extends Stack { constructor(scope: Construct, id: string, props: DNSProps) { super(scope, id, props); - // DNS & certs + // DNS + // Note: After the HostedZone is created, update the registered domain to have the same name servers. const zone = new HostedZone(this, `${props.config.codenameCapitalized}HostedZone`, { zoneName: props.config.domainBase, }); diff --git a/pages/index.jsx b/pages/index.jsx index 932a1b9..4e5bdac 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -8,8 +8,6 @@ import Background from '../components/background'; export default function Home() { const opts = { - height: '390', - width: '640', playerVars: { // https://developers.google.com/youtube/player_parameters }, @@ -19,27 +17,29 @@ export default function Home() { <> - In Memory of Valerie Othus + In Memory of Valerie Jane Othus - + -
-
- -

- +
+
+ Valerie Jane Othus Memorial +
+ Watch the memorial service that was livestreamed on May 2nd, 2021. +
-
+ + + ); } diff --git a/styles/globals.css b/styles/globals.css index 1ed833e..5a6c0a9 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -30,24 +30,17 @@ html { border-radius: 50%; } -.logo { - font-family: 'Seaweed Script', cursive; +.blurb { + font-family: 'Ubuntu', cursive; color: #937163; - background: #121FCF; - background: -webkit-linear-gradient(to right, #a68970 0%, #beaa99 80%); - background: -moz-linear-gradient(to right, #a68970 0%, #beaa99 80%); - background: linear-gradient(to right, #a68970 0%, #beaa99 80%); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - font-size: 45px; + background: white; + font-size: 25px; + padding: 1em; + text-align: left; } -.mailing-list { - font-family: 'Ubuntu', sans-serif; - color: #beaa99; - font-size: 24px; - font-weight: 400; - font-style: italic; +.blurb .description { + font-size: 16px; } .body-content { @@ -64,3 +57,15 @@ html { .body-content a:hover { text-decoration: underline; } + +.main-content { + padding: 1em; + display: flex; + flex-direction: column; + gap: 1em; +} + +.main-content iframe { + width: calc(100vw - 2em); + height: calc(56.25vw - 2em); +} From 934f501df271ee6b666b1de6eac5a96bc5335a3a Mon Sep 17 00:00:00 2001 From: Colten Krauter Date: Tue, 6 Sep 2022 19:03:57 -0600 Subject: [PATCH 2/4] Update class to className --- pages/index.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/index.jsx b/pages/index.jsx index 4e5bdac..f37402a 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -23,10 +23,10 @@ export default function Home() { -
-
+
+
Valerie Jane Othus Memorial -
+
Watch the memorial service that was livestreamed on May 2nd, 2021.
From ed6fef7e4258b4e21b3aec74cdd11d10f7443f30 Mon Sep 17 00:00:00 2001 From: Colten Krauter Date: Tue, 6 Sep 2022 19:22:43 -0600 Subject: [PATCH 3/4] Add README badges and set page max width --- README.md | 9 ++++++++- styles/globals.css | 6 +++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 996b75b..38a6125 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,11 @@ -[![Deploy to AWS](https://github.com/coltenkrauter/mackenzie-krauter/actions/workflows/main.yaml/badge.svg?branch=main)](https://github.com/coltenkrauter/mackenzie-krauter/actions/workflows/main.yaml) +[![Development](https://github.com/coltenkrauter/brussels/actions/workflows/branch.yaml/badge.svg?branch=development)](https://github.com/coltenkrauter/brussels/actions/workflows/branch.yaml) + +[![Main](https://github.com/coltenkrauter/brussels/actions/workflows/branch.yaml/badge.svg?branch=main)](https://github.com/coltenkrauter/brussels/actions/workflows/branch.yaml) + +[![Release](https://github.com/coltenkrauter/brussels/actions/workflows/release.yaml/badge.svg)](https://github.com/coltenkrauter/brussels/actions/workflows/release.yaml) + + +--- This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). diff --git a/styles/globals.css b/styles/globals.css index 5a6c0a9..7c9f840 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -59,13 +59,17 @@ html { } .main-content { - padding: 1em; display: flex; flex-direction: column; gap: 1em; + margin: 0 auto; + max-width: calc(1920px/2); + padding: 1em; } .main-content iframe { width: calc(100vw - 2em); height: calc(56.25vw - 2em); + max-width: calc(1920px/2 - 2em); + max-height: calc(1080px/2 - 2em); } From 2187459e00b419f46ee4e9a7645cb98f32f6fe58 Mon Sep 17 00:00:00 2001 From: Colten Krauter Date: Tue, 6 Sep 2022 20:14:26 -0600 Subject: [PATCH 4/4] Update README --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 38a6125..3ea3cbb 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,7 @@ -[![Development](https://github.com/coltenkrauter/brussels/actions/workflows/branch.yaml/badge.svg?branch=development)](https://github.com/coltenkrauter/brussels/actions/workflows/branch.yaml) - -[![Main](https://github.com/coltenkrauter/brussels/actions/workflows/branch.yaml/badge.svg?branch=main)](https://github.com/coltenkrauter/brussels/actions/workflows/branch.yaml) - +[![GitHub release](https://img.shields.io/github/release/coltenkrauter/brussels.svg)](https://GitHub.com/coltenkrauter/brussels/releases/) [![Release](https://github.com/coltenkrauter/brussels/actions/workflows/release.yaml/badge.svg)](https://github.com/coltenkrauter/brussels/actions/workflows/release.yaml) - ---- +# Brussels This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).