diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml new file mode 100644 index 0000000..98a85d8 --- /dev/null +++ b/.github/workflows/test-build.yml @@ -0,0 +1,34 @@ +name: Test Build + +on: + pull_request: + branches: ["main"] + +# Cancel in-progress runs for the same PR +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: "20" + cache: "pnpm" + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Build with Next.js + run: pnpm build diff --git a/src/app/layout.tsx b/src/app/layout.tsx index c10f90f..493ba9d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,9 +1,11 @@ import type { Metadata } from "next"; import "./globals.css"; import Link from "next/link"; +import Image from "next/image"; import Navigation from "@/components/Navigation"; import TeamPhotos from "@/components/TeamPhotos"; import { getAllCategories } from "@/lib/markdown-posts"; +import BrandLogo from "@/assets/Brand.png"; export const metadata: Metadata = { title: "Preferred.AI", @@ -30,10 +32,11 @@ export default function RootLayout({
Preferences and Recommendations from Data & AI
diff --git a/src/assets/Brand.png b/src/assets/Brand.png
new file mode 100644
index 0000000..fbdfd69
Binary files /dev/null and b/src/assets/Brand.png differ
diff --git a/src/components/TeamPhotos.tsx b/src/components/TeamPhotos.tsx
index c7e6411..e03fb60 100644
--- a/src/components/TeamPhotos.tsx
+++ b/src/components/TeamPhotos.tsx
@@ -1,5 +1,7 @@
"use client";
+import Image from "next/image";
+
import { useState, useEffect } from "react";
import { TEAM_PHOTOS } from "@/data/teamPhotos";
@@ -40,9 +42,12 @@ export default function TeamPhotos() {
isVisible ? "opacity-100" : "opacity-0"
}`}
>
-