mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
chore: adapt <Image> & <Link> to next.js 13
This commit is contained in:
parent
377391234b
commit
73fd013e07
9 changed files with 83 additions and 81 deletions
|
|
@ -2,7 +2,7 @@ import type { NextPage } from "next";
|
|||
import { motion } from "framer-motion";
|
||||
import styled from "styled-components";
|
||||
import learnhouseBigIcon from "public/learnhouse_bigicon.png";
|
||||
import Image from "next/image";
|
||||
import Image from "next/legacy/image";
|
||||
import Link from "next/link";
|
||||
|
||||
const Home: NextPage = () => {
|
||||
|
|
@ -38,15 +38,15 @@ const Home: NextPage = () => {
|
|||
>
|
||||
<div>
|
||||
<Link href={"/organizations"}>
|
||||
<a>
|
||||
<OrgsButton>See Organizations</OrgsButton>
|
||||
</a>
|
||||
|
||||
<OrgsButton>See Organizations</OrgsButton>
|
||||
|
||||
</Link>
|
||||
<br /><br />
|
||||
<Link href={"/login"}>
|
||||
<a>
|
||||
<OrgsButton>Login</OrgsButton>
|
||||
</a>
|
||||
|
||||
<OrgsButton>Login</OrgsButton>
|
||||
|
||||
</Link>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue