Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function RootLayout({
htmxEvents.forEach(event => {
const funcName = 'func ' + event;
if (typeof window[funcName] === 'undefined') {
window[funcName] = function() {
window[funcName] = function() {
console.warn('HTMX event handler "' + funcName + '" was called but not defined. Providing safety fallback.');
};
}
Expand Down
3 changes: 0 additions & 3 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions components/resolution-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function ResolutionImage({ src, className, alt = 'Map Imagery' }: Resolut
<Dialog>
<DialogTrigger asChild>
<motion.div
className="w-fit cursor-pointer relative glassmorphic overflow-hidden rounded-lg border bg-muted"
className="w-fit cursor-pointer relative backdrop-blur-md bg-background/30 border border-border/40 shadow-lg overflow-hidden rounded-lg"
whileHover={{ scale: 1.02 }}
whileTap={{ scale: 0.98 }}
>
Expand All @@ -42,7 +42,7 @@ export function ResolutionImage({ src, className, alt = 'Map Imagery' }: Resolut
</Card>
</motion.div>
</DialogTrigger>
<DialogContent className="sm:max-w-5xl max-h-[90vh] p-1 glassmorphic border-none">
<DialogContent className="sm:max-w-5xl max-h-[90vh] p-1 backdrop-blur-md bg-background/30 border border-border/40 shadow-lg">
<DialogHeader className="sr-only">
<DialogTitle>{alt}</DialogTitle>
</DialogHeader>
Expand Down
7 changes: 3 additions & 4 deletions components/search-results-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
import { useEffect, useState } from 'react'
import { PlusCircle } from 'lucide-react'
import { motion } from 'framer-motion'
import 'glassmorphic/glassmorphic.css'

interface SearchResultsImageSectionProps {
images: string[]
Expand Down Expand Up @@ -67,12 +66,12 @@ export const SearchResultsImageSection: React.FC<
<Dialog key={index}>
<DialogTrigger asChild>
<motion.div
className="w-[calc(50%-0.5rem)] md:w-[calc(25%-0.5rem)] aspect-video cursor-pointer relative glassmorphic"
className="w-[calc(50%-0.5rem)] md:w-[calc(25%-0.5rem)] aspect-video cursor-pointer relative backdrop-blur-md bg-background/30 border border-border/40 shadow-lg rounded-lg"
onClick={() => setSelectedIndex(index)}
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 0.95 }}
>
<Card className="flex-1 h-full">
<Card className="flex-1 h-full bg-transparent border-none shadow-none">
<CardContent className="p-2 h-full w-full">
{image ? (
<img
Expand All @@ -95,7 +94,7 @@ export const SearchResultsImageSection: React.FC<
)}
</motion.div>
</DialogTrigger>
<DialogContent className="sm:max-w-3xl max-h-[80vh] overflow-auto glassmorphic">
<DialogContent className="sm:max-w-3xl max-h-[80vh] overflow-auto backdrop-blur-md bg-background/30 border border-border/40 shadow-lg">
<DialogHeader>
<DialogTitle>Search Images</DialogTitle>
<DialogDescription className="text-sm">{query}</DialogDescription>
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"exa-js": "^1.6.13",
"framer-motion": "^12.23.24",
"geotiff": "^2.1.4-beta.1",
"glassmorphic": "^0.0.3",
"katex": "^0.16.22",
"lodash": "^4.17.21",
"lottie-react": "^2.4.1",
Expand Down