Skip to content

Commit

Permalink
Update self intro paragraph (draft) and scaffold blog + gallery page
Browse files Browse the repository at this point in the history
  • Loading branch information
ALPHAAAL committed Mar 27, 2024
1 parent 6921fb7 commit 83b4f4d
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 7 deletions.
7 changes: 4 additions & 3 deletions src/components/About/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Link } from 'react-router-dom';
import ImageMap from '../../assets/img/hash-source-map'
import LazyImage from '../LazyImage';

Expand All @@ -11,13 +12,13 @@ export default function About() {
<h1 className="mt-3 text-6xl font-bold">Alex Lau</h1>
<div className='mt-4 leading-relaxed sm:leading-loose text-lg tracking-wider'>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur posuere tincidunt nulla in egestas. Etiam in aliquam ipsum, in sagittis ex. Duis fermentum commodo malesuada. Sed consequat magna eu nunc tempus ultrices. Vivamus nisi sem, varius non mi quis, tempor gravida ipsum. Vestibulum sodales, leo et ultrices pellentesque, lorem ipsum pharetra quam, quis dapibus neque felis eu diam. Nunc pellentesque massa eu nibh congue condimentum. Donec eget sem vitae neque dignissim eleifend. Aliquam quis lacus ante. Sed in lectus et dui elementum scelerisque sit amet eu leo. Fusce volutpat dolor et est viverra porttitor.
Hi there! I am a software engineer from Hong Kong with a passion for developing high-performance software and crafting fluid web application with React. I have experience in building an experimental 2D vector graphics renderer with Rust + WebGPU + WASM, and since that project, I fell in love with computer graphics and Rust, so in my free time, I like to watch YouTube tutorials about those topics and implement related fun projects.
</p>
<p className='mt-3'>
Integer fringilla enim justo, nec ullamcorper enim fringilla at. Donec ullamcorper mollis varius. Curabitur vitae magna nec mi dignissim suscipit eget sed lorem. Nam interdum consequat luctus. Cras vel nisl eu mi dignissim pellentesque et non velit. Fusce et accumsan elit, eu ultricies enim. Sed malesuada eget ex vel pellentesque. Maecenas consectetur vel massa in fringilla. Quisque a lacus mattis libero pulvinar commodo quis sed urna. Proin at nulla sapien.
Outside of my programming life, I have a wide range of hobbies that keep my mind and body engaged. From reading books, to doing digital paintings, and hiking around the world for beautiful landscape photos (Checkout my photos <Link className='italic underline' to='/gallery'>here</Link>!). I always keep an open-mind for experiencing and learning something new, so that I can get a multifaceted perspective in life, and towards different problems.
</p>
<p className='mt-3'>
Mauris malesuada purus tristique pretium convallis. Mauris rutrum leo vel metus malesuada, et ullamcorper libero vulputate. Maecenas pharetra vitae est non hendrerit. Fusce nec nulla enim. Etiam rutrum sem a neque venenatis tincidunt. Vestibulum sed eros purus. Integer cursus dictum ullamcorper. Maecenas eu metus ut nulla ornare tristique sit amet mollis risus.
I also like to keep a blog of the fun / difficult problems that I have encountered during my work / personal projects, so feel free to check out my <Link className='italic underline' to='/blog'>Blog</Link> section, and share your thoughts to me! :)
</p>
</div>
</div>
Expand Down
7 changes: 7 additions & 0 deletions src/components/Blog/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function Blog() {
return (
<div>
Under construction :P
</div>
)
}
7 changes: 7 additions & 0 deletions src/components/Gallery/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function Gallery() {
return (
<div>
Under construction :P
</div>
)
}
4 changes: 2 additions & 2 deletions src/components/NavigationBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export default function NavigationBar() {
return (
<div className={`px-2 sm:flex sm:justify-between items-center align-middle hidden fixed bottom-5 left-[50%] ml-[-150px] bg-red-400 w-[300px] h-[50px]`}>
<Link to="/about">About</Link>
<Link to="/about">Gallery</Link>
<Link to="/about">Blog</Link>
<Link to="/gallery">Gallery</Link>
<Link to="/blog">Blog</Link>
</div>
)
}
4 changes: 2 additions & 2 deletions src/components/NavigationMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ function Menu({ onMenuClose, isMenuOpen }: {
<nav>
<ul className="divide-y-[1px] py-2 divide-slate-800 text-base text-slate-300">
<li className="py-1"><Link onClick={onMenuClose} to="/about">About</Link></li>
<li className="py-1"><Link onClick={onMenuClose} to="/about">Gallery</Link></li>
<li className="py-1"><Link onClick={onMenuClose} to="/about">Blog</Link></li>
<li className="py-1"><Link onClick={onMenuClose} to="/gallery">Gallery</Link></li>
<li className="py-1"><Link onClick={onMenuClose} to="/blog">Blog</Link></li>
</ul>
</nav>
</div>
Expand Down
10 changes: 10 additions & 0 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import {
} from "react-router-dom";

import About from './components/About';
import Blog from './components/Blog';
import Home from './components/Home'
import Gallery from './components/Gallery';
import Layout from './components/Layout';

import './index.css'
Expand All @@ -24,6 +26,14 @@ const router = createBrowserRouter([
path: "/about",
element: (<About />),
},
{
path: "/blog",
element: (<Blog />),
},
{
path: "/gallery",
element: (<Gallery />),
},
]
},
]);
Expand Down

0 comments on commit 83b4f4d

Please sign in to comment.