Skip to content

Commit

Permalink
feat: got rid of learn more button on members
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisv09 committed Oct 14, 2024
1 parent fd4448b commit 4688c27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/components/ProjectTeam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ const ProjectTeams = ({ projects }: ProjectTeamsProps) => {
<h2 className="proj-title"><b>{projects[teamNumber].teamDetails.teamName}</b></h2>
<p className="main-description-box-proj">
{projects[teamNumber].teamDetails.description}
<button className="learn-more-proj">
<a href={`/projects/${selectedTeam}`}>LEARN MORE</a>
</button>
</p>
<div className="project-team-nav">
<p className="main-description-box-proj" style={{ padding: 0, margin: 0 }}>View the teams!</p>
Expand Down
4 changes: 3 additions & 1 deletion src/scripts/updateProjects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Client } from "@notionhq/client";
import type { projectRow } from '../types/projectRow.ts';
import axios from 'axios';
import sharp from "sharp";
import { supabase } from '../lib/supabaseClient';
import { supabase } from '../lib/supabaseClient';
import { supabaseUrl } from '../lib/supabaseClient';
import { prisma } from "../lib/prisma.ts";
import type { APIRoute } from 'astro';
Expand Down Expand Up @@ -82,6 +82,8 @@ export async function updateProjects(controller: ReadableStreamDefaultController

const projectsRows = query.results as projectRow[];

console.log(projectsRows[0].properties)

const projectPromises = projectsRows.map(async (row) => {
const title = row.properties.Name.title[0] ? row.properties.Name.title[0].plain_text : "";
const dateStr = row.properties.Date.date ? row.properties.Date.date.start : "";
Expand Down

0 comments on commit 4688c27

Please sign in to comment.