Cleaned up warnings

This commit is contained in:
GeorgeWebberley 2026-01-30 12:42:41 +01:00
parent 1ff0d61a19
commit bd038c4b0d
4 changed files with 11 additions and 7 deletions

View file

@ -1,4 +1,5 @@
{
"css.lint.unknownAtRules": "ignore",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {

View file

@ -2,9 +2,10 @@
import Link from "next/link";
import { motion } from "framer-motion";
import { Globe, Smartphone, Server, Gamepad2, Activity } from "lucide-react";
import { Globe, Smartphone, Server, Gamepad2 } from "lucide-react";
import { useState } from "react";
import MonitorCard from "@/components/MonitorCard";
import Image from "next/image";
export default function Home() {
const [isHoveringMonitors, setIsHoveringMonitors] = useState(false);
@ -225,7 +226,7 @@ export default function Home() {
<div className="flex items-center gap-6">
<div className="flex items-center gap-2">
<p>Pipeline Status</p>
<img
<Image
src="https://ci.georgew.dev/api/badges/11/status.svg"
alt="Build Status"
className="h-3 grayscale opacity-50 hover:opacity-100 hover:grayscale-0 transition-all"

View file

@ -1,8 +1,9 @@
"use client";
import React, { useState, useEffect } from "react";
import { useState, useEffect } from "react";
import { motion, AnimatePresence } from "framer-motion";
import { Activity } from "lucide-react";
import Image from "next/image";
const MONITORS = [
{ id: 2, name: "Datasaur" },
@ -113,12 +114,12 @@ export default function MonitorRegistry({ isHovered }: { isHovered: boolean }) {
{m.name}
</span>
<div className="flex gap-1 shrink-0 scale-90 origin-right">
<img
<Image
src={`https://status.georgew.dev/api/badge/${m.id}/status`}
className="h-5"
alt="up"
/>
<img
<Image
src={`https://status.georgew.dev/api/badge/${m.id}/avg-response/24`}
className="h-5 opacity-60"
alt="ms"

View file

@ -2,6 +2,7 @@
import { useState } from "react";
import { motion, AnimatePresence } from "framer-motion";
import Image from "next/image";
export default function ProjectShowcase({ images }: { images: string[] }) {
const [index, setIndex] = useState(0);
@ -42,7 +43,7 @@ export default function ProjectShowcase({ images }: { images: string[] }) {
: "border-neutral-800 opacity-40 hover:opacity-100"
}`}
>
<img
<Image
src={img}
className="h-full w-full object-cover"
alt={`Thumb ${i}`}