diff --git a/docs/docs/developer/setup.md b/docs/docs/developer/setup.md index d311f9ca41953..a6bb35c75d4f1 100644 --- a/docs/docs/developer/setup.md +++ b/docs/docs/developer/setup.md @@ -26,7 +26,6 @@ This environment includes the following services: - Web app - `/web` - Redis - PostgreSQL development database with exposed port `5432` so you can use any database client to acess it -- NGINX Proxy - `nginx/nginx.conf` All the services are packaged to run as with single Docker Compose command. diff --git a/docs/src/components/HomepageFeatures/index.tsx b/docs/src/components/HomepageFeatures/index.tsx deleted file mode 100644 index e4a30f8341ad0..0000000000000 --- a/docs/src/components/HomepageFeatures/index.tsx +++ /dev/null @@ -1,70 +0,0 @@ -import React from 'react'; -import clsx from 'clsx'; -import styles from './styles.module.css'; - -type FeatureItem = { - title: string; - Svg: React.ComponentType>; - description: JSX.Element; -}; - -const FeatureList: FeatureItem[] = [ - { - title: 'Easy to Use', - Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, - description: ( - <> - Docusaurus was designed from the ground up to be easily installed and used to get your website up and running - quickly. - - ), - }, - { - title: 'Focus on What Matters', - Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, - description: ( - <> - Docusaurus lets you focus on your docs, and we'll do the chores. Go ahead and move your docs into the{' '} - docs directory. - - ), - }, - { - title: 'Powered by React', - Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, - description: ( - <> - Extend or customize your website layout by reusing React. Docusaurus can be extended while reusing the same - header and footer. - - ), - }, -]; - -function Feature({ title, Svg, description }: FeatureItem) { - return ( -
-
- -
-
-

{title}

-

{description}

-
-
- ); -} - -export default function HomepageFeatures(): JSX.Element { - return ( -
-
-
- {FeatureList.map((props, idx) => ( - - ))} -
-
-
- ); -} diff --git a/docs/src/components/HomepageFeatures/styles.module.css b/docs/src/components/HomepageFeatures/styles.module.css deleted file mode 100644 index b248eb2e5dee2..0000000000000 --- a/docs/src/components/HomepageFeatures/styles.module.css +++ /dev/null @@ -1,11 +0,0 @@ -.features { - display: flex; - align-items: center; - padding: 2rem 0; - width: 100%; -} - -.featureSvg { - height: 200px; - width: 200px; -} diff --git a/docs/static/img/docusaurus.png b/docs/static/img/docusaurus.png deleted file mode 100644 index f458149e3c8f5..0000000000000 Binary files a/docs/static/img/docusaurus.png and /dev/null differ diff --git a/docs/static/img/undraw_docusaurus_mountain.svg b/docs/static/img/undraw_docusaurus_mountain.svg deleted file mode 100644 index af961c49a8888..0000000000000 --- a/docs/static/img/undraw_docusaurus_mountain.svg +++ /dev/null @@ -1,171 +0,0 @@ - - Easy to Use - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/static/img/undraw_docusaurus_react.svg b/docs/static/img/undraw_docusaurus_react.svg deleted file mode 100644 index 94b5cf08f88f2..0000000000000 --- a/docs/static/img/undraw_docusaurus_react.svg +++ /dev/null @@ -1,170 +0,0 @@ - - Powered by React - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/static/img/undraw_docusaurus_tree.svg b/docs/static/img/undraw_docusaurus_tree.svg deleted file mode 100644 index d9161d33920c9..0000000000000 --- a/docs/static/img/undraw_docusaurus_tree.svg +++ /dev/null @@ -1,40 +0,0 @@ - - Focus on What Matters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/server/openapitools.json b/server/openapitools.json deleted file mode 100644 index 2a95527a4fc94..0000000000000 --- a/server/openapitools.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", - "spaces": 2, - "generator-cli": { - "version": "6.5.0" - } -} \ No newline at end of file diff --git a/web/README.md b/web/README.md deleted file mode 100644 index 374efec4c10bf..0000000000000 --- a/web/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# create-svelte - -Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte). - -## Creating a project - -If you're seeing this, you've probably already done this step. Congrats! - -```bash -# create a new project in the current directory -npm init svelte - -# create a new project in my-app -npm init svelte my-app -``` - -## Developing - -Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: - -```bash -npm run dev - -# or start the server and open the app in a new browser tab -npm run dev -- --open -``` - -## Building - -To create a production version of your app: - -```bash -npm run build -``` - -You can preview the production build with `npm run preview`. - -> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. diff --git a/web/__mocks__/$app/environment.js b/web/__mocks__/$app/environment.js deleted file mode 100644 index 453d98b84f5d5..0000000000000 --- a/web/__mocks__/$app/environment.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - browser: false, -}; diff --git a/web/__mocks__/$env/dynamic/public.js b/web/__mocks__/$env/dynamic/public.js deleted file mode 100644 index 910f4005a448c..0000000000000 --- a/web/__mocks__/$env/dynamic/public.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - env: {}, -}; diff --git a/web/how-to-scroll-like-google.md b/web/how-to-scroll-like-google.md deleted file mode 100644 index c12690d11115d..0000000000000 --- a/web/how-to-scroll-like-google.md +++ /dev/null @@ -1,48 +0,0 @@ -# How to scroll like Google Photos - -## Glossary - -1. Section: a group of photos within a month -2. Segment: a group of photos within a day - -## Assumption - -* The photo's thumbnail is a square box with the size of 235px - -## Order of Implementation - -### Custom scrollbar - -* We need the custom scroll bar which represents the entire viewport. -* The viewport can be estimated by the total number of the photos and the width of the occupied photo's grid - -```typescript - const thumbnailHeight = 235; - - const unwrappedWidth = (3 / 2) * totalPhotoCount * thumbnailHeight * (7 / 10); - const rows = Math.ceil(unwrappedWidth / viewportWidth); - - const scrollbarHeight = rows * thumbnailHeight; -``` - -* Next, we will need to know when we click on a random position on the scroll bar, which section will fit into the page. Thus, we will need to know the section height as well. -* The section height can be calculated by the method above by putting `totalPhotoCount` as the count of the total photos within a month. We can use the following data structure to represent a list of section. - -```json -{ - [ - { - "section": "2022_08", - "count": 100, - "viewportHeight": 4000 - }, - { - "section": "2022_07", - "count": 50, - "viewportHeight": 2000 - } - ] -} -``` - -* With the known viewport height of each section and the total viewport height, we can build out the custom scrollbar with information of each section layout relatively and interactively on the scrollbar by using the percentages height. \ No newline at end of file