Skip to content

Commit

Permalink
gfs
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajrekwar committed Dec 20, 2024
1 parent 255bf3d commit 6fede76
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/blog/first-post/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function FirstPostPage() {
</p>
{post && (
<div>
<img
<Image
src={post?.imageUrl}
alt={post?.title}
className="float-left mr-4 mb-2 w-1/3 h-auto object-cover rounded-lg"
Expand Down
2 changes: 1 addition & 1 deletion app/blog/second-post/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function SecondPostPage() {
</p>
{post && (
<div>
<img
<Image
src={post?.imageUrl}
alt={post?.title}
className="float-left mr-4 mb-2 w-1/3 h-auto object-cover rounded-lg"
Expand Down
2 changes: 1 addition & 1 deletion app/blog/third-post/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function ThirdPostPage() {
</p>
{post && (
<div>
<img
<Image
src={post?.imageUrl}
alt={post?.title}
className="float-left mr-4 mb-2 w-1/3 h-auto object-cover rounded-lg"
Expand Down
3 changes: 2 additions & 1 deletion components/DataSet.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// app/components/DataSet.tsx
import React from 'react';
import data from '../app/blog/data/dataset.json';
import Image from 'next/image';

interface DataItem {
id: string;
Expand All @@ -21,7 +22,7 @@ const DataSet: React.FC = () => {
<div key={item.id} className="relative flex rounded-sm gap-2 bg-seven overflow-hidden w-1/4 ">
<div className='overflow-hidden p-1 rounded-sm'>

<img
<Image
src={item.media_url}
alt={item.timestamp}
className="w-full h-auto hover:opacity-75 transition-all duration-800 rounded object-cover"
Expand Down
3 changes: 2 additions & 1 deletion components/Gallery.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use client'
import Image from 'next/image';
import React from 'react';

interface Image {
Expand All @@ -21,7 +22,7 @@ const Gallery: React.FC<GalleryProps> = ({ feed }) => {
{images &&
images.map((image) => (
<div key={image.id} className="relative overflow-hidden">
<img
<Image
src={image.media_url}
alt={image.caption}
className="w-full h-auto object-cover"
Expand Down
3 changes: 2 additions & 1 deletion components/InstaGallery.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use client"
import Image from 'next/image';
import React, { useEffect, useState } from 'react';

interface Image {
Expand Down Expand Up @@ -37,7 +38,7 @@ const InstaGallery: React.FC = () => {
{images.map((image) => (
<div key={image.id} className="relative overflow-hidden w-1/4 ">
<div className='overflow-hidden rounded-sm'>
<img
<Image
src={image.media_url}
alt={image.caption}
className="w-full h-auto object-cover"
Expand Down
File renamed without changes.
9 changes: 3 additions & 6 deletions components/ui/Accordion.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { AnimatedTooltipPreview } from "@/components/AnimatedToolstips";
import { AnimatedTooltip } from "@/components/ui/animated-tooltip";
import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
} from "@/components/ui/accordion";
import { Accordion, AccordionItem, AccordionTrigger, AccordionContent} from "../accordion";



export function AccordionDemo() {
return (
Expand Down

0 comments on commit 6fede76

Please sign in to comment.