mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 01:01:38 +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-sky-100 hover:bg-opacity-50',
|
||||||
// 'hover:bg-rua-gray-100 hover:bg-opacity-10',
|
// 'hover:bg-rua-gray-100 hover:bg-opacity-10',
|
||||||
'dark:hover:bg-rua-gray-800 dark:hover:bg-opacity-100',
|
'dark:hover:bg-rua-gray-800 dark:hover:bg-opacity-100',
|
||||||
'flex items-center justify-between',
|
'flex items-center justify-between text-gray-800 ',
|
||||||
'mb-4'
|
'mb-4 dark:text-gray-200'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { FC } from 'react';
|
import { FC } from 'react';
|
||||||
import dynamic from 'next/dynamic';
|
import dynamic from 'next/dynamic';
|
||||||
import { renderToString } from 'react-dom/server';
|
// import { renderToString } from 'react-dom/server';
|
||||||
|
|
||||||
const Footer = dynamic(() => import('components/Footer'));
|
const Footer = dynamic(() => import('components/Footer'));
|
||||||
const HeadBar = dynamic(() => import('components/NavBar'));
|
const HeadBar = dynamic(() => import('components/NavBar'));
|
||||||
|
@ -2,12 +2,12 @@ import { Html, Head, Main, NextScript } from 'next/document';
|
|||||||
|
|
||||||
export default function Document() {
|
export default function Document() {
|
||||||
return (
|
return (
|
||||||
<Html>
|
<Html lang="en">
|
||||||
<Head>
|
<Head>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
||||||
<link
|
<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"
|
rel="stylesheet"
|
||||||
/>
|
/>
|
||||||
</Head>
|
</Head>
|
||||||
|
@ -14,7 +14,7 @@ const Blog = ({ posts }: InferGetStaticPropsType<typeof getStaticProps>) => {
|
|||||||
<h1
|
<h1
|
||||||
className={cn(
|
className={cn(
|
||||||
'text-5xl font-bold text-center font-Barlow',
|
'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
|
Blog posts
|
||||||
|
@ -14,7 +14,7 @@ const Home: NextPageWithLayout = () => {
|
|||||||
</Head>
|
</Head>
|
||||||
|
|
||||||
<main className="h-[calc(100vh-142px)] flex justify-center items-center text-xl">
|
<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">
|
<div className="max-w-xl leading-10">
|
||||||
<h1 className="pb-4 text-4xl">Hi there 👋, I'm Arthur. </h1>
|
<h1 className="pb-4 text-4xl">Hi there 👋, I'm Arthur. </h1>
|
||||||
<p>I'm a Fron-end developer. Yes, that's mean</p>
|
<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