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
71 changes: 0 additions & 71 deletions src/App.css

This file was deleted.

Empty file added src/App.scss
Empty file.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import './App.css'
import StopWatch from './StopWatch'
import './App.scss'
import StopWatch from './components/Functionalities/StopWatch'

export default function App() {
return(
Expand Down
2 changes: 1 addition & 1 deletion src/StopWatch.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { render, fireEvent, screen } from '@testing-library/react';
import StopWatch, { formatTime } from './StopWatch';
import StopWatch, { formatTime } from './components/Functionalities/StopWatch';

// Test the formatTime function
describe('formatTime', () => {
Expand Down
77 changes: 0 additions & 77 deletions src/StopWatch.tsx

This file was deleted.

54 changes: 0 additions & 54 deletions src/StopWatchButton.tsx

This file was deleted.

17 changes: 17 additions & 0 deletions src/components/Button/StopWatchButton.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Removing Whitespace
*, *::before, *::after {
box-sizing: border-box;
}

.button {
display: flex;
justify-content: space-between;
align-items: center;
color: #323232;
background-color:#0095FF;
border-color:#0095FF;
&:hover {
background-color:#0065AD;
border-color:#0065AD;
}
}
10 changes: 10 additions & 0 deletions src/components/Button/StopWatchButton.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import './Button.scss';
import React from 'react'

export default function StopWatchButton() {
return(
<button type="submit" className="button">
<div></div>
</button>
)
}
Empty file.
9 changes: 9 additions & 0 deletions src/components/Functionalities/StopWatch.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'
import './StopWatch.scss'
import StopWatchButton from '../Button/StopWatchButton'

export default function StopWatch() {
return(
<div className="watch__glass"></div>
)
}