Roasted Bean Deploy commited on
Commit
f080e0e
·
1 Parent(s): 867139e

🔄 Swap image sections: visit→about on PC, about→visit on phone

Browse files
Files changed (2) hide show
  1. public/css/style.css +4 -0
  2. public/index.html +34 -30
public/css/style.css CHANGED
@@ -852,6 +852,10 @@ body {
852
  gap: 40px;
853
  }
854
 
 
 
 
 
855
  .about-image { position: static; order: 0; }
856
 
857
  .about-figures { grid-template-columns: repeat(3, 1fr); }
 
852
  gap: 40px;
853
  }
854
 
855
+ .img-sections { display: flex; flex-direction: column; }
856
+ .img-sections .visit-section { order: 2; }
857
+ .img-sections .about-section { order: 1; }
858
+
859
  .about-image { position: static; order: 0; }
860
 
861
  .about-figures { grid-template-columns: repeat(3, 1fr); }
public/index.html CHANGED
@@ -63,6 +63,39 @@
63
  </section>
64
 
65
  <!-- About / Story -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  <section class="about-section" id="about">
67
  <div class="container">
68
  <div class="about-layout">
@@ -96,36 +129,7 @@
96
  </div>
97
  </section>
98
 
99
- <!-- Visit Section -->
100
- <section class="visit-section" id="visit">
101
- <div class="visit-bg">
102
- <img
103
- src="https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?w=1920&q=85&fit=crop&crop=center"
104
- alt="Interior of The Roasted Bean cafe"
105
- loading="lazy"
106
- />
107
- </div>
108
- <div class="visit-content">
109
- <div class="container">
110
- <div class="visit-card">
111
- <h2 class="section-title">Come through</h2>
112
- <div class="visit-details">
113
- <div class="visit-block">
114
- <h3 class="visit-label">Hours</h3>
115
- <div id="hoursList"></div>
116
- </div>
117
- <div class="visit-block">
118
- <h3 class="visit-label">Location</h3>
119
- <p id="cafeAddress"></p>
120
- <p id="cafePhone"></p>
121
- <p id="cafeEmailText"></p>
122
- </div>
123
- </div>
124
- <p class="visit-note">No reservations. First come, first served. Free Wi-Fi.</p>
125
- </div>
126
- </div>
127
- </div>
128
- </section>
129
 
130
  <!-- Newsletter -->
131
  <section class="cta-section">
 
63
  </section>
64
 
65
  <!-- About / Story -->
66
+ <!-- Image section wrapper (swap order on PC) -->
67
+ <div class="img-sections">
68
+
69
+ <section class="visit-section" id="visit">
70
+ <div class="visit-bg">
71
+ <img
72
+ src="https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?w=1920&q=85&fit=crop&crop=center"
73
+ alt="Interior of The Roasted Bean cafe"
74
+ loading="lazy"
75
+ />
76
+ </div>
77
+ <div class="visit-content">
78
+ <div class="container">
79
+ <div class="visit-card">
80
+ <h2 class="section-title">Come through</h2>
81
+ <div class="visit-details">
82
+ <div class="visit-block">
83
+ <h3 class="visit-label">Hours</h3>
84
+ <div id="hoursList"></div>
85
+ </div>
86
+ <div class="visit-block">
87
+ <h3 class="visit-label">Location</h3>
88
+ <p id="cafeAddress"></p>
89
+ <p id="cafePhone"></p>
90
+ <p id="cafeEmailText"></p>
91
+ </div>
92
+ </div>
93
+ <p class="visit-note">No reservations. First come, first served. Free Wi-Fi.</p>
94
+ </div>
95
+ </div>
96
+ </div>
97
+ </section>
98
+
99
  <section class="about-section" id="about">
100
  <div class="container">
101
  <div class="about-layout">
 
129
  </div>
130
  </section>
131
 
132
+ </div> <!-- /img-sections -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
 
134
  <!-- Newsletter -->
135
  <section class="cta-section">