Merge pull request #5 from bluestar-b/main

colorful update
This commit is contained in:
Phapoom Saksri 2024-04-16 02:05:15 +07:00 committed by GitHub
commit bc5b04bf2a
6 changed files with 13 additions and 10 deletions

BIN
public/bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 KiB

View file

@ -1,5 +1,6 @@
// About.js // About.js
import Twemoji from "react-twemoji" import Twemoji from "react-twemoji"
import Link from "next/link"
import PageLink from "./PageLink.jsx" import PageLink from "./PageLink.jsx"
const About = () => { const About = () => {
return ( return (
@ -11,12 +12,12 @@ const About = () => {
<div className="p-4 text-balance max-w-md "> <div className="p-4 text-balance max-w-md ">
<Twemoji options={{ className: "twemoji w-4 h-4 inline-block" }}> <Twemoji options={{ className: "twemoji w-4 h-4 inline-block" }}>
Hey, I'm blueskychan_, a 14-year-old student at{" "} Hey, I'm blueskychan_, a 14-year-old student at{" "}
<a <Link
className="p-1 bg-blue-600/20 transition-colors hover:bg-blue-700 font-bold" className="border px-2.5 py-0.5 mr-1 rounded-lg hover:underline bg-blue-600/20 transition-colors hover:bg-blue-700 font-bold"
href="https://bs.ac.th" href="https://bs.ac.th"
> >
Benjamarachanusorn Benjamarachanusorn
</a> </Link>
School in Nonthaburi, Thailand 🇹🇭. I love computer and programming, School in Nonthaburi, Thailand 🇹🇭. I love computer and programming,
with skills in C# and C++. Currently learning Python, JavaScript, and with skills in C# and C++. Currently learning Python, JavaScript, and
Go! I enjoy osu!, Minecraft, and Roblox. Music is randomly, and I've Go! I enjoy osu!, Minecraft, and Roblox. Music is randomly, and I've

View file

@ -2,7 +2,7 @@ const PageLink = ({ to, text }) => {
return ( return (
<a <a
href={to} href={to}
className="p-1 bg-blue-600/20 transition-colors hover:bg-blue-700 font-bold rounded-lg border-2 border-blue/50" className="px-2.5 py-0.5 bg-blue-600/20 transition-colors hover:bg-blue-700 font-bold rounded-lg border border-blue/50"
> >
{text} {text}
</a> </a>

View file

@ -1,8 +1,8 @@
const Profile = () => { const Profile = () => {
return ( return (
<div className="text-gray-300 text-lg"> <div className="text-lg">
<p className="space-x-1"> <p className="space-x-1">
<span className="text-gray-100 text-lg font-bold md:text-xl"> <span className="text-lg font-bold md:text-xl">
blueskychan_ blueskychan_
</span> </span>
<span className="font-extralight text-base md:text-xl"> <span className="font-extralight text-base md:text-xl">

View file

@ -22,7 +22,7 @@ export default function Home() {
<main <main
className={`flex min-h-screen items-center justify-center ${inter.className}`} className={`flex min-h-screen items-center justify-center ${inter.className}`}
> >
<div className="backdrop-blur-md bg-gray-700/50 rounded-lg p-3 max-w-md md:max-w-lg overflow-hidden overflow-ellipsis"> <div className="backdrop-blur-md bg-[#1b1327]/50 rounded-lg p-3 max-w-md md:max-w-lg overflow-hidden overflow-ellipsis">
<div className="flex flex-row space-x-3 items-center p-3"> <div className="flex flex-row space-x-3 items-center p-3">
<Avatar /> <Avatar />
<Profile /> <Profile />

View file

@ -3,13 +3,15 @@
@tailwind utilities; @tailwind utilities;
html { html {
--background-image: url("/illust_111261733_20231222_212212-min.webp");
--background-image: url("/bg.jpg");
background-image: var(--background-image); background-image: var(--background-image);
background-repeat: no-repeat; background-repeat: no-repeat;
background-attachment: fixed; background-attachment: fixed;
background-size: cover; background-size: cover;
background-position: center center; background-position: center center;
color: rgb(255, 255, 255); color: #ffc6d7fc;
height: 100%; height: 100%;
} }