-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
688 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 4 additions & 11 deletions
15
src/app/modules/_core/column-layout/column-layout.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
:host { | ||
display: grid; | ||
grid-template-columns: repeat(2, 1fr); | ||
gap: 32px; | ||
} | ||
|
||
@media only screen and (max-width: 1080px) { | ||
:host { | ||
grid-template-columns: repeat(1, 1fr); | ||
} | ||
display: grid; | ||
gap: 32px; | ||
} | ||
|
||
:host > * { | ||
display: block; | ||
} | ||
display: block; | ||
} |
22 changes: 19 additions & 3 deletions
22
src/app/modules/_core/column-layout/column-layout.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { Component, HostBinding, Input, OnInit } from '@angular/core'; | ||
import { BreakpointManagerService } from '@src/app/services/breakpoint-manager.service'; | ||
|
||
@Component({ | ||
selector: 'app-column-layout', | ||
templateUrl: './column-layout.component.html', | ||
styleUrls: ['./column-layout.component.css'], | ||
}) | ||
export class ColumnLayoutComponent implements OnInit { | ||
constructor() {} | ||
@Input('grid-template-columns') gridTemplateColumns: string = 'repeat(2, 1fr)'; | ||
@HostBinding('style.grid-template-columns') currGridTemplateColumns: string = ''; | ||
|
||
ngOnInit(): void {} | ||
constructor(private breakpointManagerService: BreakpointManagerService) { | ||
breakpointManagerService.onBreakpointChanged.subscribe(() => { | ||
this.updateGrid(); | ||
}); | ||
} | ||
|
||
ngOnInit(): void { | ||
this.updateGrid(); | ||
} | ||
|
||
updateGrid() { | ||
this.currGridTemplateColumns = this.breakpointManagerService.matchedBreakpointOrBelow('MOBILE') | ||
? 'repeat(1, 1fr)' | ||
: this.gridTemplateColumns; | ||
} | ||
} |
23 changes: 15 additions & 8 deletions
23
src/app/modules/_core/event-header/event-header.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
<!-- SGJ --> | ||
<app-section class="app-event-header section" title="Scarlet Game Jam is here!" bottom-gradient color="primary" bgImage="assets/images/sgj-bg-f2024.png" bgRepeatMode="repeat" bgPosition="0 0" style="height:100% " shadow> | ||
<!-- <app-section class="app-event-header section" title="Scarlet Game Jam is here!" top-gradient bottom-gradient | ||
color="primary" bgImage="assets/images/sgj-bg-f2024.png" bgRepeatMode="repeat" bgPosition="0 0" style="height:100% " | ||
shadow> | ||
<div style="width: 100vw;"></div> | ||
<div style="max-width: 512px"> | ||
<p>Come sign up for this biannual event and make a game with friends in a week! Click the button below for more information.</p> | ||
<p>Come sign up for this biannual event and make a game with friends in a week! Click the button below for more | ||
information.</p> | ||
<app-button iconifyIcon="majesticons:door-exit" link="scarlet-game-jam" color="blank">Go to SGJ page</app-button> | ||
</div> | ||
</app-section> | ||
<!-- GGJ --> | ||
<!-- <app-section class="app-event-header section" title="Global Game Jam is coming soon!" bottom-gradient color="primary" bgImage="assets/images/ggj-bg.png" style="height:100% " shadow> | ||
</app-section> --> | ||
<!-- Scarlet Showcase --> | ||
<app-section class="app-event-header section" title="Scarlet Showcase is here!" top-gradient bottom-gradient | ||
color="primary" bgImage="assets/images/ss-bg.png" bgRepeatMode="repeat" bgPosition="0 0" style="height:100% " shadow> | ||
<div style="width: 100vw;"></div> | ||
<div style="max-width: 512px"> | ||
<p>Come sign up for this annual event and make a game with friends in 48 hours! Click the button below for more information.</p> | ||
<app-button iconifyIcon="majesticons:door-exit" link="global-game-jam" color="blank">Go to GGJ page</app-button> | ||
<p>Check out our end of semester creative showcase event! Play games made by your fellow Rutgers students, | ||
participate in fun activities, and win prizes. Click the button below for more | ||
information.</p> | ||
<app-button iconifyIcon="majesticons:door-exit" link="scarlet-showcase" color="blank">Go to Scarlet Showcase | ||
page</app-button> | ||
</div> | ||
</app-section> --> | ||
</app-section> |
40 changes: 21 additions & 19 deletions
40
src/app/modules/_core/full-page-header/full-page-header.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
.bg { | ||
position: relative; | ||
display: -webkit-box; | ||
display: -webkit-flex; | ||
display: -ms-flexbox; | ||
display: flex; | ||
box-sizing: border-box; | ||
min-height: calc(100vh - var(--site-header-height)); /* Accounting for header */ | ||
padding: var(--content-padding); | ||
background-size: cover; | ||
background-position: center; | ||
position: relative; | ||
display: -webkit-box; | ||
display: -webkit-flex; | ||
display: -ms-flexbox; | ||
display: flex; | ||
box-sizing: border-box; | ||
min-height: calc(100vh - var(--site-header-height)); /* Accounting for header */ | ||
padding: var(--content-padding); | ||
background-size: cover; | ||
background-position: center; | ||
} | ||
|
||
.content { | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
width: var(--content-width); | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
width: var(--content-width); | ||
} | ||
|
||
.scroll-button { | ||
position: absolute; | ||
left: calc(50% - 21px); | ||
bottom: 10%; | ||
filter: drop-shadow(0 0 1rem black); | ||
} | ||
position: absolute; | ||
left: calc(50% - 21px); | ||
bottom: 10%; | ||
filter: drop-shadow(0 0 1rem black); | ||
width: fit-content; | ||
height: fit-content; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
src/app/pages/global-game-jam/global-game-jam/_global-game-jam-page.component-theme.scss
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
src/app/pages/global-game-jam/global-game-jam/global-game-jam-page.component.css
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.