Buckets:
| import Image from "next/image"; | |
| import ViewSource from "../../components/view-source"; | |
| import styles from "../../styles.module.css"; | |
| import mountains from "../../public/mountains.jpg"; | |
| const BackgroundPage = () => ( | |
| <div> | |
| <ViewSource pathname="app/background/page.tsx" /> | |
| <div className={styles.bgWrap}> | |
| <Image | |
| alt="Mountains" | |
| src={mountains} | |
| placeholder="blur" | |
| quality={100} | |
| fill | |
| sizes="100vw" | |
| style={{ | |
| objectFit: "cover", | |
| }} | |
| /> | |
| </div> | |
| <p className={styles.bgText}> | |
| Image Component | |
| <br /> | |
| as a Background | |
| </p> | |
| </div> | |
| ); | |
| export default BackgroundPage; | |
Xet Storage Details
- Size:
- 682 Bytes
- Xet hash:
- c431431fa74d37c027b2db2a118eedce1dc009cd90db65cd098c15b4c1205cef
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.