burtenshaw HF Staff commited on
Commit
8a41708
·
verified ·
1 Parent(s): b470b7c

Move registration above challenge flow

Browse files
src/app/page.module.css CHANGED
@@ -137,6 +137,14 @@
137
  min-width: 0;
138
  }
139
 
 
 
 
 
 
 
 
 
140
  .panelLabel {
141
  font-size: 0.74rem;
142
  letter-spacing: 0.18em;
 
137
  min-width: 0;
138
  }
139
 
140
+ .registrationPanel {
141
+ order: 1;
142
+ }
143
+
144
+ .challengePanel {
145
+ order: 2;
146
+ }
147
+
148
  .panelLabel {
149
  font-size: 0.74rem;
150
  letter-spacing: 0.18em;
src/app/signup-panel.tsx CHANGED
@@ -190,7 +190,7 @@ export default function SignupPanel({ session }: SignupPanelProps) {
190
  </section>
191
 
192
  <section className={styles.grid}>
193
- <article className={styles.panel}>
194
  <p className={styles.panelLabel}>Challenge Flow</p>
195
  <h2 className={styles.panelTitle}>Build, benchmark, and submit a Mac Metal kernel.</h2>
196
  <ul className={styles.list}>
@@ -245,7 +245,7 @@ export default function SignupPanel({ session }: SignupPanelProps) {
245
  </div> */}
246
  </article>
247
 
248
- <section className={styles.panel}>
249
  <p className={styles.panelLabel}>Registration</p>
250
  <h2 className={styles.panelTitle}>Register on Hugging Face.</h2>
251
 
 
190
  </section>
191
 
192
  <section className={styles.grid}>
193
+ <article className={`${styles.panel} ${styles.challengePanel}`}>
194
  <p className={styles.panelLabel}>Challenge Flow</p>
195
  <h2 className={styles.panelTitle}>Build, benchmark, and submit a Mac Metal kernel.</h2>
196
  <ul className={styles.list}>
 
245
  </div> */}
246
  </article>
247
 
248
+ <section className={`${styles.panel} ${styles.registrationPanel}`}>
249
  <p className={styles.panelLabel}>Registration</p>
250
  <h2 className={styles.panelTitle}>Register on Hugging Face.</h2>
251