Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
suhanw committed Jan 17, 2025
1 parent 4366de4 commit e1daf2b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
"editor.formatOnSave": false
}
2 changes: 1 addition & 1 deletion components/intro/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Intro = () => {
const introRef = useRef();
useLayoutEffect(() => {
if (introRef.current) {
introRef.current.style.height = `${window.innerHeight}px`;
introRef.current.style.height = `${introRef.current.offsetHeight}px`;
}
}, []);

Expand Down
2 changes: 1 addition & 1 deletion pages/auteur-preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default () => {
<article className={style.contentWrapper}>
<h1>Auteur</h1>
<a className={style.cta} href="/auteur">
<span>www.suhanwijaya.com/auteur</span>
<span>suhanwijaya.com/auteur</span>
<img src="/icons/external-link.svg" />
</a>
<p>
Expand Down
2 changes: 1 addition & 1 deletion pages/mapmycruise-preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default () => {
<article className={style.contentWrapper}>
<h1>MapMyCruise</h1>
<a className={style.cta} href="/mapmycruise">
<span>www.suhanwijaya.com/mapmycruise</span>
<span>suhanwijaya.com/mapmycruise</span>
<img src="/icons/external-link.svg" />
</a>
<p>
Expand Down
2 changes: 1 addition & 1 deletion pages/tmnt-preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default () => {
<article className={style.contentWrapper}>
<h1>TMNT React</h1>
<a className={style.cta} href="/tmnt">
<span>www.suhanwijaya.com/tmnt</span>
<span>suhanwijaya.com/tmnt</span>
<img src="/icons/external-link.svg" />
</a>
<p>
Expand Down

0 comments on commit e1daf2b

Please sign in to comment.