diff --git a/components/Navbar.tsx/index.tsx b/components/Navbar.tsx/index.tsx deleted file mode 100644 index 9f584f5..0000000 --- a/components/Navbar.tsx/index.tsx +++ /dev/null @@ -1,100 +0,0 @@ -import { Menu } from "@headlessui/react" -import Link from "next/link" -import { BLOG_URL, DASHBOARD_URL, FEATURES_URL_HASH, NEW_USER_WELCOME_URL } from "../../config/ScreenRoutes" - - -export const Navbar = () => { - return ( -
- -
- ) -} - - -function MyDropdown() { - return ( - <> - - - -
- Features -
- -
- - -
- Blog -
- -
- - {/* Only for Non Authenticated User */} - - -
- Login -
- -
- - {/* Only for Authenticated User */} - - -
- Dashboard -
- -
- -
- - - ) -} diff --git a/.eslintrc.json b/frontend/.eslintrc.json similarity index 100% rename from .eslintrc.json rename to frontend/.eslintrc.json diff --git a/.gitignore b/frontend/.gitignore similarity index 100% rename from .gitignore rename to frontend/.gitignore diff --git a/README.md b/frontend/README.md similarity index 100% rename from README.md rename to frontend/README.md diff --git a/frontend/components/Forms/FormInputField.tsx b/frontend/components/Forms/FormInputField.tsx new file mode 100644 index 0000000..627e1a9 --- /dev/null +++ b/frontend/components/Forms/FormInputField.tsx @@ -0,0 +1,38 @@ + + +import { ErrorMessage, Field } from "formik"; +import { InputHTMLAttributes } from "react"; + +export const FormInputField = ({ + fieldId, + fieldLabel, + placeholder, + isInline, + type = "text", + ...props +}: { + fieldId: string; + placeholder?: string; + isInline?: boolean; + fieldLabel?: string; + type?: string; + +} & InputHTMLAttributes) => ( + +); diff --git a/components/Layout/Layout.tsx b/frontend/components/Layout/Layout.tsx similarity index 100% rename from components/Layout/Layout.tsx rename to frontend/components/Layout/Layout.tsx diff --git a/components/MetaHead.tsx b/frontend/components/MetaHead.tsx similarity index 100% rename from components/MetaHead.tsx rename to frontend/components/MetaHead.tsx diff --git a/frontend/components/Navbar.tsx/MainSiteNavbar.tsx b/frontend/components/Navbar.tsx/MainSiteNavbar.tsx new file mode 100644 index 0000000..e48cf7c --- /dev/null +++ b/frontend/components/Navbar.tsx/MainSiteNavbar.tsx @@ -0,0 +1,107 @@ +import { Menu } from "@headlessui/react" +import Link from "next/link" +import { ReactNode } from "react" +import { BLOG_URL, DASHBOARD_URL, FEATURES_URL_HASH, NEW_USER_WELCOME_URL } from "../../config/ScreenRoutes" + + +export const MainSiteNavbar = ({ leadingBlock }: { leadingBlock?: ReactNode }) => { + const is_logged_in = true; + + return ( +
+ +
+ + ) +} + + +function MyDropdown({ is_logged_in }: { is_logged_in: boolean }) { + return ( + <> + + + +
+ Features +
+ +
+ + +
+ Blog +
+ +
+ + {is_logged_in ? + + {/* Only for Authenticated User */} + + +
+ Dashboard +
+ +
+ : + + {/* Only for Non Authenticated User */} + +
+ Login +
+ +
+ } +
+ + + ) +} diff --git a/frontend/components/Navbar.tsx/UserProfileSiteLogo.tsx b/frontend/components/Navbar.tsx/UserProfileSiteLogo.tsx new file mode 100644 index 0000000..db9a128 --- /dev/null +++ b/frontend/components/Navbar.tsx/UserProfileSiteLogo.tsx @@ -0,0 +1,14 @@ +export const UserProfileSiteLogo = ({siteTitle}: {siteTitle: string}) => ( +
+
+
+
+ +
+
+
+
{siteTitle}
+
+
+
+); diff --git a/frontend/components/PostsDetailed.tsx b/frontend/components/PostsDetailed.tsx new file mode 100644 index 0000000..64f50fc --- /dev/null +++ b/frontend/components/PostsDetailed.tsx @@ -0,0 +1,135 @@ +import { BookOpenIcon, ChatAltIcon, HeartIcon } from "@heroicons/react/solid"; +import { Form, Formik } from "formik"; +import { FormInputField } from "./Forms/FormInputField"; +import { MainSiteNavbar } from "./Navbar.tsx/MainSiteNavbar"; +import { UserProfileSiteLogo } from "./Navbar.tsx/UserProfileSiteLogo"; + + +type CommentProp = { + user_avatar: string, + name: string, + posted_at: string, + comment: string, + is_deleted: boolean, +} + +type Props = { + post: { + title: string, + body: string, // full markdown + published_on: string, // date + + post_id: string; + owner_id: string; + + liked_by: number, + number_of_comments: number; + cover_image_url: string, + approx_read_time_in_minutes: number, + }, + isPostLoading: boolean + loadMoreCommentsHandler: () => void, + postCommentHandler: (comment: string) => void + comments: CommentProp[] +} + +export const PostsDetailedScreen = ({ post, isPostLoading, loadMoreCommentsHandler, comments, postCommentHandler }: Props) => { + return (<> + + + } /> + {isPostLoading ? +
Fetching post... ⟨䷄⟩
+ : +
+ +
+
{post.title}
+ +
+ {new Date(post.published_on).toDateString()} + + + + {post.approx_read_time_in_minutes} min read + +
+ +
+ TODO: Render markdown + {post.body} +
+ + +
+
+ + {post.liked_by} +
+
+ + {post.number_of_comments} +
+
+ + +
+ +
+ } + + + + ) +} + + +const CommentsUI = ({ comments, hasMore, postCommentHandler, loadMoreCommentsHandler }: { comments: CommentProp[], hasMore: boolean, loadMoreCommentsHandler: () => void, postCommentHandler: (comment: string) => void }) => { + // fetch user + + + const userAvatar = "https://unsplash.com/photos/wQLAGv4_OYs/download?ixid=MnwxMjA3fDB8MXxzZWFyY2h8MjB8fHVzZXIlMjBwcm9maWxlJTIwYWJzdHJhY3R8ZW58MHx8fHwxNjYwNTkxNzY2&force=true&w=100" + const isLoggedIn = true + + return ( +
+
+ {hasMore &&
Load previous comments...
} + + {comments.map((e, indx) => ( +
+
+
+
+ +
+
+
+
{e.name} {new Date(e.posted_at).toDateString()}
+
{e.comment}
+
+
+
+ ))} + + + postCommentHandler(e.new_comment)} initialValues={{ new_comment: '' }}> +
+
+
+
+ +
+
+ + +
+
+ +
+
+
+ ) + +} diff --git a/frontend/components/Profile/Posts.tsx b/frontend/components/Profile/Posts.tsx new file mode 100644 index 0000000..8c5b768 --- /dev/null +++ b/frontend/components/Profile/Posts.tsx @@ -0,0 +1,82 @@ +import { BookOpenIcon, ChatAltIcon, HeartIcon } from '@heroicons/react/solid' +import Link from 'next/link'; +import { DETAILED_POST } from '../../config/ScreenRoutes'; + + +type Props = { + posts: { + post_id: string; + owner_id: string; + title: string, + except: string, // not body; less than or equal to 250 chars + published_on: string, // date + liked_by: number, + number_of_comments: number; + cover_image_url: string, + approx_read_time_in_minutes: number + }[], + isPostsLoading: boolean +} + +// TODO: Pagination? +// I think pagination will be added in the controller. This is just UI logic +export const Posts = ({ posts, isPostsLoading }: Props) => { + return ( +
+ {isPostsLoading ? +
Crunching latest posts... ⟨䷄⟩
+ : + <> + + {posts.length === 0 &&
No posts yet!
} + + {posts.map((post, indx) => ( + +
+ +
+
+ {post.title} +
+ +
+ {new Date(post.published_on).toDateString()} + + + + {post.approx_read_time_in_minutes} min read + +
+ +
+ {post.except} +
+ + +
+
+ + {post.liked_by} +
+
+ + {post.number_of_comments} +
+
+
+ + + + +
+ + + ))} + + + + } + +
+ ) +} diff --git a/config/ScreenRoutes.ts b/frontend/config/ScreenRoutes.ts similarity index 70% rename from config/ScreenRoutes.ts rename to frontend/config/ScreenRoutes.ts index f716f22..3732d9a 100644 --- a/config/ScreenRoutes.ts +++ b/frontend/config/ScreenRoutes.ts @@ -12,3 +12,6 @@ export const BLOG_URL = '#' export const FEATURES_URL_HASH = '/#features' + +export const DETAILED_POST = (post_id: string) => `/posts/${post_id}` + diff --git a/next.config.js b/frontend/next.config.js similarity index 100% rename from next.config.js rename to frontend/next.config.js diff --git a/package.json b/frontend/package.json similarity index 91% rename from package.json rename to frontend/package.json index 01d53ad..71480f9 100644 --- a/package.json +++ b/frontend/package.json @@ -10,6 +10,8 @@ }, "dependencies": { "@headlessui/react": "^1.6.6", + "@heroicons/react": "^1.0.6", + "formik": "^2.2.9", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/pages/_app.tsx b/frontend/pages/_app.tsx similarity index 100% rename from pages/_app.tsx rename to frontend/pages/_app.tsx diff --git a/pages/api/hello.ts b/frontend/pages/api/hello.ts similarity index 100% rename from pages/api/hello.ts rename to frontend/pages/api/hello.ts diff --git a/frontend/pages/index.tsx b/frontend/pages/index.tsx new file mode 100644 index 0000000..afc0f32 --- /dev/null +++ b/frontend/pages/index.tsx @@ -0,0 +1,17 @@ +import type { NextPage } from 'next' +import { MainSiteNavbar } from '../components/Navbar.tsx/MainSiteNavbar' + +const Home: NextPage = () => { + return ( + <> + +
+ + +
+ + + ) +} + +export default Home diff --git a/frontend/pages/posts/[id].tsx b/frontend/pages/posts/[id].tsx new file mode 100644 index 0000000..6bec7c5 --- /dev/null +++ b/frontend/pages/posts/[id].tsx @@ -0,0 +1,44 @@ +import { PostsDetailedScreen } from "../../components/PostsDetailed" + + +const comments = [] + +const PostDetailed = () => ( + { + + }} + postCommentHandler={() => { + + }} + post={{ + cover_image_url: "https://unsplash.com/photos/gwE9vXSi7Xw/download?ixid=MnwxMjA3fDB8MXxzZWFyY2h8OHx8YmFubmVyfGVufDB8fHx8MTY2MDY0NjcwOA&force=true&w=1920", + body: "Hi, I'm an author, writing books on this awesome world. Follow me to learn more about it. We're humans, and the thing which makes us human is our a...", + liked_by: 120, + number_of_comments: 16, + owner_id: "10", + post_id: "177171", + published_on: "2022-08-16T10:46:26.261Z", + title: "How to build the best spacecraft?", + approx_read_time_in_minutes: 2, + }} + comments={[{ + comment: "Hey", + is_deleted: false, + name: "haha", + posted_at: "2022-08-16T10:46:26.261Z", + user_avatar: "https://unsplash.com/photos/gwE9vXSi7Xw/download?ixid=MnwxMjA3fDB8MXxzZWFyY2h8OHx8YmFubmVyfGVufDB8fHx8MTY2MDY0NjcwOA&force=true&w=1920", + }, + { + comment: "Hey", + is_deleted: false, + name: "haha", + posted_at: "2022-08-16T10:46:26.261Z", + user_avatar: "https://unsplash.com/photos/gwE9vXSi7Xw/download?ixid=MnwxMjA3fDB8MXxzZWFyY2h8OHx8YmFubmVyfGVufDB8fHx8MTY2MDY0NjcwOA&force=true&w=1920", + }]} + /> +) + + +export default PostDetailed diff --git a/frontend/pages/u/[id].tsx b/frontend/pages/u/[id].tsx new file mode 100644 index 0000000..ab72184 --- /dev/null +++ b/frontend/pages/u/[id].tsx @@ -0,0 +1,121 @@ +import { useState } from "react" +import { MainSiteNavbar } from "../../components/Navbar.tsx/MainSiteNavbar" +import { UserProfileSiteLogo } from "../../components/Navbar.tsx/UserProfileSiteLogo" +import { Posts } from "../../components/Profile/Posts" + + +const mockData = { + profile: { + name: "Valdigo Neumaro", // keep it less than 16 chars + bio_detail: "Hi, I'm an author, writing books on this awesome world. Follow me to learn more about it." // less than 250 chars + }, + posts: { + + }, + +} + + +/* +TODO: + +
    +
  • Add cover banner
  • +
  • Add testimonials section maybe? Nah. lets leave it. content will move a lot
  • +
  • Have a nice animation to move the content from left to right, and the new content repalcing it.
  • +
  • Events will be w-full, and so is posts; Products and service will be grid?
  • +
  • Search functionality user wise, and global wise
  • + +
  • For a product you can add multiple images.
  • +
+*/ + + +/* +TODO: CASES +1. User not logged in. -> show subscribe now, and make it as SignIn +2. user logged in and on his/her same page -> show +3. user logged in and on other page -> show subscribe now +*/ +const UserProfile = () => { + const caseId = 1 + + const [currentTab, setCurrentTab] = useState(1); + return ( + + <> + + + } /> + + +
+
+
+
+ {mockData.profile.bio_detail} +
+
+
+ Subscribe now +
+
+
+
+ + +
+ + + + + + {currentTab === 0 && } + {/* {currentTab===1 && } */} + {/* {currentTab===2 && } */} + + + + +
+ + + ) +} + + +export default UserProfile + + + diff --git a/postcss.config.js b/frontend/postcss.config.js similarity index 100% rename from postcss.config.js rename to frontend/postcss.config.js diff --git a/public/favicon.ico b/frontend/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to frontend/public/favicon.ico diff --git a/public/vercel.svg b/frontend/public/vercel.svg similarity index 100% rename from public/vercel.svg rename to frontend/public/vercel.svg diff --git a/styles/Home.module.css b/frontend/styles/Home.module.css similarity index 100% rename from styles/Home.module.css rename to frontend/styles/Home.module.css diff --git a/frontend/styles/globals.css b/frontend/styles/globals.css new file mode 100644 index 0000000..da9a82a --- /dev/null +++ b/frontend/styles/globals.css @@ -0,0 +1,43 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + + + + +.input-group :last-child { + border-top-left-radius: inherit; + border-top-right-radius: inherit; + border-bottom-left-radius: inherit; + border-bottom-right-radius: inherit; +} + +.input-group :first-child { + border-top-left-radius: inherit; + border-top-right-radius: inherit; + border-bottom-left-radius: inherit; + border-bottom-right-radius: inherit; +} + +.selectContainerWrapper { + @apply font-medium text-xs; +} + +.selectContainerWrapper .react-select__control, +.selectContainerWrapper .react-select__menu, +.selectContainerWrapper .react-select__menu-list { + @apply bg-slate-50; +} + +.selectContainerWrapper .react-select__control { + outline: 0 !important; + border-radius: 0 !important; + border: 1px solid black !important; +} + +.selectContainerWrapper:focus, +.selectContainerWrapper:focus-visible { + outline: 0 !important; + outline-width: 0 !important; + outline-style: none; +} diff --git a/tailwind.config.js b/frontend/tailwind.config.js similarity index 83% rename from tailwind.config.js rename to frontend/tailwind.config.js index 1ccb6e6..23e2729 100644 --- a/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -24,22 +24,23 @@ module.exports = { "secondary-content": "#fff", "accent": "#46b9d6", - "accent-content": "#fff", - "neutral": "#fff", + "neutral": "#000", "neutral-content": "#fff", - "base-100": "#F3EFF6", + "base-100": "#fff", + "base-100-hover": "#fff", + // "base-100-content": "#fff", + // "base-200": "#fff", + "base-300": "#fff", "info": "#7FBBDC", - "info-content": "#fff", "success": "#6EE2D9", "success-content": "#fff", "warning": "#F9BA4E", - "warning-content": "#fff", "error": "#EF4B39", "error-content": "#fff", diff --git a/tsconfig.json b/frontend/tsconfig.json similarity index 100% rename from tsconfig.json rename to frontend/tsconfig.json diff --git a/yarn.lock b/frontend/yarn.lock similarity index 97% rename from yarn.lock rename to frontend/yarn.lock index a2575fb..3d85198 100644 --- a/yarn.lock +++ b/frontend/yarn.lock @@ -37,6 +37,11 @@ resolved "https://registry.yarnpkg.com/@headlessui/react/-/react-1.6.6.tgz#3073c066b85535c9d28783da0a4d9288b5354d0c" integrity sha512-MFJtmj9Xh/hhBMhLccGbBoSk+sk61BlP6sJe4uQcVMtXZhCgGqd2GyIQzzmsdPdTEWGSF434CBi8mnhR6um46Q== +"@heroicons/react@^1.0.6": + version "1.0.6" + resolved "https://registry.yarnpkg.com/@heroicons/react/-/react-1.0.6.tgz#35dd26987228b39ef2316db3b1245c42eb19e324" + integrity sha512-JJCXydOFWMDpCP4q13iEplA503MQO3xLoZiKum+955ZCtHINWnx26CUxVxxFQu/uLb4LW3ge15ZpzIkXKkJ8oQ== + "@humanwhocodes/config-array@^0.10.4": version "0.10.4" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.10.4.tgz#01e7366e57d2ad104feea63e72248f22015c520c" @@ -573,6 +578,11 @@ deep-is@^0.1.3: resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== +deepmerge@^2.1.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.2.1.tgz#5d3ff22a01c00f645405a2fbc17d0778a1801170" + integrity sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA== + define-properties@^1.1.3, define-properties@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" @@ -971,6 +981,19 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.6.tgz#022e9218c637f9f3fc9c35ab9c9193f05add60b2" integrity sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ== +formik@^2.2.9: + version "2.2.9" + resolved "https://registry.yarnpkg.com/formik/-/formik-2.2.9.tgz#8594ba9c5e2e5cf1f42c5704128e119fc46232d0" + integrity sha512-LQLcISMmf1r5at4/gyJigGn0gOwFbeEAlji+N9InZF6LIMXnFNkO42sCI8Jt84YZggpD4cPWObAZaxpEFtSzNA== + dependencies: + deepmerge "^2.1.1" + hoist-non-react-statics "^3.3.0" + lodash "^4.17.21" + lodash-es "^4.17.21" + react-fast-compare "^2.0.1" + tiny-warning "^1.0.2" + tslib "^1.10.0" + fraction.js@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" @@ -1126,6 +1149,13 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" +hoist-non-react-statics@^3.3.0: + version "3.3.2" + resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + ignore@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" @@ -1351,11 +1381,21 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" +lodash-es@^4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee" + integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw== + lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" @@ -1705,7 +1745,12 @@ react-dom@18.2.0: loose-envify "^1.1.0" scheduler "^0.23.0" -react-is@^16.13.1: +react-fast-compare@^2.0.1: + version "2.0.4" + resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9" + integrity sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw== + +react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== @@ -1948,6 +1993,11 @@ text-table@^0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== +tiny-warning@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" + integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== + to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -1965,7 +2015,7 @@ tsconfig-paths@^3.14.1: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@^1.8.1: +tslib@^1.10.0, tslib@^1.8.1: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== diff --git a/pages/index.tsx b/pages/index.tsx deleted file mode 100644 index 74b1fa4..0000000 --- a/pages/index.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import type { NextPage } from 'next' -import Head from 'next/head' -import Image from 'next/image' -import { Layout } from '../components/Layout/Layout' -import { Navbar } from '../components/Navbar.tsx' - -const Home: NextPage = () => { - return ( - <> - -
- - -
- - - ) -} - -export default Home diff --git a/styles/globals.css b/styles/globals.css deleted file mode 100644 index b5c61c9..0000000 --- a/styles/globals.css +++ /dev/null @@ -1,3 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities;