fix broken image
This commit is contained in:
parent
81a5f3c0a9
commit
6711797f99
2 changed files with 5 additions and 2 deletions
|
@ -26,4 +26,4 @@ The dummies guide to maintaining a Next.js project:
|
|||
- Try to use CSS modules for your components. You can access them from your modules by importing them (`import styles from './path-to-css-module` and using them in your components with `className={styles.class_name}`). This will allow you to use the same class names in different parts of the website without any conflicts, as Post CSS will generate unique classes from the CSS modules.
|
||||
- Important: THIS IS NOT JAVASCRIPT! You CANNOT use global variables, window variables, etc, or even stateful variables that are meant to persist beyond a single refresh cycle (which can happen many times per second). Use the STATE for this (see [the module we are using for state management](https://github.com/pmndrs/zustand))
|
||||
- Try to define modules for your components instead of putting everything in one file to avoid JANK
|
||||
- You should put all static assets like images, icons, sound bytes, etc, in the `public` folder. These assets will be made available at the root directory `/`. For example, if `eecs-wordmark.png` is in `public`, then I can access it from an image element like so: `<img src="/eecs-wordmark.png />`.
|
||||
- You should put all static assets like images, icons, sound bytes, etc, in the `public` folder. These assets will be made available at the root directory `/`. For example, if `eecs-wordmark.png` is in `public`, then I can access it from an image element like so: `<img src="/eecs-wordmark.png" />`.
|
||||
|
|
|
@ -31,7 +31,10 @@ export default function RootLayout({
|
|||
<div className={styles.header}>
|
||||
<div className='max-w-[1200px] flex flex-nowrap mx-auto justify-between items-center'>
|
||||
<Link href='/affiliation/1280-eecs'>
|
||||
<img className='h-[100px] mt-4' src='/eecs-wordmark.png' />
|
||||
<img
|
||||
className='h-[100px] mt-4'
|
||||
src='/img/logos/eecs-wordmark.png'
|
||||
/>
|
||||
</Link>
|
||||
<p className={`max-w-[600px] hidden md:inline`}>
|
||||
We gratefully acknowledge support from our volunteer peer
|
||||
|
|
Loading…
Reference in a new issue