-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dragon on left #53
dragon on left #53
Changes from 1 commit
13006cd
2fe0289
83a0135
20e4d0d
a6908fc
d765257
edf78d5
500a7b0
5326175
553480f
b118688
e12c5a8
c1f54ec
a4c2430
b01c121
f83f9e0
7832339
b7be698
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -4,11 +4,22 @@ import QuoteBox from "@/components/home/QuoteBox"; | |||||
import quotes from "@/data/quote-data"; | ||||||
import EHTitle from "@/components/events/EventHighlightsTitle"; | ||||||
import MissionStatement from "@/components/home/MissionStatement"; | ||||||
|
||||||
import Image from "next/image"; | ||||||
const Home = () => { | ||||||
return ( | ||||||
<div className="bg-csa-tan-100 pt-[12.2vh] md:pt-[14.4vh]"> | ||||||
<MissionStatement /> | ||||||
<div className="bg-csa-tan-100"> | ||||||
<div className="grid grid-flow-col grid-rows-3 gap-4"> | ||||||
<Image | ||||||
src="/home/dragon.png" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Import it at the top as so -- |
||||||
alt="dragon" | ||||||
width={450} | ||||||
height={450} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. don't hardcode these properties |
||||||
className="row-span-3" | ||||||
/> | ||||||
<div className="col-span-2 row-span-2 row-start-3"> | ||||||
<MissionStatement /> | ||||||
</div> | ||||||
</div> | ||||||
<EHTitle /> | ||||||
<XinDescription /> | ||||||
{quotes.map(({ quote, person }, index) => ( | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're doing a lot of extra work than you need to, all you have to do is absolutely position the dragon to the left side of the page