|
| 1 | +--- |
| 2 | +/* |
| 3 | + * alexander-johnston.astro |
| 4 | + * Alexander Johnston |
| 5 | + * 2023-09-26 |
| 6 | + * |
| 7 | + * My Roster Page for CUNE |
| 8 | + */ |
| 9 | +
|
| 10 | +/* Make sure to import your roster image just like this, as then Astro will optimize the formating of it. */ |
| 11 | +import ALEXANDER_JOHNSTON_ROSTER_IMG from "../../assets/roster/alexander-johnston.jpg"; |
| 12 | +
|
| 13 | +/* |
| 14 | + * These components are used to build your roster page. |
| 15 | + * Think of them as prestyled building blocks. |
| 16 | + * If you are interested in doing more of it yourself, |
| 17 | + * the website is built using TailwindCSS, so give it a look |
| 18 | + */ |
| 19 | +import RosterHeader from "../../components/RosterHeader.astro"; |
| 20 | +import RosterLayout from "../../layouts/RosterLayout.astro"; |
| 21 | +import RosterSection from "../../components/RosterSection.astro"; |
| 22 | +import RosterImage from "../../components/RosterImage.astro"; |
| 23 | +
|
| 24 | +const data = { |
| 25 | + img: ALEXANDER_JOHNSTON_ROSTER_IMG /* The Profile Picture for your roster page */, |
| 26 | + name: "Alec Johnston" /* The name you want displayed. Use Capital Letters */, |
| 27 | + role: "Senior" /* The "role" you have on the team. I would just use your year in school, like Senior, Junior, etc. */, |
| 28 | + email: "[email protected]" /* Your CUNE Email */, |
| 29 | + /* A List of your Interests. Make sure to write them how you want them to show up */ |
| 30 | + interests: [ |
| 31 | + "Programming", |
| 32 | + "Computer Science", |
| 33 | + "Brawl Stars", |
| 34 | + "Reading", |
| 35 | + "Church", |
| 36 | + ], |
| 37 | +}; |
| 38 | +--- |
| 39 | + |
| 40 | +<RosterLayout {...data}> |
| 41 | + <RosterHeader {...data} /> |
| 42 | + <!-- For any extra sections you would like to add, just create a new "RosterSection" and give it a title, then just write. --> |
| 43 | + <!-- For any images, use the RosterImage Component imported at the Top. --> |
| 44 | + <RosterSection title="Biography"> |
| 45 | + Alec Johnston is a senior at CUNE majoring in Computer Science and Math. |
| 46 | + He plans to work in the tech graduation back in Minnesota upon graduation. |
| 47 | + He is also in choir and an officer in Student Senate in addition to his |
| 48 | + activity on the programming team. |
| 49 | + </RosterSection> |
| 50 | +</RosterLayout> |
0 commit comments