Skip to content

Commit

Permalink
overridden: OpeningHours: Add library and desk location links
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshamarora1 authored and kpsherva committed Apr 4, 2024
1 parent 18ea3d5 commit 0a646f9
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions ui/src/overridden/frontsite/OpeningHours/OpeningHoursDetails.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
import React from "react";
import { Header, Message } from "semantic-ui-react";

const libraryLocation = (
<a
href="https://maps.cern.ch/?n=[%273/1-003%27,%2752/1-052%27,%2752/1-204%27]"
target="_blank"
rel="noreferrer"
>
<b>52/1-052</b>
</a>
);

const deskLocation = (
<a href="https://maps.cern.ch/?n=[%2752/1-054%27]" target="_blank" rel="noreferrer">
<b>52/1-054</b>
</a>
);

export const OpeningHoursDetails = () => {
return (
<>
<Header as="h2">Opening hours</Header>
<Message info>
<Message.Content>
The CERN community can access the library, located in <b>52/1-052, </b>
The CERN community can access the library, located in {libraryLocation},{" "}
<b>
<u>24/7</u>
</b>
!
<br />
Staff is available to help at the Library and Bookshop Welcome Desk, located
in
<b> 52/1-054</b>, open as per the schedule below :
in {deskLocation}, open as per the schedule below :
<br />
</Message.Content>
</Message>
Expand Down

0 comments on commit 0a646f9

Please sign in to comment.