Skip to content

CutlerSheridan/wedding-site-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wedding Site (Frontend)

The guest-facing client for my wedding website

Find the backend repo here. To access the admin tools, append "/admin" to the URL and log in.

See this site deployed at https://cutlerandtyler.netlify.app.

Admin Pages

Dashboard

  • see tables grouping invitees, standby guests, and declined guests
  • manually edit who goes in which group and if people have RSVP'd

Addresses

  • see addresses for each invited guest grouped by their respective groups
  • if a group only requires one address, only that one will be shown; if it requires multiple, each one will be shown
  • see which guests have physical information ready to be sent, and which ones have already had it sent to them
  • edit all of the above information

Edit Group

  • select/look up a group and see individual guest cards for each group member with every possible detail listed
  • change who is in which group, create new groups, and delete guests entirely
  • change any information desired for each guest

Dev Log

TODO NEXT

TODO LATER

Features
  • add character page with condensed view and expanded view
    • on character page, add ability to edit things
  • ? add admin user setting to dictate if admin can only view admin site or if they can edit too
Behavior
  • prevent async loading flicker by creating stand-in views (like an empty ticket for RSVP, for example)
  • add error if server is called and doesn't respond at all
Style
  • make long addresses in Addresses a little prettier when user has to scroll
  • add credit
Production Deployment Checklist
  • clean up comments
  • clean up logs
  • Remove 'toggle stored groupId' button
  • Remove 'Toggle auth' button
  • change SERVER_URL from local to external

DONE

1.1.10

  • account for super long single-line addresses

1.1.9

  • make sure, if some guests in group are current round and some are next round, the current ones show up and the next round guests don't
  • prevent "next round" guests from appearing in guest lookup

1.1.8

  • adjust itinerary details

1.1.7

  • alter brunch food details

1.1.6

  • add brunch address

1.1.5

  • fix wedding calendar event dates

1.1.4

  • change night before drinks time
  • add Kincaid's zip code

1.1.3

  • add address for welcome drinks
  • change brunch to "on the beach"

1.1.2

  • disable RSVP address save button unless address has changed
  • add confirmation checkmark after saving RSVP address

1.1.1

  • add visual indicator that RSVP choice has saved
  • rephrase RSVP instructions

1.1.0

  • change brunch to 12pm + button
  • describe as "picnic brunch"
  • fix Naja's Place address
  • remove periods from hotel date descriptions
  • add 'cash bar' to welcome drinks description

1.0.10

  • add google site verification tag in html for google to index site

1.0.9

  • improve mobile navbar styling

1.0.8

  • change site preview image

1.0.7

  • improve social media share details

1.0.6

  • improve social media share details

1.0.5

  • correct URL for social media link preview image
  • adjust title and description to show on mobile previews

1.0.4

  • fix RSVP Auth error displaying string 'guests' instead of value of variable 'guests'

1.0.3

  • change externalUrl to Render instead of fly.io

1.0.2

  • add _redirects file for Netlify

1.0.1

  • add external server URL
  • refactor image paths and imports to allow access once site is deployed

1.0.0

  • add titles and descriptions for SEO
  • add favicon
  • revert mobile home to show two photos
  • fix background stars so they don't shift on mobile when switching pages
  • clean up comments
  • clean up logs
  • adjust how TOTALS work in Dashboard tables
  • in group lookup, make names grey if standby, red if declined
  • in group lookup, make clicking a group card bring you to the top of that group's page
  • in group edit, make "new group" start in edit mode
  • make group selector in group lookup edit view never extend into table on desktop / past card edge on mobile
  • fix RSVP so standy guests never show up
  • make declined guests show as declined in RSVP even if each individual event has not been declined
  • customize social media link preview image

0.11.20

  • address more of Tyler's notes
    • General
      • increase margins around cardstock
      • decrease cardstock padding to compensate
    • Home
      • add larger gap under photos row once WSL logo gets bigger from 500px breakpoint
      • only show one photo on mobile
    • Hotel
      • separate image from info
    • RSVP
      • change submit button to say "search"
      • change font sizes for instructions and search field to match
  • on RSVP, remove "event:" from Address ticket
  • make perforation line lighter
  • on Addresses, make name cells scroll horizontally on mobile if necessary
  • change index.html page title and description
  • clean up preloaded and google fonts and font variables

0.11.19

  • fix class assignment syntax in Loading component
  • start addressing Tyler's notes
    • make stars bigger on mobile
    • RSVP
      • change text of RSVP back button to "find other guest"
    • Itinerary
      • unbolden dress code
      • change some copy
      • rephrase dinner explanation without wristband info
      • rephrase brunch copy
    • Hotel
      • make info labels title caps
      • remove periods from booking options
      • adjust Redondo distance from LA explanation copy
    • Registry
      • fix margins on mobile
    • Dashboard
      • change first list title to "invitees"
      • make grey rows lighter

0.11.18

  • make sure if someone is in 'next round' they don't show up in RSVP screen

0.11.17

  • add White Star Line logo to bottom of Cardstock

0.11.16

  • do another mobile pass with Kenna's old iPhone Max
    • adjust 'booking options' sizes
  • add stars to top of page
  • add transparency mask to stars so they fade about halfway down a page's initial view
  • make fade occur at the same spot on each page regardless of how much content is on the page (use vh's instead of %'s for gradient switch point)

0.11.15

  • move 'go back' link to bottom of Photo page
  • refactor hotel page buttons so you can copy the links
  • decide on and clean up .button-small use
  • make Home photos focus-able; swap navigation to a transparent button on top of each picture
  • make Hotel photo focus-able

0.11.14

  • add page transitions using framer-motion package
  • adjust RSVP loading so user with no stored group ID doesn't see Loading component upon loading search bar
  • fix how, on mobile, clicking "back to search" reverts page to RsvpAuth but doesn't scroll page up
    • (didn't really figure out the issue but I added scroll-to-top behavior to "back to search" button)

0.11.13

  • check breakpoints; add more where needed
    • Cardstock
    • Home
    • Navbar
    • Photo
    • RSVP Auth
    • RSVP Form
    • Itinerary
    • Hotel
    • Registry
    • Dashboard
    • Addresses
    • Group Lookup
    • Group Edit
    • Login
    • Signup
    • Error 404
  • make header font smaller on mobile

0.11.12

  • style login page to current theme
  • adjust spacing of Group Card names so it's more clear when one name is breaking vs. two names are stacked
  • add padding to GuestCard input fields
  • fix GuestCard detail wrapping, not sure when this fucked up again
  • adjust spacing of labels when in edit mode
  • make letter-spacing normal everywhere that's cursive
  • make password field censor passwords
  • censor secret passphrase

0.11.11

  • add ticket hole to GuestCard
  • hide GuestCard delete button when not in edit mode
  • make Save btn revert Group Edit page to not-editing
  • hide New Guest btn and last separator when not editing

0.11.10

  • improve RSVP ticket holes so responsive sizing never results in camouflaged half of hole covering Cardstock border
  • style GuestCard labels and name
  • get GuestCard ticket responsive width for mobile
  • fix hidden h1 so long URL doesn't cause blank page to extend to the right

0.11.9

  • strikethrough Characters navlink for the time being
  • surround Group Lookup with Cardstock
  • improve layout, spacing, and sizing of group lookup search section
  • remove border radius from group cards
  • adjust border style on group cards
  • adjust group card font sizes on mobile
  • adjust group card gaps
  • make secret h1 positioning absolute so it doesn't interfere with page layout
  • style group edit instructions
  • adjust spacing on Home

0.11.8

  • make Save btn shift below address input on mobile in Addresses

0.11.7

  • restyle Addresses hover behavior

0.11.6

  • update Addresses colors to current theme
  • add page header
  • adjust Edit btn placement
  • get columns to be the correct widths on mobile
  • get table to size itself correctly
  • recolor and resize cell borders
  • change column header font and add letter-spacing
  • make Addresses table border style double
  • color thick dividers via borders instead of background so see-through table border design is visible

0.11.5

  • in Dashboard, improve Table label style
  • simplify cell border CSS
  • make Table border double lines
  • remove border radius from Table
  • refactor hover/active behavior for Table cells
  • adjust global button style
  • resize RSVP buttons accordingly
  • add transitions to Table buttons

0.11.4

  • update Table color scheme to new theme
  • fix table resizing upon toggling Edit
  • simplify max-width of table on mobile
  • center table headers
  • adjust Dashboard control buttons sizes on mobile

0.11.3

  • put Dashboard on Cardstock
  • on Dashboard Tables, adjust font sizes on mobile
  • adjust cell sizes on mobile
  • add name overflow behavior to names column
  • make name max-width smaller when editing due to additional columns

0.11.2

  • on RSVP tickets, make event labels all caps
  • make event labels smaller
  • remove border radii from tickets and inner borders
  • make event title cursive
  • change perferation separator into more subtle separator
  • change separator back

0.11.1

  • add inner border around RSVP ticket
  • make border 'double' instead of 'solid'
  • make Cardstock border double too
  • make ticket outline .5px
  • fix navbar admin links so underline doesn't extend past last letter of each link

0.11.0

  • update RSVP ticket style to current theme
  • update RSVP style for mobile
  • adjust perforation placement / length
  • refactor ticket holes on mobile and desktop
  • make mobile tickets have two holes - one for top half, one fo bottom half
  • adjust horizontal spacing for mobile address input so it's not so close to the hole
  • on RSVP, change accent colors to grey-lightest instead of grey-lighter
  • on Hotels, also change accent colors to grey-lightest
  • add invisible h1's to each page so search engines can find them

0.10.5 (branch: booking-grid; merge branch to main)

  • turn booking options list into grid
  • make grid one column on mobile, three on desktop
  • remove links from options and add buttons
  • add separators between booking options
  • add lines to the left of other Hotel infoGroups
  • link up buttons to behaviors

0.10.4

  • make hotel name cursive
  • adjust booking options spacing

0.10.3

  • add Cardstock to error 404 page
  • style Error 404 page
  • refactor routes and App.jsx to insert Error page into normal site layout

0.10.2

  • add Cardstock to Registry
  • write better copy for Registry
  • style Registry

0.10.1

  • delete empty hotel info elements and revert bottom margin in response
  • add additional info at bottom of hotel page

0.10.0

  • make Photo back button navigate to previous page instead of to parent route
  • populate Hotel page
  • find hotel photo
  • figure out hotel information grouping and coloring
  • style hotel page
  • add links and phone numbers
  • move photo outside of hotel Cardstock
  • lessen bottom margin for hotel page

0.9.12

  • adjust default height of Photo component
  • make all non-nav links underlined with thicker underline on hover
  • simplify link styling for default links, links on white, and navbar links
  • add "go back" button to Photos page in addition to link

0.9.11

  • adjust Home top and bottom margins
  • adjust Cardstock margins
  • adjust Schedule event description margins/padding

0.9.10

  • fix img element sources on Photo component so image loads properly upon refresh (currently only loads the first time you click)
    • the issue was having the URL end with the file extension; as soon as I removed that, refreshing worked fine
  • link both pictures to Photo pages
  • make cursor into pointer when hovering over Home pictures

0.9.9

  • create Photo component
  • add route straight to each picture

0.9.8

  • adjust picture spacing on home
  • make fancy bottom corners same size as top corners
  • adjust bottom spacing for pictures
  • adjust bottom spacing for itinerary

0.9.7

  • remove fancy corners from navbar
  • add flourishes besetting names in navbar

0.9.6

  • add fancy corners to Cardstock
  • add corners to both versions of navbar

0.9.5

  • change RSVP deadline
  • make navbar cursive names link to home

0.9.4

  • add letter-spacing and margins to home page text
  • adjust text sizes on home page
  • adjust home page margins and sizes for desktop vs. mobile
  • make days in Schedule grey
  • make home page body links open next page at top of page

0.9.3

  • add photos to home page
  • make photos equal widths and heights while remaining responsive, cropping the originally-wider image horizontally to achieve the new aspect ratio
  • make some text on home page grey

0.9.2

  • add initials to mobile navbar
  • restructure mobile top bar so hamburger button and initials are grouped
  • make hamburger button look better
  • add separator to mobile top bar
  • adjust mobile .app-contentWrapper margin

0.9.1

  • make navlink underlines not extend past final letter
  • adjust content margins
  • remove h1 from home
  • underline other h1's

0.9.0

  • start writing home page
  • refactor some schedule CSS so edge padding is on wrapper, not each day
  • add matte to content-containing rectangles
  • create Cardstock component to reuse matted rectangles
  • refactor Home and Schedule to use Cardstock

0.8.10

  • clean up comments in schedule
  • add dress code to wedding description

0.8.9 (merge branch to main)

  • continue improving itinerary
  • make 'add to calendar' button smaller

0.8.8

  • make date font-1
  • make event title cursive
  • remove gaps between days
  • in schedule, add horizontal day separators on mobile

0.8.7

  • italicize event descriptions in schedule
  • restyle calendar button
  • add vertical separator to desktop schedule events that takes height of whichever side is taller

0.8.6

  • in itinerary, make event info side-by-side on desktop
  • add day under date
  • adjust page wrapper margins so header still extends across entire screen
  • add h1's to Navbar.jsx
  • add className-setting function to NavLinks so the file is cleaner
  • fix duplicate key react error

0.8.5

  • adjust thickness and offset of underlines for date and navlinks

0.8.4

  • make background gradient
  • restructure Schedule.jsx so event dates are their own elements and the events fill into an element beneath each one; this way, the date backgrounds can be transparent so the blue matches the background gradient
  • color mobile edges

0.8.3

  • finesse active navlink underline and hover underline

0.8.2

  • swap navbar links to NavLinks so active link can be styled differently

0.8.1

  • spruce up itinerary styling
  • decide on fonts
  • add names, date, location to navbar

0.8.0 (branch: elegant-ui)

  • change color palette to deep blue + white
  • experiment with white cards on Itinerary page

0.7.5 (merge branch to main)

  • make RSVPs look like tickets like I did with guest cards
  • change button hover border colors
  • adjust sizing and layout of RSVP search page
  • adjust sizing and layout of group lookup search elements
  • make RSVP buttons equal widths

0.7.4

  • add ticket holes to guest card tickets

0.7.3

  • edit sizing and styles of Schedule text
  • change Edit Group colors
  • make group card and guest card borders dotted like tickets
  • change button colors
  • make hamburger button red
  • make group + guest cards white
  • make group cards' border solid on hover
  • make guest card delete button text white

0.7.2

  • recolor guest cards in Edit Group
  • adjust font sizes in guest cards
  • recolor and resize separators
  • prevent background scrolling when hamburger menu is open on mobile
  • make hamburger button smaller

0.7.1 (branch: site-ui)

  • do tons of style changes, especially re: fonts and colors
  • resize Dashboard elements
  • resize Addresses elements
  • resize and recolor Edit Group selection cards
  • resize Edit Group group page

0.7.0

  • center Addresses table
  • Fix "Toggle stored groupId" button on RSVP page
  • add button to Rsvp to return to search

0.6.18

  • enable deleting unused new guest cards

0.6.17

  • clean up debugging logs from solving previous issue
  • simplify GroupForm's saveUpdatesToDb API calls

0.6.16

  • fix how, when starting new guest from preexisting but empty group, 'Group: ' does not list the old group or "new group" or even a blank space
  • prevent saving guest NOT in edit mode from reappearing (/re-disappearing) after saving (correctly updates database, just displays wrong)
    • also vice versa

0.6.15

  • hack the guest cards to refresh the page upon saving so the correct things show up; this is just to get it working--try to use more react-friendly method in next commit

0.6.14

  • prevent error when saving in new group when no new user has been created
  • add 'delete guest' button that deletes saved guests
  • prevent deleting all guests in group then saving from repopulating deleted guests (as they correctly are deleted and show as such upon refresh)

0.6.13

  • make new guest in group's ID refresh upon save and take the new ID from db so you can edit the new guest again
  • add ability to create new group
  • enable creating multiple guests in a new group
  • after saving new guest in group, navigate to edit page of first new guest's group

0.6.12

  • add ability to add new guest to preexisting group
  • add ability to add multiple guests to group at once
  • make new guests in group inherit family and groupId
  • add property to new guests to check if they've been edited or not so unused new guests can be auto-deleted
  • add ability to save new guests in group

0.6.11

  • make groups update if you back out of group then go back in

0.6.10

  • add ability to save changes
  • fix Selector component saving false bool value as string
  • prevent saving if guest name is empty
  • refactor react keys so ShortTextInput doesn't lose focus after every keystroke

0.6.9

  • make textarea component
  • reorganize GuestCard layout
  • auto-assign 'label' to input components if it's not specified
  • add all fields for guest cards
  • make guest cards legible in iOS Safari

0.6.8

  • extract short input text to component
  • extract selector to component

0.6.7

  • add short text inputs to guest cards
  • refactor Table.jsx to use for checkboxes in guest cards
  • create selector creation func for guest cards
  • add families for selector
  • make display values match selected value label
  • add guest names and group IDs for selector
  • make guest names alphabetical
  • add ability to put guest in new group
  • make new group option display "New Group" when not editing (had to pass down randomized new group ID as state from parent so it didn't regenerate)

0.6.6 (branch: 'handle-multiple-edits')

  • refactor all handleEdit() methods to use object arguments instead of separate single field and value args for scalability
  • change name to 'handleEdits()'

0.6.5

  • clean up Table.jsx and remove dependence on declinedVisible variable
  • create initial structure for guest cards

0.6.4

  • change Edit buttons so they always just say "edit" and indicate status via white fill
  • show 'Ready to send' column in Addresses

0.6.3

  • create hamburger navbar for mobile
  • add transitions for hamburger slide in and out
  • eliminate top-of-page gap when on mobile and hamburger button is to the side
  • make it so clicking the translucent overlay of the hamburger menu dismisses it
  • put the hamburger navbar higher in the z-index so it superimposes the "add to calendar" buttons
  • dismiss hamburger after clicking link

0.6.2

  • add clickable list on GroupLookup page with every group listed
  • make group list flex on wide screens, grid on thin ones
  • add label to search bar
  • keep search bar on one line on mobile
  • add gap between search bar and search button

0.6.1

  • make error 404 page 'go back' button actually go back to last page with navigate(-1)
  • add Navbar to 404 page

0.6.0

  • add GroupEdit page logic that loads and fetches guests if signed in
  • add GroupLookup component that lets user search name and redirects them to the appropriate group page

0.5.12

  • create (empty) pages for GroupEdit components
  • restructure component directories so Admin components are actually in Admin folder
  • move all Addresses logic to Addresses component and delete AddressesPage wrapper

0.5.11

  • move Addresses to its own page
  • make edit buttons smaller
  • remove Addresses logic from Dashboard

0.5.10

  • refactor Dashboard so URI dictates display style
  • make display style tabs navigate between display style paths (had to use {relative: 'path'})
  • make default /dashboard page render with default display style
  • account for tabs to switch style whether path specifies style or not

0.5.9

  • touch up Addresses table formatting

0.5.8

  • indicate active tab
  • bold and underline RSVP totals in table
  • reorder Declined and Next Round columns in RSVP tables

0.5.7

  • make all RSVP tables the same width by passing longest name to each one and setting row header widths accordingly
  • make Log Out link only appear when logged in

0.5.6

  • add red background to Declined caption
  • clean up Table.css
  • round inner corners in Addresses
  • add caption to Addresses table

0.5.5

  • require valid JWT to fetch guests in Dashboard
  • remove 'declined' column from 'Declined Guests' table
  • make 'Declined Guests' table border red
  • make other table borders light grey instead of black
  • refactor table CSS to allow for rounded borders
  • extract table caption into separate div
  • round Addresses outer corners

0.5.4

  • alternate colors of field group cells in Addresses
  • increase group separator visibility in Addresses
  • make :active and :hover styles apply with priority over alternating background colors

0.5.3

  • make Addresses toggles display :active and :hover appropriately

0.5.2

  • extract handleEdit() from Table.jsx to Dashboard.jsx so it can be passed down to Table and to Addresses
  • in addresses, use different functions to create field groupings to customize control
  • add working toggle to toggle-able columns in Addresses
  • create component for text input fields in Addresses
  • add ability to edit address(es)
  • in Addresses, make edit view display an address box for each guest in a group even if only one is filled (unlike in non-edit view)
  • tighten up createTextInputFieldGrouping() code

0.5.1

  • adjust addresses grid sizing and placement
  • delete addresses logic from Table.jsx
  • add heading for addresses grid

0.5.0

  • add :active style on desktop for clicking RSVP cells
  • add 'families' display option to Dashboard
  • add 'addresses' display option with bespoke component
  • wrap all page content in div and add page edge margin
  • make group addresses display all if they're different or just one if they're the same or if only one is filled out
  • style addresses grid for readability
  • make verticle grid lines as thin as guest divider lines instead of as thick as group divider lines

0.4.5

  • add "next_round" col for guest table editing

0.4.4

  • have guest RSVP cells call API to update guest info in DB
  • when clicking table cell, add func to update guests locally

0.4.3

  • make admin login work on mobile by changing SERVER_URL to 'http://192.168.1.187'
  • fix cell highlighting to not stick on mobile
  • adjust table display so all columns are visible on mobile
  • flip words to go other direction + make it work in Safari
  • on mobile admin login page, prevent auto-capitalizing first letter and auto-correct
  • make form inputs align-left

0.4.2

  • swap checks and Xs in tables for filled color squares
  • add ability to toggle "edit" mode on dashboard to edit table cells myself
  • make Dashboard table cells appropriate color on hover when editing

0.4.1

  • add totals to main table when desired

0.4.0

  • get Dashboard to fetch all guests
  • put all guest RSVP info into table
  • extract table into component
  • add hidden Declined column that only shows up when specified
  • style tables a bit to make them more legible

0.3.4

  • disable App.css; move desired styles to index.css
  • add global variable to pass to all API calls so I can swap it easily once I deploy production site

0.3.3

  • wire up signup form to call auth API
  • merge handleLogin() and handleSubmit()
  • print errors if any are returned
  • log in and store jwt if successful

0.3.2

  • wire up login form to call auth API
  • convert formdata to JSON for fetch payload
  • if successful, store jwt and update localstorage
  • refactor updateJwt() to extract token string if jwtData passed is an object
  • make login screen display error if there is one

0.3.1

  • lift jwt state var and updateJwt() to App component
  • make admin nav show when no auth if path includes 'admin'
  • delete unused routing code
  • set up AdminAuth page for logging in
  • add swap button to go from logging in to signing up or vice versa
  • set up AdminAuth page for signing up

0.3.0

  • add admin routes
  • have AdminWrapper display user auth if not signed in

0.2.2

  • programmatically add commas to event addresses in calendar buttons

0.2.1

  • add styling to only show focused button outline if navigating with keyboard

0.2.0

  • put events onto schedule page
  • add ability to have one link or span in event description
  • add "add to calendar" buttons under schedule

0.1.8

  • add address section under Rsvp
  • disable checkboxes while guest RSVP is updated
  • add address inputs

0.1.7

  • add RSVP checkboxes that communicate with db

0.1.6

  • add EVENTS constant
  • add logic to RsvpForm so it populates a selector for each guest's response next to each event

0.1.5

  • actually fix submit button

0.1.4

  • fix RsvpAuth submit button disabling on load

0.1.3

  • disable RsvpAuth submit button when awaiting response
  • disable RsvpAuth submit button when name field is empty

0.1.2

  • write RsvpAuth component and logic
  • fix issue of auth dialogue not switching to RsvpForms after successfully fetching guest info

0.1.1

  • add Registy page

0.1.0

  • get some basic routes set up
  • create navbar for all pages
  • add dynamic buttons to navbar
  • create RSVP page skeleton and child components RsvpAuth and RsvpForm
  • get Rsvp to check localStorage for groupId
  • have Rsvp fetch guests from server and update state variables
  • pass guest info down to RsvpForm
  • add loading page for initial RSVP page render

0.0.0

  • Initial commit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published