Skip to content

Commit

Permalink
Merge pull request #23 from AAP9002/main
Browse files Browse the repository at this point in the history
rebase
  • Loading branch information
AAP9002 authored Nov 16, 2023
2 parents 563480b + 593365b commit bd2a072
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions client/package-lock.json

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

8 changes: 4 additions & 4 deletions client/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ function App() {
</div>

<br />
<h2 id='stepOne' className='mt-5'>STEP 1: Enter your UoM API URL</h2>
<h2 id='stepOne' className='mt-5'>STEP 1: Enter your UoM Timetable ICS Link</h2>
<ol id='steps' style={{ width: "100vw", maxWidth:"500px", margin: "auto", padding: "0px 0px 40px 0px" }}>
<li>1 . Visit <a href='https://timetables.manchester.ac.uk/timetables' target='_blank' rel='noreferrer'>https://timetables.manchester.ac.uk/timetables</a></li>
<li>2 . Sign In</li>
<li>3 . Click on the <b>Subscribe</b> button <b className='onMobileSteps'>(located in the top right menu <img src={settingsIcon} alt="settings icon"/> )</b></li>
<li>4 . Click on <b>More</b></li>
<li>5 . Click on <b>Copy</b></li>
<li>6 . Paste the URL into the box below</li>
<li>6 . Paste the Timetable ICS Link into the box below</li>
</ol>
<input type="text" placeholder="Enter UoM API URL" onChange={(e) => {setUomAPI(e.target.value); setHiddenManual(true);}} style={{ minWidth: "80%" }} />
<input type="text" placeholder="Enter UoM ICS Link" onChange={(e) => {setUomAPI(e.target.value); setHiddenManual(true);}} style={{ minWidth: "80%" }} />
<br />

<h2 className="mt-5"> STEP 2: Add to calender</h2>
Expand All @@ -62,7 +62,7 @@ function App() {
options="'Apple','Google','iCal','Outlook.com','Yahoo','MicrosoftTeams','Microsoft365'"
/>
<btn className="btn btn-link" onClick={toggleHiddenManual}>set up manually</btn>
</>:<p>Please enter a valid UoM Timetable link in step 1</p>}
</>:<p>Please enter a valid UoM Timetable ICS link in step 1</p>}
{hiddenManual?null:<>
<p>Most calendar apps enable you to subscribe using a URL. Copy the URL below and follow your calendar app's subscription instructions.</p>
<p style={{ fontWeight: "bold", minWidth: "80%", overflowWrap: "anywhere"}}>{newIcsUri}</p>
Expand Down
8 changes: 4 additions & 4 deletions server/package-lock.json

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

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"axios": "^1.5.1",
"axios": "^1.6.0",
"dotenv": "^16.3.1",
"express": "^4.18.2"
}
Expand Down

0 comments on commit bd2a072

Please sign in to comment.