-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06153a1
commit e255134
Showing
5 changed files
with
38 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
"extends": "next/core-web-vitals", | ||
"rules": { | ||
"react/jsx-first-prop-new-line": [2, "multiline"], | ||
"react/jsx-max-props-per-line": [2, { "maximum": 1, "when": "multiline" }], | ||
"react/jsx-indent-props": [2, 2], | ||
"react/jsx-closing-bracket-location": [2, "tag-aligned"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"cSpell.words": ["CODECRAFT", "tailwindcss"], | ||
"prettier.configPath": "./prettier.config.js", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,29 @@ | ||
import Image from 'next/image'; | ||
|
||
export default function Hero() { | ||
return ( | ||
<div | ||
className="bg-gray-100 w-full h-[100vh] max-h-[1300px] | ||
flex flex-col justify-center items-center" | ||
flex flex-col-reverse justify-center items-center" | ||
> | ||
<h1 className="font-extrabold text-5xl"> | ||
HackRU! | ||
</h1> | ||
<span> | ||
Hack all knight looonnnggg | ||
</span> | ||
<Image | ||
src="/landing/fire.png" | ||
width="0" | ||
height="0" | ||
sizes="100vw" | ||
alt="Fire" | ||
/* https://stackoverflow.com/questions/69230343/nextjs-image-component-with-fixed-witdth-and-auto-height */ | ||
className="w-80 h-auto" | ||
priority | ||
/> | ||
|
||
<div className="flex flex-col text-center grow justify-center text-3xl space-y-4"> | ||
<div className="text-xl mb-2">WELCOME TO OUR</div> | ||
<div>SCHOOL OF</div> | ||
<div>CODECRAFT &</div> | ||
<div>WIZARDRY!</div> | ||
</div> | ||
|
||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.