Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
7 changes: 7 additions & 0 deletions app/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const Footer = () => {
return <div>Footer</div>

}

6 changes: 6 additions & 0 deletions app/components/header.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react'

export const Header = () => {
return <div>Header</div>
}

9 changes: 9 additions & 0 deletions app/head.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export default function Head() {
return (
<>
<title></title>
<meta content="width=device-width, initial-scale=1" name="viewport" />
<link rel="icon" href="/favicon.ico" />
</>
)
}
19 changes: 19 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { Footer } from "./components/footer"
import { Header } from "./components/header"

export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html>
<head />
<body>
<Header />
{children}
<Footer />
</body>
</html>
)
}
8 changes: 8 additions & 0 deletions app/my-projects/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react'

const MyProjects = () => {
return <div>MyProjects</div>

}

export default MyProjects
9 changes: 9 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

const HomePage = () => {
return (
<div>HomePage</div>
)
}

export default HomePage
5 changes: 4 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
}
experimental: {
appDir: true,
},
};
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions pages/_app.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions pages/api/hello.ts

This file was deleted.

85 changes: 0 additions & 85 deletions pages/index.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
tailwindcss: { config: './tailwind.config.js'},
autoprefixer: {},
},
}
}
67 changes: 66 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,72 @@ module.exports = {
'./app/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {},
colors: {
black: "#191a19",
blue: "#557AFF" ,
"blue-light": "#EFF3FF",
gray: "#D9D9D9",
"gray-light": "#FaFaFa",
green: "#68F590",
White: "#fff",
},
fontFamily: {
sans: ["Georgia", "sans-serif"],
serif: ["Merriweather", "serif"],
display: ["Oswald"],
},
fontSize: {
sm: "0.8rem",
base: "1rem",
lg: "1.15rem",
xl: "1.25rem",
"2xl": "1.563rem",
"3xl": "1.953rem",
"4xl": "2.441rem",
"5xl": "3.052rem",
"6xl": "3.815rem",
},
minWidth: {
0: "0",
100: "100px",
},
extend: {
width: {
"1/3-g": "30%",
},
minHeight: {
50: "55px",
},
boxShadow: {
footer: "0px -7px 41px 3px rgba(175, 175, 175, 0.25)",
},
backgroundImage: {
header:
"linear-gradient(98.85deg, #557AFF 7.8% rgba(239, 252, 255, 0) 0%, rgba(0, 0, 0, 0.0001) 100%), url('/images/header-bg.png')",
},
spacing: {
"8xl": "96rem",
"9xl": "128rem",
},
borderRadius: {
"4xl": "2rem",
},
flexBasis: {
"4/5": "66%",
},
},
screens: {
sm: "640px",
// => @media (min-width: 640px) { ... }
md: "768px",
// => @media (min-width: 768px)
lg: "1024px",
// => @media (min-width: 1024px)
xl: "1280px",
// => @media (min-width: 1280px)
"2xl": "1536px",
// => @media (min-width: 1536px)
},
},
plugins: [],
}
26 changes: 22 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -13,8 +17,22 @@
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true
"incremental": true,
"plugins": [
{
"name": "next"
}
]
},
"include": ["next-env.d.js", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
"exclude": ["node_modules"]
"include": [
"next-env.d.js",
"**/*.ts",
"**/*.tsx",
"**/*.js",
"**/*.jsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}