summaryrefslogtreecommitdiff
path: root/client/src/components/Schedule.tsx
blob: 0ce7e4c5965b06b9a9d93624e5024dc6358f101d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import React from 'react';
import { Paper, Typography, useMediaQuery, useTheme } from '@mui/material';
import divineShepherd from '/divine-shepherd.jpg';

function Schedule() {
  const theme = useTheme();
  const isMobile = useMediaQuery('(max-width: 768px)');
  return (
    <div
      style={{
        height: '100%',
        display: 'flex',
        justifyContent: 'center',
        alignItems: 'center',
        backgroundImage: `url(${isMobile ? 'none' : divineShepherd})`,
        backgroundSize: 'cover',
      }}
    >
      <Paper
        elevation={3}
        sx={{
          width: { xs: '90%', md: 512 },
          px: 2,
          borderRadius: 2,
        }}
      >
        <div style={{ display: 'flex', alignItems: 'center' }}>
          <div style={{ width: '35%' }}>
            <p>April 26, 2025</p>
          </div>
          <div style={{ width: '65%' }}>
            <Typography variant="h5" sx={{ lineHeight: 1.6 }}>
              Wedding Schedule
            </Typography>
          </div>
        </div>
        <hr style={{ width: '100%' }} />
        <div style={{ display: 'flex', alignItems: 'center' }}>
          <div style={{ width: '35%' }}>
            <p>4:30 pm</p>
          </div>
          <div style={{ width: '65%' }}>
            <Typography variant="h6">Ceremony</Typography>
            <p>
              Divine Shepherd
              <br />
              <a
                href="https://maps.app.goo.gl/dGWvmjPiVjNGBVkZ9"
                style={{ color: theme.palette.primary.main }}
              >
                15005 Q St, Omaha, NE 68137
              </a>
            </p>
          </div>
        </div>
        <hr style={{ width: '100%' }} />
        <div style={{ display: 'flex', alignItems: 'center' }}>
          <div style={{ width: '35%' }}>
            <p>6:00 pm</p>
          </div>
          <div style={{ width: '65%' }}>
            <Typography variant="h6">Reception</Typography>
            <p>
              A Venue on the Ridge
              <br />
              <a
                href="https://maps.app.goo.gl/35RRqxzQdq6E4eSMA"
                style={{ color: theme.palette.primary.main }}
              >
                20033 Elkhorn Ridge Dr, Elkhorn, NE 68022
              </a>
            </p>
          </div>
        </div>
      </Paper>
    </div>
  );
}

export default Schedule;