Skip to content

Commit

Permalink
Christophertorres/phs final tours spotlights styling (#62)
Browse files Browse the repository at this point in the history
* .

* refinements

* .

* style: make navbar sticky

* style: rename pages

* feat: hours and location web layout

* style: make image carousel fit to parent container

* style: update mobile and web designs

* style: fix virtual tours button radius

* style: tour end page fills screen height

* style: back to tours button height adjustment

* style: adjust button-text spacing

* style: update space between title and subtitle for spotlight buttons

* style

* style: fix button radius under more in this spotlight

* style: add back button click effect

* style: tour button with text click effect

* style: add last and next stop button click effects

* style: add spotlight display button click effect

* style: text on click effect

* style: add line clamp 2 to related spotlights

* style: specifically define each font feature

* feat: add links table to supabase

* style: related links component uses new links table

* style: fix eslint and prettier errors

* style: rename navBar.tsx to NavBar.tsx

* style: update page path names

* feat: add exhibits to navigation bar

* style: fix eslint and prettier issues

* style: fix text overflow in spotlight page
  • Loading branch information
christophertorres1 authored May 25, 2024
1 parent f713b8f commit 37e8286
Show file tree
Hide file tree
Showing 54 changed files with 2,843 additions and 1,814 deletions.
401 changes: 350 additions & 51 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"react-icons": "^4.12.0",
"react-leaflet": "^4.2.1",
"react-responsive-carousel": "^3.2.23",
"slick-carousel": "^1.8.1"
"slick-carousel": "^1.8.1",
"supabase": "^1.167.4"
},
"devDependencies": {
"@calblueprint/eslint-config-react": "^0.0.3",
Expand Down
22 changes: 22 additions & 0 deletions public/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,28 @@ export function Congratulations() {
);
}

/**
* @returns Left chevron for Carousel.
*/
export function LeftChevron() {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="1rem"
height="1.9rem"
viewBox="0 0 21 34"
fill="none"
>
<path
d="M19 2L3 17.2L19 32.4"
stroke="#FFFDF7"
strokeWidth="3"
strokeLinecap="round"
/>
</svg>
);
}

/**
* @returns Right chevron for Carousel.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/app/exhibitsPage/page.tsx → src/app/exhibits/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import React, { useEffect, useState } from 'react';
import Link from 'next/link';
import NavBar from '../../components/userComponents/navBar/navBar';
import NavBar from '../../components/userComponents/NavBar/NavBar';
import { CategoryRow } from '../../types/types';
import { fetchAllCategories } from '../../supabase/category/queries';
import Exhibit from '../../components/userComponents/Exhibit/Exhibit';
Expand Down Expand Up @@ -65,7 +65,7 @@ function App() {
the QR codes on display for more information.
</p>
</div>
<Link href="/siteMapPage">
<Link href="/site-maps">
<div className="px-4 py-2 mb-2 mt-6 rounded-md border active:border-hunterGreen border-asparagus justify-start items-start inline-flex">
<p className="active:text-hunterGreen text-center text-asparagus font-bold font-['Lato'] leading-tight">
Go to Map
Expand Down Expand Up @@ -113,7 +113,7 @@ function App() {
the QR codes on display for more information.
</p>
</div>
<Link href="/siteMapPage">
<Link href="/site-maps">
<div className="px-4 py-2 mt-6 rounded-md border active:border-hunterGreen border-asparagus justify-start items-start inline-flex">
<p className="active:text-hunterGreen text-center text-asparagus font-bold font-['Lato'] leading-tight">
Go to Map
Expand Down
137 changes: 0 additions & 137 deletions src/app/featuredToursPage/[tourId]/page.tsx

This file was deleted.

142 changes: 0 additions & 142 deletions src/app/featuredToursPage/[tourId]/tourEndPage/page.tsx

This file was deleted.

Loading

0 comments on commit 37e8286

Please sign in to comment.