Skip to content

Commit 24f3d5b

Browse files
authored
feat(design)!: Introduce new portfolio design (#25)
1 parent e463dfb commit 24f3d5b

50 files changed

Lines changed: 890 additions & 32 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ yarn-debug.log*
2525
yarn-error.log*
2626

2727
# local env files
28+
.env
2829
.env.local
2930
.env.development.local
3031
.env.test.local

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@
1010
},
1111
"dependencies": {
1212
"@tailwindcss/vite": "^4.1.18",
13+
"classnames": "^2.5.1",
1314
"lodash": "^4.17.21",
1415
"react": "^19.0.0",
1516
"react-dom": "^19.0.0",
17+
"react-grid-layout": "^2.2.2",
1618
"styled-components": "^6.1.13",
17-
"tailwindcss": "^4.1.18"
19+
"tailwindcss": "^4.1.18",
20+
"tailwindcss-safe-area": "^1.3.0"
1821
},
1922
"devDependencies": {
2023
"@eslint/js": "^9.39.2",
11.4 KB
Loading

public/images/profile/amos.jpeg

692 KB
Loading
298 KB
Loading
80 KB
Loading
74 KB
Loading
659 KB
Loading

src/App.tsx

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
import React from 'react';
2-
import { ThemeProvider } from 'styled-components';
32

4-
import Introduction from './components/Introduction';
5-
import Projects from './components/Projects';
6-
import DefaultLayout from './layout/DefaultLayout';
7-
import { theme } from './theme';
3+
import DefaultLayout from './layouts/DefaultLayout';
4+
import Introduction from './shared/components/Introduction';
5+
import Projects from './shared/components/Projects';
86

97
const App: React.FC = () => {
108
return (
11-
<ThemeProvider theme={theme}>
12-
<DefaultLayout title="Portfolio">
13-
<div className="flex flex-col">
14-
<Introduction />
15-
<Projects />
16-
</div>
17-
</DefaultLayout>
18-
</ThemeProvider>
9+
<DefaultLayout title="Portfolio">
10+
<div className="flex flex-col">
11+
<Introduction />
12+
<Projects />
13+
</div>
14+
</DefaultLayout>
1915
);
2016
};
2117

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import React from 'react';
2-
import styled from 'styled-components';
32

4-
import SEO from '../components/SEO';
5-
6-
const Wrapper = styled.div`
7-
margin: 0 auto;
8-
`;
3+
import SEO from '../shared/components/SEO';
94

105
interface Props {
116
title?: string;
@@ -15,10 +10,10 @@ const DefaultLayout: React.FC<React.PropsWithChildren<Props>> = (props) => {
1510
const { title = 'Amos Tan', children } = props;
1611

1712
return (
18-
<Wrapper>
13+
<div className="m-auto ">
1914
<SEO title={title} />
2015
<main>{children}</main>
21-
</Wrapper>
16+
</div>
2217
);
2318
};
2419

0 commit comments

Comments
 (0)