Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
JonCGroberg committed Sep 28, 2024
2 parents c358e5e + 6790e1e commit 62d0948
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/components/Landing.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
import { Button } from "@/components/ui/button"
import React, {useEffect} from "react";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"
import { BookOpen, Brain, Lightbulb, Rocket } from "lucide-react"
// import Image from "astro/components/Image.astro"

export default function LandingPage() {
useEffect(() => {

fetch('http://3.147.36.237:3000/api/cards/ret-cards', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
})
.then(response => response.json())
.then(data => {
console.log('Dummy API Response:', data);
})
.catch(error => {
console.error('Error during API request:', error);
});
}, []);
return (
<main className="flex-grow">
<section className="bg-gradient-to-b to-white from-white py-20">
Expand Down

0 comments on commit 62d0948

Please sign in to comment.