Skip to content

Commit

Permalink
About page scaffolding
Browse files Browse the repository at this point in the history
  • Loading branch information
ALPHAAAL committed Mar 16, 2024
1 parent 7b0c823 commit f22566d
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
Binary file added src/assets/img/DSC01603.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions src/components/About/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import ProfilePic from '../../assets/img/DSC01603.jpeg';
import SocialRow from '../SocialRow';

export default function About() {
return (
<div>
<div className="flex flex-col-reverse sm:flex-row w-full">
<div className='sm:w-[60%] sm:pr-3'>
<h1 className="text-7xl font-bold">Alex Lau</h1>
<p className='mt-6 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.
</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.
</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.
</p>
</p>
</div>
<div className='sm:w-[40%]'>
<img src={ProfilePic} />
<div>
<SocialRow />
</div>
</div>
</div>
</div>
)
}
5 changes: 5 additions & 0 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Home from './components/Home'

import './index.css'
import Layout from './components/Layout';
import About from './components/About';

const router = createBrowserRouter([
{
Expand All @@ -19,6 +20,10 @@ const router = createBrowserRouter([
path: "/",
element: (<Home />),
},
{
path: "/about",
element: (<About />),
},
]
},
]);
Expand Down

0 comments on commit f22566d

Please sign in to comment.