Skip to content

Commit

Permalink
some modified
Browse files Browse the repository at this point in the history
  • Loading branch information
poisonox committed Dec 29, 2024
1 parent ed557cc commit fa3336d
Show file tree
Hide file tree
Showing 24 changed files with 17,797 additions and 4,102 deletions.
20 changes: 6 additions & 14 deletions app/(root)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
import SearchForm from "../../components/searchform";
import StartupCard from "@/components/startupcard";
import { client } from "@/sanity/lib/client";
import { Startup_queries } from "@/sanity/lib/queries";
import { StartupTypeCard } from "@/components/startupcard";
export default async function Home({
searchParams,
}: {
searchParams: Promise<{ query?: string }>;
}) {
const query = (await searchParams).query;
const posts = [
{
_createdAt: new Date(),
views: 55,
author: { _id: 1,name:"Adrian" },
_id: 1,
description: "This is a description",
image:
"https://png.pngtree.com/thumb_back/fh260/background/20230408/pngtree-robot-white-with-green-cute-robot-fantasy-scene-image_2199816.jpg",
category: "bots",
title: "We robots",
},
];
const posts = await client.fetch(Startup_queries)

return (
<>
<section className=" pink_container">
Expand All @@ -36,7 +28,7 @@ export default async function Home({
</p>
<ul className="mt-7 card_grid">
{posts?.length > 0 ? (
posts.map((post: StartupCardType, index: number) => <StartupCard key={post?._id} post={post}/>)
posts.map((post: StartupTypeCard, index: number) => <StartupCard key={post?._id} post={post}/>)
) : (
<p className="no-results">No startup found</p>
)}
Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Metadata } from "next";
import localFont from "next/font/local"
import "./globals.css";

import 'easymde/dist/easymde.min.css'
const workSans = localFont({
src:[
{
Expand Down
19 changes: 19 additions & 0 deletions app/studio/[[...tool]]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* This route is responsible for the built-in authoring environment using Sanity Studio.
* All routes under your studio path is handled by this file using Next.js' catch-all routes:
* https://nextjs.org/docs/routing/dynamic-routes#catch-all-routes
*
* You can learn more about the next-sanity package here:
* https://github.com/sanity-io/next-sanity
*/

import { NextStudio } from 'next-sanity/studio'
import config from '../../../sanity.config'

export const dynamic = 'force-static'

export { metadata, viewport } from 'next-sanity/studio'

export default function StudioPage() {
return <NextStudio config={config} />
}
10 changes: 6 additions & 4 deletions components/startupcard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ import { EyeIcon } from "lucide-react";
import Link from "next/link";
import Image from "next/image";
import { Button } from "./ui/button";
import { Author,Startup } from "@/sanity/types";
export type StartupTypeCard=Omit<Startup,"author" & {author?:Author}>
export default function StartupCard({ post }: { post: StartupTypeCard }) {
const {
_createdAt,
views,
author: { _id: authorId, name },
author,
title,
category,
_id,
Expand All @@ -27,14 +29,14 @@ export default function StartupCard({ post }: { post: StartupTypeCard }) {
</div>
<div className="flex-between mt-5 gap-5 ">
<div className="flex-1">
<Link href={`/user/${authorId}`}>
<Link href={`/user/${author?._id}`}>
<p className="text-16-medium line-clamp-1">{name}</p>
</Link>
<Link href={`/startup/${_id}`}>
<h3 className="text-26-semibold line-clamp-1">{title} </h3>
</Link>
</div>
<Link href={`/user/${authorId}`}>
<Link href={`/user/${author?._id}`}>
<Image src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxISEhUSEhAVFRUWGBUYFhcYFhUWGBgVGRoXFhYWFxgaHSghGBonHRcYIjEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OGhAQGy8mHyUuLS0tLS0tLS0rLS0tLS0tLS0tLS0tLS0tLS0tLS0tLy0tLS0tLS0tLS0tLS0tLS0tLf/AABEIAOEA4AMBIgACEQEDEQH/xAAcAAABBQEBAQAAAAAAAAAAAAAAAQMEBQYCBwj/xABLEAACAQIDBQUDCQUGAwcFAAABAhEAAwQSIQUxQVFhBhMicYEykaEjQlJicoKxwdEHFDOSolNzstLh8EOTwhUkRFRjg7M0VaPD0//EABoBAAIDAQEAAAAAAAAAAAAAAAABAgQFAwb/xAAxEQACAgEDAgQFAwMFAAAAAAAAAQIRAwQhMR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KKs6X5mU9d8i9yFS0UVeZlmz7F+0P7g//ACVWbZ40UVfxc/YGf//Z"
alt="placeholder"
width={48}
Expand All @@ -51,7 +53,7 @@ export default function StartupCard({ post }: { post: StartupTypeCard }) {
<Image width={600} height={400} src={image} alt="placeholder" className="startup-card_img "/>
</Link>
<div className="flex-between gap-3 mt-5">
<Link href={`/?query=${category.toLowerCase()}`} >
<Link href={`/?query=${category?.toLowerCase()}`} >
<p className="text-16-medium" >
{category}
</p>
Expand Down
Loading

0 comments on commit fa3336d

Please sign in to comment.