mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Add bold font
This commit is contained in:
@ -18,8 +18,8 @@ const PostCard: FC<Props> = ({ post }) => {
|
||||
'hover:bg-sky-100 hover:bg-opacity-50',
|
||||
// 'hover:bg-rua-gray-100 hover:bg-opacity-10',
|
||||
'dark:hover:bg-rua-gray-800 dark:hover:bg-opacity-100',
|
||||
'flex items-center justify-between',
|
||||
'mb-4'
|
||||
'flex items-center justify-between text-gray-800 ',
|
||||
'mb-4 dark:text-gray-200'
|
||||
)}
|
||||
>
|
||||
<div>
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { FC } from 'react';
|
||||
import dynamic from 'next/dynamic';
|
||||
import { renderToString } from 'react-dom/server';
|
||||
// import { renderToString } from 'react-dom/server';
|
||||
|
||||
const Footer = dynamic(() => import('components/Footer'));
|
||||
const HeadBar = dynamic(() => import('components/NavBar'));
|
||||
|
@ -2,12 +2,12 @@ import { Html, Head, Main, NextScript } from 'next/document';
|
||||
|
||||
export default function Document() {
|
||||
return (
|
||||
<Html>
|
||||
<Html lang="en">
|
||||
<Head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Aleo&family=Aref+Ruqaa&family=Barlow:ital@0;1&family=Poppins:ital@0;1&display=swap"
|
||||
href="https://fonts.googleapis.com/css2?family=Aleo&family=Aref+Ruqaa&family=Barlow:ital,wght@0,400;0,600;1,400;1,600&family=Poppins:ital@0;1&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
</Head>
|
||||
|
@ -14,7 +14,7 @@ const Blog = ({ posts }: InferGetStaticPropsType<typeof getStaticProps>) => {
|
||||
<h1
|
||||
className={cn(
|
||||
'text-5xl font-bold text-center font-Barlow',
|
||||
'mt-8 mb-20'
|
||||
'mt-8 mb-20 text-gray-800 dark:text-gray-200'
|
||||
)}
|
||||
>
|
||||
Blog posts
|
||||
|
@ -14,7 +14,7 @@ const Home: NextPageWithLayout = () => {
|
||||
</Head>
|
||||
|
||||
<main className="h-[calc(100vh-142px)] flex justify-center items-center text-xl">
|
||||
<div className="w-full max-w-3xl px-10 text-2xl lg:px-0">
|
||||
<div className="fixed w-full max-w-3xl px-10 text-2xl">
|
||||
<div className="max-w-xl leading-10">
|
||||
<h1 className="pb-4 text-4xl">Hi there 👋, I'm Arthur. </h1>
|
||||
<p>I'm a Fron-end developer. Yes, that's mean</p>
|
||||
|
0
styles/rua.css
Normal file
0
styles/rua.css
Normal file
Reference in New Issue
Block a user