-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added resource asset for fonts in webpack config
- Loading branch information
1 parent
5a45d14
commit e530f1d
Showing
8 changed files
with
151 additions
and
150 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,6 +1,7 @@ | ||
import ReactDOM from 'react-dom/client'; | ||
import Root from './root'; | ||
import './tailwind.css'; | ||
import './styles/globals.css'; | ||
|
||
const root = ReactDOM.createRoot(document.getElementById('root')); | ||
root.render(<Root />); |
Binary file not shown.
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,9 +1,9 @@ | ||
const Root = () => ( | ||
<h1 className="w-full h-full flex flex-col justify-center items-center overflow-x-hidden bg-lime-200 sm:bg-slate-500 text-violet-600 sm:text-lime-500"> | ||
<div>Hello, world!</div> | ||
<div className="w-full h-full flex flex-col justify-center items-center overflow-x-hidden bg-slate-500 text-violet-400 sm:text-lime-500"> | ||
<h1 className="font-gib">Hello, world!</h1> | ||
<a href="https://www.linkedin.com/in/user1910524aaaa/"> | ||
<img src="/images/linkedin-filled.svg" alt="LinkedIn Icon" /> | ||
</a> | ||
</h1> | ||
</div> | ||
); | ||
export default Root; |
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,34 @@ | ||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
@font-face { | ||
font-family: 'squarepeg'; | ||
font-style: normal; | ||
src: url('/build/fonts/SquarePeg-Regular.ttf') format('truetype'); | ||
font-weight: 400; | ||
} | ||
|
||
h1 { | ||
font-size: 4.4rem; | ||
} | ||
|
||
h2 { | ||
font-size: 4.2rem; | ||
} | ||
|
||
h3 { | ||
font-size: 4rem; | ||
} | ||
|
||
h4 { | ||
font-size: 3.8rem; | ||
} | ||
|
||
h5 { | ||
font-size: 3.6rem; | ||
} | ||
|
||
h6 { | ||
font-size: 3.5rem; | ||
} |
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
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,7 +1,11 @@ | ||
module.exports = { | ||
content: ['./src/**/*.{js,jsx,ts,tsx}'], | ||
theme: { | ||
extend: {}, | ||
extend: { | ||
fontFamily: { | ||
gib: 'squarepeg', | ||
}, | ||
}, | ||
}, | ||
plugins: [], | ||
}; |
Oops, something went wrong.