Skip to content

Commit

Permalink
Rough edits to home page content
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonappah committed Jun 28, 2024
1 parent 5bfbbc1 commit b6825d1
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 28 deletions.
Binary file added public/home/DSC02235.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 added public/home/DSC03983.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 added public/home/DSC04247.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 added public/home/DSC05965.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 added public/home/DSC07331.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 added public/home/DSC07439.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 public/home/impulse.png
Binary file not shown.
18 changes: 1 addition & 17 deletions src/components/home/division.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ interface Props {
divisionName: string
divisionDescription: string
divisionOverview: string
images: string[]
learnMoreHref: string
images: [string, string, string]
}
const {
backgroundImg,
backgroundPosition,
divisionName,
divisionDescription,
images,
learnMoreHref,
divisionOverview,
} = Astro.props
---
Expand Down Expand Up @@ -93,19 +91,5 @@ const {
/>
))
}
<a
href={learnMoreHref}
class="font-mashine"
style={{
borderRadius: '1rem',
border: '2px solid #D9D9D9',
width: '100%',
height: '18rem',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
}}><p>Learn More &rarr;</p></a
>
</div>
</div>
19 changes: 8 additions & 11 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,17 @@ import Join from '../components/join.astro'
backgroundImg="url('/home/plants-with-sparks.jpg')"
backgroundPosition="40% 10%"
divisionName="Combat Robotics"
divisionDescription="Combat robotics is all about sparks, fire and spilling robot guts. The excitement around the sport is perfect for spreading awareness of robotics. Our combat division also promises something for everyone, with entry level programs and lots of upward mobility."
divisionOverview="Originally started with ’The Blender‘, our 120lb world championship winning Battlebot, combat robotics at UT Dallas has history going back to 2004. Since the clubs’ revival in 2021, we have expanded to dozens of 1lb, 3lb, and 12lb weight class projects."
images={['home/spiderbite.png', 'home/impulse.png']}
learnMoreHref="#"
divisionDescription="We're all about sparks, fire and spilling robot guts. The excitement around the sport is perfect for spreading awareness of robotics. Our Combat Robotics division promises something for everyone, with entry-level programs and lots of upward mobility."
divisionOverview="Ever wanted to build a battle bot, like the TV show? Combat Robotics is the place to be. Originally started with ’The Blender‘, our 120lb world championship winning BattleBot, combat robotics at UT Dallas has history going back to 2004. Since the clubs’ revival in 2021, we have expanded to dozens of 1lb, 3lb, and 12lb weight class projects."
images={['home/Edit_20240219_EWeekCombatBlocks_DSC03650.jpeg','home/DSC05965.JPG', 'home/DSC02235.JPG',]}
/>
<!-- TODO: update competitive images -->
<Division
backgroundImg="url('/home/plants-with-sparks.jpg')"
backgroundPosition="40% 10%"
backgroundImg="url('/home/DSC04247.JPG')"
backgroundPosition="70% 100%"
divisionName="Competitive Robotics"
divisionDescription="Hosting teams competing with colleges and universities across the globe, including COMET, our VEX U team, and Solis Rover Project, our University Rover Challenge team, competitive robotics challenges students in fast paced engineering environments and builds on the hard and soft skills learned in students coursework."
divisionOverview="TODO: add content"
images={['home/spiderbite.png', 'home/impulse.png']}
learnMoreHref="#"
divisionDescription="Hosting our non-combat robot projects (including COMET, our VEX U team, Solis Rover Project, our University Rover Challenge team, and the ChessBot project), the Competitive Robotics division challenges students in fast paced engineering environments and builds on the hard and soft skills learned in students coursework."
divisionOverview="Projects in the Competitive Robotics division feature demanding mechanical requirements, and a heavy emphasis on software control systems to achieve their goals. Whether you're a FIRST or VEX alumni, or completely new to the world of competitive robotics, Comet Robotics has a place for you!"
images={['home/DSC07439.JPG', 'home/DSC07331.JPG', 'home/DSC03983.JPG']}
/>
<Join theme="light" />
</BaseLayout>

0 comments on commit b6825d1

Please sign in to comment.