Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions app/(pages)/software-work/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
"use client";
// import { useState } from "react";
import Link from "next/link";
import Image from "next/image"
import styles from "./software-work.module.scss";
// import styles from "./mixins.scss"

// import .scss file (use styles)

export default function SoftwareWork() {
// js code outside of return

return (
// put html stuff inside div
<div className={styles.pageBody}>
<div className={styles.content}>
<div className={styles.LeftContainer}>
<h1 className={styles.softwareHeader}>Software Work</h1>
<p className={styles.softwareDescription}>
Our Software team focuses mainly on the embedded software and
writing our custom operating system on the orbital platform called
IntelliSat. IntelliSat is written fully in C, has bare metal
drivers, and uses FreeRTOS to schedule mission tasks. Work in
Software involves using STM32CubeIDE, looking at datasheets,
documentation, looking at schematics, and embedded C
</p>

<div className={styles.SSSButtonsContainer}>
<Link
href={
"https://github.com/Space-and-Satellite-Systems-UC-Davis/IntelliSat"
}
className={styles.SSSButton}
target="_blank"
rel="noopener noreferrer"
>
IntelliSat - GitHub
</Link>

<Link
href={
"https://github.com/Space-and-Satellite-Systems-UC-Davis/REALOP_Radio_Controller"
}
className={styles.SSSButton}
target="_blank"
rel="noopener noreferrer"
>
Radio Controller - GitHub
</Link>
<Link
href={
"https://github.com/Space-and-Satellite-Systems-UC-Davis/REALOP_MGT_Controller"
}
className={styles.SSSButton}
target="_blank"
rel="noopener noreferrer"
>
MGT Controller - GitHub
</Link>
</div>
</div>

<div className={styles.SVGContainer}>
<Image
src={"./Vector.svg"}
alt="Github Logo"
height={429}
width={418}
></Image>
</div>
</div>
</div>
);
}
128 changes: 128 additions & 0 deletions app/(pages)/software-work/software-work.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@

.pageBody
{
// background: linear-gradient(180deg, #000138 0%, #172B54 100%);
background: var(--navy);
box-shadow: 0 5px 50px 0 rgba(0, 0, 0, 0.1);
margin: 0;
padding: 0;
}

.content
{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 3rem;
padding: 4rem 6rem;
// makes the page flex items align with window size (let me know to remove this)
max-width: 90rem;
margin: 0 auto;
}

// puts the header, description, and buttons to the left
.LeftContainer
{
display: flex;
flex-direction: column;
gap: 1.5rem;
flex: 1;
}

.softwareHeader
{
color: #FFF;
font-size: 3rem;
font-style: normal;
font-weight: 500;
line-height: normal;
size: 3rem;
position: sticky;
}


.softwareDescription
{
height: 9.75rem;
font-size: 1.25rem;
font-style: normal;
line-height: normal;
font-family: "Space Grotesk";
color: var(--white);
width: 39.375rem;
max-width: 45rem;
margin-top: 50%;
margin-top: 0;
}

.SSSButtonsContainer
{
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
gap: 1.5rem;

}

.SSSButton
{
position: relative;
overflow: hidden;

display: flex;
align-items: center;
justify-content: center;
border-radius: 0.3125rem;
border: 0.5px solid var(--Off-White);
background: rgba(247, 247, 247, 0.90);
box-shadow: 0 5px 50px 0 rgba(0, 0, 0, 0.10);
color: var(--dark-gray); // change
font-family: "Space Grotesk";
font-size: 1rem;
font-weight: 500;
padding: 0.8125rem 2rem;
min-width: 19.6875rem; // Allows the buttons to be even-sized horizontally no matter how long text is
cursor: pointer;
text-decoration: none;
}
.SSSButton::before
{
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.17);
transform-origin: 0% 50%;
transform: scaleX(0); // slide is off
transition: transform 0.3s ease;
}
.SSSButton:hover::before{
animation: slideOverlay 0.3s forwards;
}

@keyframes slideOverlay
{
from{
transform: scaleX(0);
}
to{
transform: scaleX(1); // slide is on
}
}
// ^^used to for translation smoothly


.SVGContainer
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have a bunch of random styling here, id like you reformat this to have align-self: center along with padding-right: X to push it to the right like on the design

{
display: flex;
align-self: center;
padding-right: 4rem;
flex-shrink: 0;
}

// :root{
// --Blue-Gradiant: linear-gradient(180deg, #000138 0%, #172B54 100%);
// --Off-White:#F7F7F7;
// --Grey: #575757;
// }
89 changes: 54 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions public/Vector.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.