Skip to content

Commit

Permalink
cleanup for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jekrch committed Jun 24, 2024
1 parent bc517d6 commit f621978
Show file tree
Hide file tree
Showing 14 changed files with 1,157 additions and 897 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Jacob Krch
Copyright (c) 2024 Jacob Krch

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Version](https://img.shields.io/badge/version-3.5-blue)
![Version](https://img.shields.io/badge/version-3.6-blue)
![Run Tests](https://github.com/jekrch/eurovision-ranker/actions/workflows/test_on_push.yml/badge.svg)

# Eurovision Ranker :yellow_heart:
Expand Down
1,126 changes: 1,126 additions & 0 deletions dist/assets/index-CDYCwPbm.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/assets/index-CdX9zOuz.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/assets/index-Dl9fXfWu.css

This file was deleted.

822 changes: 0 additions & 822 deletions dist/assets/index-WfYAuvL3.js

This file was deleted.

10 changes: 5 additions & 5 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

gtag('config', 'G-2EJQ73Z228');
</script>
<link rel="icon" type="image/svg+xml" href="./eurovision-heart.svg">
<link rel="icon" type="image/svg+xml" href="/eurovision-heart.svg">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.5.0/css/flag-icon.min.css">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, maximum-scale=1" />
Expand All @@ -19,12 +19,12 @@
name="description"
content="An app for ranking your favorite Eurovision Song Contest participants"
/>
<link rel="apple-touch-icon" href="./favicon.png" />
<link rel="apple-touch-icon" href="/favicon.png" />

<link rel="manifest" href="./manifest.json" />
<link rel="manifest" href="/manifest.json" />
<title>Eurovision Ranker</title>
<script type="module" crossorigin src="./assets/index-WfYAuvL3.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-Dl9fXfWu.css">
<script type="module" crossorigin src="/assets/index-CDYCwPbm.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CdX9zOuz.css">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
55 changes: 16 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
"redux-thunk": "^3.1.0",
"typescript": "^5.5.2",
"vite": "^5.3.1",
"vite-tsconfig-paths": "^4.3.2",
"web-vitals": "^4.2.0"
"vite-tsconfig-paths": "^4.3.2"
},
"scripts": {
"start": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/components/modals/MainModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const MainModal: React.FC<MainModalProps> = (props: MainModalProps) => {
target="_blank"
rel="noopener noreferrer"
href="https://github.com/jekrch/eurovision-ranker/releases"
>v3.5</a>
>v3.6</a>
</span>
<span className="text-right">
{`Copyright (c) 2023${new Date().getFullYear()?.toString() !== '2023' ? '-' + new Date().getFullYear() : ''} `}
Expand Down
8 changes: 4 additions & 4 deletions src/components/modals/config/ConfigModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ const ConfigModal: React.FC<ConfigModalProps> = (props: ConfigModalProps) => {
label="Categories"
/>

<TabButton
{/* <TabButton
isActive={activeTab === 'analyze'}
onClick={() => setActiveTab('analyze')}
icon={faChartLine}
label="Analyze"
/>
/> */}
</ul>
</div>

Expand All @@ -91,9 +91,9 @@ const ConfigModal: React.FC<ConfigModalProps> = (props: ConfigModalProps) => {
<CategoriesTab/>
}

{activeTab === 'analyze' &&
{/* {activeTab === 'analyze' &&
<AnalyzeTab/>
}
} */}
</div>

</Modal>
Expand Down
6 changes: 0 additions & 6 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import ReactDOM from 'react-dom/client';
import './index.css';
import './auroral.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import store from './redux/store';

const root = ReactDOM.createRoot(
Expand All @@ -16,8 +15,3 @@ root.render(
</Provider>
//</React.StrictMode>
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
15 changes: 0 additions & 15 deletions src/reportWebVitals.ts

This file was deleted.

1 change: 1 addition & 0 deletions vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ export default defineConfig({
environment: 'jsdom',
setupFiles: './src/setupTests.ts',
},

})

0 comments on commit f621978

Please sign in to comment.