making background custom based on layout

This commit is contained in:
Arjun Patel
2022-01-13 18:20:51 -08:00
parent 9a945edd87
commit 9f5b3d072a
6 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import Image from 'next/image';
export default function Home() {
return (
<div className={styles.container}>
<div className='container m-20'>
<main className="space-y-10">
<p id="main-title">nirvana</p>
+4 -2
View File
@@ -28,6 +28,8 @@ import { BsThreeDots } from "react-icons/bs";
import { UserStatus, User } from '../../models/user'
import { KeyCode } from '../../globals/keycode'
import BackgroundLayout from '../../components/Layouts/BackgroundLayout'
let testFriends = [
{
name: "Liam",
@@ -163,7 +165,7 @@ export default class Demo extends React.Component<{ }, MyState> {
render() {
return (
<>
<BackgroundLayout>
<div className="container mx-auto max-w-screen-xl py-10 flex flex-col space-y-5">
{/* header content */}
<section className="flex-1 flex flex-row items-center justify-between py-5">
@@ -846,7 +848,7 @@ export default class Demo extends React.Component<{ }, MyState> {
</span>
</section>
</div>
</>
</BackgroundLayout>
)
}