Skip to content

Commit 2bab665

Browse files
committed
small styling changes
1 parent 3ed4501 commit 2bab665

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

src/app/exhibitsPage/page.tsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ function App() {
2424
// Detect the hash in URL and scroll to the element with the corresponding ID
2525
}, [exhibits]);
2626

27-
// activates whenever the page opens.
28-
// checks if there's a "hash" which is an id of one of the exhibits to scroll to.
29-
// scrolls down to corresponding exhibit with slight offset
27+
// activates whenever the page opens.
28+
// checks if there's a "hash" which is an id of one of the exhibits to scroll to.
29+
// scrolls down to corresponding exhibit with slight offset
3030
useEffect(() => {
3131
const { hash } = window.location;
3232
if (hash) {
@@ -52,10 +52,13 @@ function App() {
5252
Our Exhibits{' '}
5353
</h1>
5454
<p className="text-night leading-5 font-normal font-['Lato']">
55-
Saratoga is home to an abundance of plant and animal life. As you
56-
explore these exhibits you will learn about species that are
57-
endangered and being carefully monitored by scientists with
58-
protective efforts in place.
55+
The Bay Area is home to a wide variety of plant and animal life. As
56+
you explore the exhibits, you will learn about threatened and
57+
endangered species that are under careful monitoring by biologists.
58+
Protective conservation efforts are in place for these vulnerable
59+
plants and animals. We welcome you to learn more about these
60+
important species throughout the exhibits. Scan the QR codes on
61+
display for more information.
5962
</p>
6063
</div>
6164
<Link href="/siteMapPage">

src/components/userComponents/Exhibit/Exhibit.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ export default function Exhibit({
2626
<div className="w-full px-4 py-8 bg-mint-cream rounded-lg flex-col justify-start items-start gap-2.5 inline-flex mt-6">
2727
<div className="flex-col justify-start items-start gap-5 flex">
2828
<div className="justify-start items-center gap-2 inline-flex">
29-
<h2 className="text-night font-semibold font-['Lato']">
29+
<h2 className="text-night font-semibold leading-tight font-['Lato']">
3030
{' '}
3131
{title}
3232
</h2>
3333
</div>
34-
<p className="text-night leading-normal font-normal font-['Lato']">
34+
<p className="text-night leading-tight font-normal font-['Lato']">
3535
{description}
3636
</p>
3737
<Image src={image} alt="Exhibit" width={354} height={150} />

tailwind.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ const config: Config = {
2828
'gradient-conic':
2929
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
3030
},
31+
screens: {
32+
web: '1024px',
33+
},
3134
/** Default font is Lato */
3235
fontFamily: {
3336
lato: ['Lato'],

0 commit comments

Comments
 (0)