Skip to content

Commit

Permalink
make more mobile friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
doboy committed Aug 20, 2024
1 parent 3bf4446 commit cf463f8
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,24 @@
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.js"></script>
<script src="https://unpkg.com/react@18/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js" crossorigin></script>
<script src="https://unpkg.com/@babel/[email protected]/babel.min.js" crossorigin></script>
<style>
a, span {
font-size: 18px;
}
</style>

<body>
<br/>

<div id="root"></div>



<script type="text/babel" data-presets="react,stage-3">
const classnames = (args) => {
return args.map((arg) => {
Expand Down Expand Up @@ -55,6 +59,7 @@
</a>
</div>
</div>
<br/>
{selectedMenuItem == "zitnr" && <ZitnrTab />}
{selectedMenuItem == "reservations" && <ReservationsTab />}
{selectedMenuItem == "transactions" && <TransactionsTab />}
Expand All @@ -64,7 +69,11 @@
}

const ZitnrTab = () => {
return <div className="ui basic segment">Welcome to Zitnr! Our project aims to enhance your pickleball experience at Miller Park in Seattle. We do this by reserving courts for open play during peak hours and providing reservations information. If you find this service helpful, please consider supporting us with a donation so we can continue to secure court access for everyone.</div>
return <div className="ui basic segment">
<span>
Welcome to Zitnr! <br/><br/>Our project aims to enhance your pickleball experience at Miller Park in Seattle. We do this by reserving courts for open play during peak hours and providing reservations information. If you find this service helpful, please consider supporting us with a donation so we can continue to secure court access for everyone.
</span>
</div>
};

const ReservationsTab = () => {
Expand Down

0 comments on commit cf463f8

Please sign in to comment.