Add bold font

This commit is contained in:
DefectingCat
2022-03-26 10:19:03 +08:00
parent 5b71b49814
commit 5d89ed048d
6 changed files with 7 additions and 7 deletions

View File

@ -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>

View File

@ -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'));

View File

@ -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>

View File

@ -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

View File

@ -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&apos;m Arthur. </h1>
<p>I&apos;m a Fron-end developer. Yes, that&apos;s mean</p>

0
styles/rua.css Normal file
View File