diff --git a/src/OurSponsors/OurSponsors.js b/src/OurSponsors/OurSponsors.js index fd50b58..16d7f5e 100644 --- a/src/OurSponsors/OurSponsors.js +++ b/src/OurSponsors/OurSponsors.js @@ -9,375 +9,371 @@ import yaml from "js-yaml"; * @returns {JSX.Element} JSX - HTML tags and JS functionality * @description Our Sponsors Page * @author Brock - * @todo finsih layout and add content + * @todo finish layout and add content */ const OurSponsors = () => { - const [currentSponsorsDict, setCurrentSponsorsDict] = useState(); //variable states for the dictionary of sponsors - const [pastSponsorsDict, setPastSponsorsDict] = useState(); - const LinktoSponsorOutreachForm = - "https://docs.google.com/forms/d/e/1FAIpQLSd8eR1es9QJWjlQfGtpJaf8Jwv63d6Ei2e4FSpoBdkB6OiT4g/viewform?usp=sf_link"; + const [currentSponsorsDict, setCurrentSponsorsDict] = useState(); //variable states for the dictionary of sponsors + const [pastSponsorsDict, setPastSponsorsDict] = useState(); + const LinktoSponsorOutreachForm = + "https://docs.google.com/forms/d/e/1FAIpQLSd8eR1es9QJWjlQfGtpJaf8Jwv63d6Ei2e4FSpoBdkB6OiT4g/viewform?usp=sf_link"; - useEffect(() => { - getCurrentSponsors(); - getPastSponsors(); - }, []); + useEffect(() => { + getCurrentSponsors(); + getPastSponsors(); + }, []); - /** - * @param {null} null - requires nothing (link) - * @returns {Object} sponsorsDict - gets a Dictionary of our sponsors from synology drive - * @description Gets the list of sponsors from the synology drive (not implemented), converts the json file into a dictionary - * @author Brock - * @todo add gPRC to backend and front end add connect to synology drive - */ - const getCurrentSponsors = async () => { - try { - const res = await fetch(currentSponsorData); - const rawText = await res.text(); - const yamlDict = await yaml.load(rawText); - setCurrentSponsorsDict(yamlDict); - } catch (error) { - //error checking - console.log(error); - console.error("Error recieving data from server:"); - } - }; - /** - * @param {null} null - requires nothing (link) - * @returns {Object} sponsorsDict - gets a Dictionary of our sponsors from synology drive - * @description Gets the list of sponsors from the synology drive (not implemented), converts the json file into a dictionary - * @author Brock - * @todo add gPRC to backend and front end add connect to synology drive - */ - const getPastSponsors = async () => { - try { - const res = await fetch(pastSponsorData); - const rawText = await res.text(); - const yamlDict = await yaml.load(rawText); - setPastSponsorsDict(yamlDict); - } catch (error) { - // error checking - console.error("Error recieving data from server:"); - } - }; + /** + * @param {null} null - requires nothing (link) + * @returns {Object} sponsorsDict - gets a Dictionary of our sponsors from synology drive + * @description Gets the list of sponsors from the synology drive (not implemented), converts the json file into a dictionary + * @author Brock + * @todo add gPRC to backend and front end add connect to synology drive + */ + const getCurrentSponsors = async () => { + try { + const res = await fetch(currentSponsorData); + const rawText = await res.text(); + const yamlDict = await yaml.load(rawText); + setCurrentSponsorsDict(yamlDict); + } catch (error) { + //error checking + console.log(error); + console.error("Error recieving data from server:"); + } + }; + /** + * @param {null} null - requires nothing (link) + * @returns {Object} sponsorsDict - gets a Dictionary of our sponsors from synology drive + * @description Gets the list of sponsors from the synology drive (not implemented), converts the json file into a dictionary + * @author Brock + * @todo add gPRC to backend and front end add connect to synology drive + */ + const getPastSponsors = async () => { + try { + const res = await fetch(pastSponsorData); + const rawText = await res.text(); + const yamlDict = await yaml.load(rawText); + setPastSponsorsDict(yamlDict); + } catch (error) { + // error checking + console.error("Error recieving data from server:"); + } + }; - return ( -
-
-
-

How sponsors help us

-

- Schulich Off-Road expresses deep appreciation for sponsors' crucial - support in various team operations, from sourcing parts to - participating in competitions. Tailored sponsorship agreements - acknowledge each sponsor's unique contributions. As a student-led - team, every form of support, whether monetary or in goods and - services, is essential for success. Past sponsor assistance - includes: -

-
    -
  • Design fabrication
  • -
  • Material procurement
  • -
  • Design consultations
  • -
  • Software provision Travel funding for competitions
  • -
-

- These partnerships signify a commitment to excellence and innovation - in engineering. -

-
-
-

Become a sponsor

-
- - QR code to contanct us form -

Click on this to open the contact form

-
-

- Talk about how you can reach out to sponsor us. (Maybe also - include a link to the form as well) -

-
-
-
-

Why Sponsor Us?

-
    -
  • - Objective: Connect sponsors with next generation of Canadian - engineers -
  • -
  • - Opportunity to work with Schulich Off-Road team and wider - undergraduate community at University of Calgary who are a part of - the Schulich Off-Road team -
  • -
  • - Build mutually beneficial relationships with dedicated and - ambitious students -
  • -
  • - Benefits include perks for advertising and promoting services and - company to team members -
  • -
  • - Collaboration with leading companies to ensure members learn - sought-after skills -
  • -
  • - Mitigate frictional unemployment for graduating team members -
  • -
  • - Networking opportunities for members with potential employers -
  • -
  • - Employers can build connections with new generation of engineers - to secure jobs and potential employees -
  • -
- {/* the sponsorship package replicated */} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Sponsor Packages

-
{/*blank on purpose to add spcae for a black box */}Diamond $10,000+Platinum $5000Gold $1000Silver $500Bronze $200
Skill Development842
Shop Visits
Interviews
Portfolios✓ (Detailed)
Company Into to team
Custom Gift
Branding on Apperal (single colour)On full sleeveOn Sleeve ForearmMedium on backSmall on backSmall on back
Logo on Vehicle - 36in2 - - 28in2 - - 20in2 - - 10in2 -
Social Media (Min.)Once/2 WeeksOnce/MonthOnce/3 MonthOnce/6 MonthOnce/12 Month
-
-
-
- +
+ ); }; export default OurSponsors;