Skip to content

Commit 5972081

Browse files
authored
Merge pull request #297 from Lissy93/ref/client-rename
ref: Move web-check-live to client
2 parents b5095f1 + 75184fd commit 5972081

82 files changed

Lines changed: 245 additions & 245 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { Routes, Route, Outlet } from 'react-router-dom';
22

3-
import Home from 'web-check-live/views/Home.tsx';
4-
import Results from 'web-check-live/views/Results.tsx';
5-
import About from 'web-check-live/views/About.tsx';
6-
import NotFound from 'web-check-live/views/NotFound.tsx';
3+
import Home from 'client/views/Home.tsx';
4+
import Results from 'client/views/Results.tsx';
5+
import About from 'client/views/About.tsx';
6+
import NotFound from 'client/views/NotFound.tsx';
77

8-
import ErrorBoundary from 'web-check-live/components/boundaries/PageError.tsx';
8+
import ErrorBoundary from 'client/components/boundaries/PageError.tsx';
99
import GlobalStyles from './styles/globals.tsx';
1010

1111
const Layout = () => {
File renamed without changes.

src/web-check-live/components/Form/Button.tsx renamed to src/client/components/Form/Button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { type ReactNode, type MouseEventHandler } from 'react';
22

33
import styled from '@emotion/styled';
44
import { keyframes } from '@emotion/react';
5-
import colors from 'web-check-live/styles/colors';
6-
import { type InputSize, applySize } from 'web-check-live/styles/dimensions';
5+
import colors from 'client/styles/colors';
6+
import { type InputSize, applySize } from 'client/styles/dimensions';
77

88
type LoadState = 'loading' | 'success' | 'error';
99

src/web-check-live/components/Form/Card.tsx renamed to src/client/components/Form/Card.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import styled from '@emotion/styled';
22

33
import { type ReactNode } from 'react';
4-
import ErrorBoundary from 'web-check-live/components/misc/ErrorBoundary';
5-
import Heading from 'web-check-live/components/Form/Heading';
6-
import colors from 'web-check-live/styles/colors';
4+
import ErrorBoundary from 'client/components/misc/ErrorBoundary';
5+
import Heading from 'client/components/Form/Heading';
6+
import colors from 'client/styles/colors';
77

88
export const StyledCard = styled.section<{ styles?: string }>`
99
background: ${colors.backgroundLighter};

src/web-check-live/components/Form/Heading.tsx renamed to src/client/components/Form/Heading.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import styled from '@emotion/styled';
2-
import colors from 'web-check-live/styles/colors';
3-
import { TextSizes } from 'web-check-live/styles/typography';
2+
import colors from 'client/styles/colors';
3+
import { TextSizes } from 'client/styles/typography';
44
import type { ReactNode } from 'react';
55

66
interface HeadingProps {

src/web-check-live/components/Form/Input.tsx renamed to src/client/components/Form/Input.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { type InputHTMLAttributes } from 'react';
22
import styled from '@emotion/styled';
3-
import colors from 'web-check-live/styles/colors';
4-
import { type InputSize, applySize } from 'web-check-live/styles/dimensions';
3+
import colors from 'client/styles/colors';
4+
import { type InputSize, applySize } from 'client/styles/dimensions';
55

66
type Orientation = 'horizontal' | 'vertical';
77

src/web-check-live/components/Form/Modal.tsx renamed to src/client/components/Form/Modal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import React from 'react';
22
import type { ReactNode } from 'react';
33
import ReactDOM from 'react-dom';
44
import styled from '@emotion/styled';
5-
import colors from 'web-check-live/styles/colors';
6-
import Button from 'web-check-live/components/Form/Button';
5+
import colors from 'client/styles/colors';
6+
import Button from 'client/components/Form/Button';
77

88
interface ModalProps {
99
children: ReactNode;

src/web-check-live/components/Form/Nav.tsx renamed to src/client/components/Form/Nav.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import styled from '@emotion/styled';
22
import type { ReactNode } from 'react';
33

4-
import { StyledCard } from 'web-check-live/components/Form/Card';
5-
import Heading from 'web-check-live/components/Form/Heading';
6-
import colors from 'web-check-live/styles/colors';
4+
import { StyledCard } from 'client/components/Form/Card';
5+
import Heading from 'client/components/Form/Heading';
6+
import colors from 'client/styles/colors';
77

88
const Header = styled(StyledCard)`
99
margin: 1rem auto;

src/web-check-live/components/Form/Row.tsx renamed to src/client/components/Form/Row.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ReactNode } from 'react';
22
import styled from '@emotion/styled';
3-
import colors from 'web-check-live/styles/colors';
4-
import Heading from 'web-check-live/components/Form/Heading';
3+
import colors from 'client/styles/colors';
4+
import Heading from 'client/components/Form/Heading';
55

66
export interface RowProps {
77
lbl: string;

src/web-check-live/components/Results/Archives.tsx renamed to src/client/components/Results/Archives.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import styled from '@emotion/styled';
2-
import colors from 'web-check-live/styles/colors';
3-
import { Card } from 'web-check-live/components/Form/Card';
4-
import Row from 'web-check-live/components/Form/Row';
2+
import colors from 'client/styles/colors';
3+
import { Card } from 'client/components/Form/Card';
4+
import Row from 'client/components/Form/Row';
55

66
const Note = styled.small`
77
opacity: 0.5;

0 commit comments

Comments
 (0)