From 33831798ce564db661daf4628cf212ace08f4dd7 Mon Sep 17 00:00:00 2001 From: Do Duc Quan Date: Sun, 7 Jan 2024 18:06:00 +0700 Subject: [PATCH] Add image --- ...udentCouncil-0.PNG => StudentCouncil-00.png} | Bin src/views/image.tsx | 16 +++++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) rename assets/pictures/post/{StudentCouncil-0.PNG => StudentCouncil-00.png} (100%) diff --git a/assets/pictures/post/StudentCouncil-0.PNG b/assets/pictures/post/StudentCouncil-00.png similarity index 100% rename from assets/pictures/post/StudentCouncil-0.PNG rename to assets/pictures/post/StudentCouncil-00.png diff --git a/src/views/image.tsx b/src/views/image.tsx index ba37650..78e805e 100644 --- a/src/views/image.tsx +++ b/src/views/image.tsx @@ -1,3 +1,7 @@ +// Do Duc Quan's Personal Website +// GNL General Public License v3 +// Copyright (c) Do Duc Quan. All rights reserved. + import * as React from 'react'; import { useState, useEffect } from 'react'; import '../stylesheets/image.css'; @@ -23,12 +27,10 @@ export const FastImage = ({ }, [src]); return ( -
- {props.alt -
+ {props.alt ); };