Skip to content

Commit

Permalink
Refactor home frontmatter + cmt cards
Browse files Browse the repository at this point in the history
  • Loading branch information
JedHazaymeh committed Feb 19, 2024
1 parent 4618e0a commit 008b245
Show file tree
Hide file tree
Showing 23 changed files with 34 additions and 28 deletions.
10 changes: 5 additions & 5 deletions src/_includes/home/sections/cta.njk
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<section data-zoom-trigger class="relative hero h-screen overflow-hidden">
<div class="hero-content text-center">
<div class="max-w-md">
<div class="max-w-xl">
<h1 class="text-white text-shadow text-3xl lg:text-5xl font-bold mb-2 lg:mb-4">
Don't Miss Out
{{ sections.cta.title }}
</h1>
<p class="text-white text-shadow sm:text-lg/relaxed mb-8">
Lorem ipsum dolor sit amet consectetur, adipisicing elit.
{{ sections.cta.body }}
</p>
<button
class="btn btn-primary shadow-lg w-full sm:w-36"
href="https://dcuclubsandsocs.ie/society/redbrick"
href="{{ sections.cta.button.link }}"
rel="noreferrer"
target="_blank"
>
Signup
{{ sections.cta.button.text }}
</button>
</div>
</div>
Expand Down
Empty file.
4 changes: 2 additions & 2 deletions src/_includes/home/sections/hero.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
{{ sections.hero.title.secondary }}
<strong class="text-primary sm:block">{{ sections.hero.title.primary }}</strong>
</h1>
<p class="mt-4 sm:text-lg/relaxed">
{{ sections.hero.description }}
<p class="mt-4 text-md/relaxed">
{{ sections.hero.body }}
</p>
<div class="mt-8 flex flex-wrap gap-4 justify-center md:justify-start">
<a class="btn btn-primary w-full sm:w-36" href="{{ sections.hero.buttons.primary.link }}" rel="noreferrer" target="_blank">
Expand Down
Binary file removed src/site/assets/img/committee/callum.jpg
Binary file not shown.
File renamed without changes
Binary file removed src/site/assets/img/committee/cathalog.png
Binary file not shown.
Binary file removed src/site/assets/img/committee/dennis.jpg
Binary file not shown.
File renamed without changes
Binary file removed src/site/assets/img/committee/distro.png
Binary file not shown.
Binary file removed src/site/assets/img/committee/dominic.png
Binary file not shown.
Binary file removed src/site/assets/img/committee/francis.jpg
Binary file not shown.
File renamed without changes
Binary file removed src/site/assets/img/committee/jake.jpg
Binary file not shown.
Binary file removed src/site/assets/img/committee/jed.png
Binary file not shown.
File renamed without changes
Binary file removed src/site/assets/img/committee/malavika.jpg
Binary file not shown.
Binary file removed src/site/assets/img/committee/philip.jpg
Binary file not shown.
Binary file added src/site/assets/img/committee/pluto.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/site/assets/img/committee/pluto.png
Binary file not shown.
Binary file removed src/site/assets/img/committee/robert.jpg
Binary file not shown.
Binary file removed src/site/assets/img/committee/shane.jpg
Binary file not shown.
Binary file removed src/site/assets/img/committee/stefania.png
Binary file not shown.
48 changes: 27 additions & 21 deletions src/site/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sections:
title:
secondary: DCU's Networking Society.
primary: Become a Member.
description: Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt illo tenetur fuga ducimus numquam ea!
body: Redbrick was formed from a battered 386 PC (dubbed Nurse), bits of borrowed memory, and a group of friends working together. We’re open to everyone regardless of computing level and always looking for people who want to come and learn!
buttons:
primary:
text: Signup
Expand All @@ -17,71 +17,77 @@ sections:
- name: James Hackett
position: 🪑 Chair
username: distro
image: https://redbrick.dcu.ie/images/committee/james.jpg
image: /assets/img/committee/distro.jpg
- name: Shane Whelan
position: 🪑 Vice-Chair
username: pluto
image: https://redbrick.dcu.ie/images/committee/shane.jpg
image: /assets/img/committee/pluto.jpg
- name: Jake Farrell
position: 💌 Secretary
username: cheese
image: https://redbrick.dcu.ie/images/committee/jake.jpg
image: /assets/img/committee/cheese.png
- name: Malavika Shanker
position: 💸 Treasurer
username: calcifer
image: https://redbrick.dcu.ie/images/committee/malavika.jpg
image: /assets/img/committee/calcifer.png
- name: Philip Leonard
position: 📢 PRO
username: payne
image: https://redbrick.dcu.ie/images/committee/philip.jpg
image: /assets/img/committee/payne.png
- name: Ishita Gupta
position: 🎨 GDO
username: ishita
image: https://redbrick.dcu.ie/images/committee/ishita.jpg
username: ishitag
image: /assets/img/committee/ishitag.jpg
- name: Dominic Connor
position: 🚀 SysAdmin
username: wizzdom
image: https://redbrick.dcu.ie/images/committee/dominic.png
image: /assets/img/committee/wizzdom.png
- name: Cathal O'Grady
position: 🚀 SysAdmin
username: cathalog
image: https://redbrick.dcu.ie/images/committee/cathal.jpg
image: /assets/img/committee/cathalog.jpg
- name: Gavin Holahan
position: 🍼 SysAdmin
username: hypnoant
image: https://cdn.discordapp.com/attachments/899430328878379048/1206032602369228820/image.png?ex=65da8863&is=65c81363&hm=bd5b6206db20935f8fc2163d3d6a8c6f1d2620f32b4b9b2e7734ccf071b5923f&
image: /assets/img/committee/hypnoant.png
- name: Jed Hazaymeh
position: 👾 Webmaster
username: magma
image: https://redbrick.dcu.ie/images/committee/jed.png
image: /assets/img/committee/magma.png
- name: Ayden Jahola
position: 🙌 Helpdesk
username: ayden
image: https://redbrick.dcu.ie/images/committee/ayden.png
image: /assets/img/committee/ayden.png
- name: Francis Baxter
position: 🙌 Helpdesk
username: baxter
image: https://redbrick.dcu.ie/images/committee/francis.jpg
username: fbaxter
image: /assets/img/committee/fbaxter.png
- name: Robert Healy
position: 📅 Events Officer
username: orb
image: https://redbrick.dcu.ie/images/committee/robert.jpg
image: /assets/img/committee/orb.png
- name: Stefania Ogun
position: 📅 Events Officer
username: stfnia
image: https://redbrick.dcu.ie/images/committee/stefania.jpg
username: stefania
image: /assets/img/committee/stefania.jpg
- name: Callum Browne
position: 💎 Ordinary Member
username: browner
image: https://cdn.discordapp.com/attachments/892762755499700286/1204850940486877184/IMG_5333.jpg?ex=65d63be1&is=65c3c6e1&hm=22a14422a0d9739c4562d20921e0ba5bbfb2c158dc0335b24012b463741489fd&
image: /assets/img/committee/browner.png
- name: Daniel McEntee
position: 💎 Ordinary Member
username: kronos
image: https://redbrick.dcu.ie/images/committee/daniel.png
image: /assets/img/committee/kronos.png
- name: Dennis Custiuc
position: 🥇 First Year Rep.
username: swooshy
image: https://redbrick.dcu.ie/images/committee/dennis.jpg
image: /assets/img/committee/swooshy.png
cta:
title: Don't Miss Out
body: Redbrick hosts events for everything tech related - from computer programming tutorials to workshops with multinational tech companies.
button:
text: Signup
link: https://dcuclubsandsocs.ie/society/redbrick
---
<main>
{% include "home/sections/hero.njk" %}
Expand Down

0 comments on commit 008b245

Please sign in to comment.