Skip to content

Commit

Permalink
chore!: remove bun (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
  • Loading branch information
NeonGamerBot-QK and zeon-neon[bot] authored Sep 7, 2024
1 parent 52b64ab commit 8ea8386
Showing 1 changed file with 43 additions and 40 deletions.
83 changes: 43 additions & 40 deletions src/components/AboutPage/index.tsx
Original file line number Diff line number Diff line change
@@ -1,49 +1,52 @@
import { mdiBullet } from '@mdi/js'
import Icon from '@mdi/react'
import { useEffect, useState } from 'react'
import { mdiBullet } from "@mdi/js";
import Icon from "@mdi/react";
import { useEffect, useState } from "react";

export default function AboutPage () {
const [currentGrade, setCurrentGrade] = useState<string>("0th")
export default function AboutPage() {
const [currentGrade, setCurrentGrade] = useState<string>("0th");
useEffect(() => {
let year:number = new Date().getFullYear()
let year: number = new Date().getFullYear();
if (year > 2027) {
let result = year - 2027
switch(result) {
case 0:
setCurrentGrade(`12th`)
break;
default:
setCurrentGrade(`Collage Student`)
break;
let result = year - 2027;
switch (result) {
case 0:
setCurrentGrade(`12th`);
break;
default:
setCurrentGrade(`Collage Student`);
break;
}
} else {
setCurrentGrade(`${Math.abs((2027 - 2024) - 13)}th`)
setCurrentGrade(`${Math.abs(2027 - 2024 - 13)}th`);
}
})
return <div className={'hero min-h-screen md:ml-0 ml-2'}>
<div className='container'>
<h1 className='text-3xl font-bold'>
Some info about <span className='text-highlight'>me</span>
</h1>
<div>
<blockquote className='mb-0 blockquote'>
<p style={{ textAlign: 'justify' }}>
Hi Everyone, I am{' '}
<span className='text-highlight '>Saahil dutta, </span>
from <span className='text-highlight '> USA </span>
<br />I am a {currentGrade} grader in KCD.
<br />
<br />
Apart from coding, some other activities that I love to do!
</p>
<ul>
<li className='about-activity'>
<Icon path={mdiBullet} className='inline-block'size={1} /> Playing Games
</li>
<li className='about-activity'>
<Icon path={mdiBullet} className='inline-block' size={1} /> Eating different types of food
</li>
{/* <li className="about-activity">
});
return (
<div className={"hero min-h-screen md:ml-0 ml-2"}>
<div className="container">
<h1 className="text-3xl font-bold">
Some info about <span className="text-highlight">me</span>
</h1>
<div>
<blockquote className="mb-0 blockquote">
<p style={{ textAlign: "justify" }}>
Hi Everyone, I am{" "}
<span className="text-highlight ">Saahil dutta, </span>
from <span className="text-highlight "> USA </span>
<br />I am a {currentGrade} grader in KCD.
<br />
<br />
Apart from coding, some other activities that I love to do!
</p>
<ul>
<li className="about-activity">
<Icon path={mdiBullet} className="inline-block" size={1} />{" "}
Playing Games
</li>
<li className="about-activity">
<Icon path={mdiBullet} className="inline-block" size={1} />{" "}
Eating different types of food
</li>
{/* <li className="about-activity">
<ImPointRight className="inline-block"/> Traveling
</li> */}
<li className="about-activity">
Expand Down

0 comments on commit 8ea8386

Please sign in to comment.