mirror of
https://github.com/ihatenodejs/aidxnCC.git
synced 2025-04-25 05:55:58 +00:00
clean: bump, add link component :p, minor misc cleanup fixes
This commit is contained in:
parent
75d352c101
commit
3cf2b0f4cd
@ -7,7 +7,7 @@ import { MdOutlineAndroid } from "react-icons/md"
|
|||||||
import { LuPackageOpen } from "react-icons/lu"
|
import { LuPackageOpen } from "react-icons/lu"
|
||||||
import { RiTelegram2Fill } from "react-icons/ri"
|
import { RiTelegram2Fill } from "react-icons/ri"
|
||||||
import Image from "next/image"
|
import Image from "next/image"
|
||||||
import Link from "next/link"
|
import Link from "@/components/objects/Link"
|
||||||
import { FaStarHalfStroke, FaStar } from "react-icons/fa6"
|
import { FaStarHalfStroke, FaStar } from "react-icons/fa6"
|
||||||
|
|
||||||
export default function About() {
|
export default function About() {
|
||||||
|
22
components/objects/Link.tsx
Normal file
22
components/objects/Link.tsx
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
import { default as NextLink } from 'next/link'
|
||||||
|
|
||||||
|
interface LinkProps {
|
||||||
|
href: string
|
||||||
|
className?: string
|
||||||
|
target?: string
|
||||||
|
rel?: string
|
||||||
|
children: React.ReactNode
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function Link(props: LinkProps) {
|
||||||
|
return (
|
||||||
|
<NextLink
|
||||||
|
href={props.href}
|
||||||
|
className={`text-blue-400 hover:underline ${props.className}`}
|
||||||
|
target={props.target}
|
||||||
|
rel={props.rel}
|
||||||
|
>
|
||||||
|
{props.children}
|
||||||
|
</NextLink>
|
||||||
|
)
|
||||||
|
}
|
@ -4,7 +4,7 @@ import { User, Smartphone } from 'lucide-react'
|
|||||||
import FeaturedRepos from '../widgets/FeaturedRepos'
|
import FeaturedRepos from '../widgets/FeaturedRepos'
|
||||||
import Image from 'next/image'
|
import Image from 'next/image'
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import Link from 'next/link'
|
import Link from '@/components/objects/Link'
|
||||||
import Button from '../objects/Button'
|
import Button from '../objects/Button'
|
||||||
|
|
||||||
export default function About() {
|
export default function About() {
|
||||||
@ -40,7 +40,7 @@ export default function About() {
|
|||||||
I consider maintaining my technology as a hobby as well, as I devote a lot of time to it. I currently run Gentoo Linux on my Thinkpad T470s, which does not use a single bin package. I am very proud of this laptop, despite it's constant need for compiling updates.
|
I consider maintaining my technology as a hobby as well, as I devote a lot of time to it. I currently run Gentoo Linux on my Thinkpad T470s, which does not use a single bin package. I am very proud of this laptop, despite it's constant need for compiling updates.
|
||||||
</p>
|
</p>
|
||||||
<p className="text-gray-300 mb-4">
|
<p className="text-gray-300 mb-4">
|
||||||
I am almost always active on <Link href="https://git.pontusmail.org/" className="text-blue-400 hover:underline">my Gitea instance</Link> and GitHub and make daily contributions to several of my repositories. I am a big fan of open source software and public domain software (which most of my repos are licensed under). In fact, the website you're currently on is free and open source. It's even under the public domain!
|
I am almost always active on <Link href="https://git.pontusmail.org/">my Gitea instance</Link> and GitHub and make daily contributions to several of my repositories. I am a big fan of open source software and public domain software (which most of my repos are licensed under). In fact, the website you're currently on is free and open source. It's even under the public domain!
|
||||||
</p>
|
</p>
|
||||||
<p className="text-gray-300 mb-4">
|
<p className="text-gray-300 mb-4">
|
||||||
My Google Pixel 7 Pro (cheetah) runs LineageOS 22.1, and has been one of my favorite additions to my life. It is proudly rooted with KernelSU-Next. It has suffered one drop to it's back on a tile floor.
|
My Google Pixel 7 Pro (cheetah) runs LineageOS 22.1, and has been one of my favorite additions to my life. It is proudly rooted with KernelSU-Next. It has suffered one drop to it's back on a tile floor.
|
||||||
@ -57,8 +57,8 @@ export default function About() {
|
|||||||
</div>
|
</div>
|
||||||
<div className="mt-12">
|
<div className="mt-12">
|
||||||
<h2 className="text-2xl font-semibold mb-4 text-gray-200">My Gitea/GitHub Contributions</h2>
|
<h2 className="text-2xl font-semibold mb-4 text-gray-200">My Gitea/GitHub Contributions</h2>
|
||||||
<p className="text-gray-300 mb-4">Most of my repositories have migrated to <Link href="https://git.pontusmail.org/" className="text-blue-400 hover:underline">LibreCloud Git</Link>. My username is <Link href="https://git.pontusmail.org/aidan/" className="text-blue-400 hover:underline">aidan</Link>.</p>
|
<p className="text-gray-300 mb-4">Most of my repositories have migrated to <Link href="https://git.pontusmail.org/">LibreCloud Git</Link>. My username is <Link href="https://git.pontusmail.org/aidan/">aidan</Link>.</p>
|
||||||
<p className="text-gray-300 mb-4">You can find me on GitHub as <Link href="https://github.com/ihatenodejs/" className="text-blue-400 hover:underline">ihatenodejs</Link>.</p>
|
<p className="text-gray-300 mb-4">You can find me on GitHub as <Link href="https://github.com/ihatenodejs/">ihatenodejs</Link>.</p>
|
||||||
{!imageError && (
|
{!imageError && (
|
||||||
<div className="flex flex-col md:flex-row justify-center gap-4">
|
<div className="flex flex-col md:flex-row justify-center gap-4">
|
||||||
<Image
|
<Image
|
||||||
|
@ -4,7 +4,7 @@ import Image from 'next/image'
|
|||||||
import Button from '../objects/Button'
|
import Button from '../objects/Button'
|
||||||
import LastPlayed from '@/components/widgets/LastPlayed'
|
import LastPlayed from '@/components/widgets/LastPlayed'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import Link from 'next/link'
|
import Link from '@/components/objects/Link'
|
||||||
import { Mail } from 'lucide-react'
|
import { Mail } from 'lucide-react'
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
@ -46,7 +46,7 @@ export default function Home() {
|
|||||||
{text}
|
{text}
|
||||||
{secIndex === 2 && index === 1 && (
|
{secIndex === 2 && index === 1 && (
|
||||||
<>
|
<>
|
||||||
<Link href="https://nvd.nist.gov/vuln/detail/CVE-2025-29927" className="text-blue-400 hover:underline">
|
<Link href="https://nvd.nist.gov/vuln/detail/CVE-2025-29927">
|
||||||
CVE-2025-29927
|
CVE-2025-29927
|
||||||
</Link>
|
</Link>
|
||||||
.
|
.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react'
|
||||||
import BackButton from '../../../objects/BackButton';
|
import BackButton from '@/components/objects/BackButton'
|
||||||
|
|
||||||
const WhatWasGoingOnLateSummer2024: React.FC = () => {
|
const WhatWasGoingOnLateSummer2024: React.FC = () => {
|
||||||
return (
|
return (
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react'
|
||||||
import BackButton from '../../../objects/BackButton';
|
import BackButton from '@/components/objects/BackButton'
|
||||||
|
|
||||||
const WhatWasGoingOnLateSummer2024: React.FC = () => {
|
const WhatWasGoingOnLateSummer2024: React.FC = () => {
|
||||||
return (
|
return (
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.1",
|
||||||
"@tailwindcss/postcss": "^4.0.17",
|
"@tailwindcss/postcss": "^4.0.17",
|
||||||
"@types/node": "^20.17.27",
|
"@types/node": "^20.17.28",
|
||||||
"@types/react": "^19.0.12",
|
"@types/react": "^19.0.12",
|
||||||
"@types/react-dom": "^19.0.4",
|
"@types/react-dom": "^19.0.4",
|
||||||
"eslint": "^9.23.0",
|
"eslint": "^9.23.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user