Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore links to oxs github repo link #157

Merged
merged 1 commit into from
Jul 23, 2024
Merged
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
4 changes: 1 addition & 3 deletions ui/src/pages/FAQ/faq-util/faq-text.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MANUSCRIPT_LINK } from '@/constants/links';
import { MANUSCRIPT_LINK, GITHUB_LINK } from '@/constants/links';

export interface FAQText {
question: string;
Expand All @@ -7,8 +7,6 @@ export interface FAQText {

export const URL_FAQ_STRING_MATCH = 'faq-';

const GITHUB_LINK = '/github-code';

export const FAQ_ITEMS: FAQText[] = [
{
question: 'How can I cite the Oxidation State Analyzer?',
Expand Down
5 changes: 2 additions & 3 deletions ui/src/pages/code-availability.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ import PageWrapper from '@/components/PageWrapper/PageWrapper';
import { Typography } from '@mui/material';
import { useEffect } from 'react';
import styles from './Tutorial/Tutorial.module.css';
// import { GITHUB_LINK } from '@/constants/links';
import { GITHUB_LINK } from '@/constants/links';

const CodeAvailability = () => {
useEffect(() => {
document.title = 'Oxidation State Analyzer - Code Availability';

// TODO redirect to this url when the github repo is public
// window.location.replace(GITHUB_LINK);
window.location.replace(GITHUB_LINK);
}, []);

return (
Expand Down
Loading