From 679e6588d1ef6709f9e579f8ab2fa1b3ad2ac9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sapka?= Date: Mon, 2 Jan 2023 22:12:38 +0100 Subject: feat: remove old --- LICENSE.md | 21 - README.md | 20 - components/footer.tsx | 35 - components/layout.tsx | 36 - components/toggle_theme_button.tsx | 28 - components/topnav.tsx | 81 - data/publications.tsx | 38 - lib/feed.ts | 53 - lib/next_image.tsx | 19 - lib/theme.tsx | 55 - next-env.d.ts | 5 - next.config.js | 7 - package-lock.json | 9145 ------------------------------------ package.json | 36 - pages/_app.tsx | 17 - pages/_document.tsx | 21 - pages/api/hello.ts | 13 - pages/index.tsx | 133 - postcss.config.js | 5 - public/en/index.xml | 20 - public/favicon.ico | Bin 25931 -> 0 bytes public/images/logo_dark.png | Bin 1094987 -> 0 bytes public/images/logo_light.jpg | Bin 1970392 -> 0 bytes public/images/logo_light.png | Bin 1118931 -> 0 bytes public/images/michal.png | Bin 220566 -> 0 bytes public/vercel.svg | 4 - styles/Home.module.css | 129 - styles/globals.css | 0 tsconfig.json | 20 - 29 files changed, 9941 deletions(-) delete mode 100644 LICENSE.md delete mode 100644 README.md delete mode 100644 components/footer.tsx delete mode 100644 components/layout.tsx delete mode 100644 components/toggle_theme_button.tsx delete mode 100644 components/topnav.tsx delete mode 100644 data/publications.tsx delete mode 100644 lib/feed.ts delete mode 100644 lib/next_image.tsx delete mode 100644 lib/theme.tsx delete mode 100644 next-env.d.ts delete mode 100644 next.config.js delete mode 100644 package-lock.json delete mode 100644 package.json delete mode 100644 pages/_app.tsx delete mode 100644 pages/_document.tsx delete mode 100644 pages/api/hello.ts delete mode 100644 pages/index.tsx delete mode 100644 postcss.config.js delete mode 100644 public/en/index.xml delete mode 100644 public/favicon.ico delete mode 100644 public/images/logo_dark.png delete mode 100644 public/images/logo_light.jpg delete mode 100644 public/images/logo_light.png delete mode 100644 public/images/michal.png delete mode 100644 public/vercel.svg delete mode 100644 styles/Home.module.css delete mode 100644 styles/globals.css delete mode 100644 tsconfig.json diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 80cffa6..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Michał Sapka - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index c019ee4..0000000 --- a/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Michal's homepage -https://sapka.pl - -This is code of for my homepage. - -The design is based on [Takuya Matsuyama's](https://www.craftz.dog/) work, but most of the codebase is handrafted by yours trully - the only exception being theme switcher buton. - -Theme colors are based on [Dracula theme](https://draculatheme.com). - -## Tech stack - -This site is built with: -- Next.js -- Chakra Ui - -The site is hosted on [Vercel](https://vercel.com) - -## License - -This codebase is licensed under MIT diff --git a/components/footer.tsx b/components/footer.tsx deleted file mode 100644 index 95f2595..0000000 --- a/components/footer.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import { - Link, - Box, - HStack, - IconButton, - Menu, - Heading, - MenuButton, - MenuList, - MenuItem, - MenuItemOption, - MenuGroup, - MenuOptionGroup, - MenuDivider, - useMediaQuery, - Container -} from '@chakra-ui/react' - -const Footer = () => { - return ( - - © 2022 Michał Sapka. All Rights Reserved. - - ) - -} - -export default Footer diff --git a/components/layout.tsx b/components/layout.tsx deleted file mode 100644 index 7dab384..0000000 --- a/components/layout.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import TopNav from '../components/topnav' -import Footer from '../components/footer' -import { Container, Box } from '@chakra-ui/react' -import { DefaultSeo } from 'next-seo' - -type Props = { - children?: any -} - -export default function Layout({ children } : Props) { - return ( - <> - - - - - {children} - - -