mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2024-11-09 23:39:40 +00:00
chore!: remove bun (#9)
Co-authored-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
52b64ab9a9
commit
8ea8386416
1 changed files with 43 additions and 40 deletions
|
@ -1,49 +1,52 @@
|
||||||
import { mdiBullet } from '@mdi/js'
|
import { mdiBullet } from "@mdi/js";
|
||||||
import Icon from '@mdi/react'
|
import Icon from "@mdi/react";
|
||||||
import { useEffect, useState } from 'react'
|
import { useEffect, useState } from "react";
|
||||||
|
|
||||||
export default function AboutPage () {
|
export default function AboutPage() {
|
||||||
const [currentGrade, setCurrentGrade] = useState<string>("0th")
|
const [currentGrade, setCurrentGrade] = useState<string>("0th");
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let year:number = new Date().getFullYear()
|
let year: number = new Date().getFullYear();
|
||||||
if (year > 2027) {
|
if (year > 2027) {
|
||||||
let result = year - 2027
|
let result = year - 2027;
|
||||||
switch(result) {
|
switch (result) {
|
||||||
case 0:
|
case 0:
|
||||||
setCurrentGrade(`12th`)
|
setCurrentGrade(`12th`);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
setCurrentGrade(`Collage Student`)
|
setCurrentGrade(`Collage Student`);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} 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'}>
|
return (
|
||||||
<div className='container'>
|
<div className={"hero min-h-screen md:ml-0 ml-2"}>
|
||||||
<h1 className='text-3xl font-bold'>
|
<div className="container">
|
||||||
Some info about <span className='text-highlight'>me</span>
|
<h1 className="text-3xl font-bold">
|
||||||
</h1>
|
Some info about <span className="text-highlight">me</span>
|
||||||
<div>
|
</h1>
|
||||||
<blockquote className='mb-0 blockquote'>
|
<div>
|
||||||
<p style={{ textAlign: 'justify' }}>
|
<blockquote className="mb-0 blockquote">
|
||||||
Hi Everyone, I am{' '}
|
<p style={{ textAlign: "justify" }}>
|
||||||
<span className='text-highlight '>Saahil dutta, </span>
|
Hi Everyone, I am{" "}
|
||||||
from <span className='text-highlight '> USA </span>
|
<span className="text-highlight ">Saahil dutta, </span>
|
||||||
<br />I am a {currentGrade} grader in KCD.
|
from <span className="text-highlight "> USA </span>
|
||||||
<br />
|
<br />I am a {currentGrade} grader in KCD.
|
||||||
<br />
|
<br />
|
||||||
Apart from coding, some other activities that I love to do!
|
<br />
|
||||||
</p>
|
Apart from coding, some other activities that I love to do!
|
||||||
<ul>
|
</p>
|
||||||
<li className='about-activity'>
|
<ul>
|
||||||
<Icon path={mdiBullet} className='inline-block'size={1} /> Playing Games
|
<li className="about-activity">
|
||||||
</li>
|
<Icon path={mdiBullet} className="inline-block" size={1} />{" "}
|
||||||
<li className='about-activity'>
|
Playing Games
|
||||||
<Icon path={mdiBullet} className='inline-block' size={1} /> Eating different types of food
|
</li>
|
||||||
</li>
|
<li className="about-activity">
|
||||||
{/* <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
|
<ImPointRight className="inline-block"/> Traveling
|
||||||
</li> */}
|
</li> */}
|
||||||
<li className="about-activity">
|
<li className="about-activity">
|
||||||
|
|
Loading…
Reference in a new issue