Skip to content

Commit

Permalink
Merge pull request #69 from acm-ucr/tingtingtingtingtingtingtingtingt…
Browse files Browse the repository at this point in the history
…ingtin/title-spacing

Changed title and fixed spacing
  • Loading branch information
shahdivyank authored Nov 8, 2024
2 parents 934a0ad + 0b0bfcf commit 138ae71
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions src/app/admin/[program]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Add from "@/components/programs/add";
import Project from "@/components/programs/project";
import { Project as ProjectType } from "@/types/projects";
import { AlertDialog, AlertDialogTrigger } from "@/components/ui/alert-dialog";
import { Label } from "@/components/ui/label";

const projects: ProjectType[] = [
{
Expand All @@ -24,12 +25,15 @@ const projects: ProjectType[] = [
const Page = () => {
return (
<div className="">
<AlertDialog>
<AlertDialogTrigger>Add Project</AlertDialogTrigger>
<Add />
</AlertDialog>
<div className="mx-8 mt-6 flex items-center justify-between">
<Label className="text-2xl">Ignite 2024 Projects</Label>
<AlertDialog>
<AlertDialogTrigger>Add Project</AlertDialogTrigger>
<Add />
</AlertDialog>
</div>

<div className="grid grid-cols-3 gap-4">
<div className="m-6 grid grid-cols-3 gap-4">
{projects.map(({ title, description, tags }, index) => (
<Project
key={index}
Expand Down
2 changes: 1 addition & 1 deletion src/components/programs/project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface props {

const Project = ({ title, description, tags }: props) => {
return (
<div className="rounded-md border border-gray-300 bg-white p-4">
<div className="rounded-xl border border-gray-300 bg-white p-4">
<div className="text-2xl font-semibold">{title}</div>
<div className="flex flex-wrap gap-2">
{tags.map((text, index) => (
Expand Down

0 comments on commit 138ae71

Please sign in to comment.