diff --git a/frontend/src/app/about/about.component.html b/frontend/src/app/about/about.component.html index fa781f6..aa1d153 100644 --- a/frontend/src/app/about/about.component.html +++ b/frontend/src/app/about/about.component.html @@ -1,5 +1,6 @@ - +

About Us

We are a simple server born out of nostalgia, and working to maintain a semi-vanilla feel today's Minecraft diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts index 840c9d1..38b98b3 100644 --- a/frontend/src/app/app.module.ts +++ b/frontend/src/app/app.module.ts @@ -16,11 +16,13 @@ import {PrivacyComponent} from './privacy/privacy.component'; import {TeamComponent} from './team/team.component'; import {AboutComponent} from './about/about.component'; import {SocialsComponent} from './socials/socials.component'; +import {VoteComponent} from './vote/vote.component'; const routes: Routes = [ {path: '', component: HomeComponent}, {path: 'map', component: MapComponent}, {path: 'rules', component: RulesComponent}, + {path: 'vote', component: VoteComponent}, {path: 'about', component: AboutComponent}, {path: 'socials', component: SocialsComponent}, {path: 'team', component: TeamComponent}, @@ -37,6 +39,7 @@ const routes: Routes = [ HomeComponent, MapComponent, RulesComponent, + VoteComponent, AboutComponent, SocialsComponent, TeamComponent, diff --git a/frontend/src/app/header/header.component.scss b/frontend/src/app/header/header.component.scss index 3d1f281..9fdaaa1 100644 --- a/frontend/src/app/header/header.component.scss +++ b/frontend/src/app/header/header.component.scss @@ -1,10 +1,10 @@ header { - background: url("/public/img/backgrounds/120spawn-min.png") no-repeat fixed center 0; background-size: cover; text-align: center; width: 100%; - height: 100vh; overflow: hidden; + background-repeat: no-repeat; + background-position: center; } header .container { diff --git a/frontend/src/app/home/home.component.html b/frontend/src/app/home/home.component.html index c60d057..17caa47 100644 --- a/frontend/src/app/home/home.component.html +++ b/frontend/src/app/home/home.component.html @@ -1,5 +1,5 @@ -

Altitude

diff --git a/frontend/src/app/privacy/privacy.component.html b/frontend/src/app/privacy/privacy.component.html index 7367688..43242df 100644 --- a/frontend/src/app/privacy/privacy.component.html +++ b/frontend/src/app/privacy/privacy.component.html @@ -1,5 +1,6 @@ - + >

Privacy Policy

diff --git a/frontend/src/app/socials/socials.component.html b/frontend/src/app/socials/socials.component.html index 75bac00..c4b34c1 100644 --- a/frontend/src/app/socials/socials.component.html +++ b/frontend/src/app/socials/socials.component.html @@ -1,5 +1,6 @@ - + >

Altitude Socials

@@ -12,21 +13,22 @@ title="discord.gg/alttd" alt="Altitude Discord" height="150" width="150" style="width: 150px;">
diff --git a/frontend/src/app/team/team.component.html b/frontend/src/app/team/team.component.html index 7ad4e2b..21f176d 100644 --- a/frontend/src/app/team/team.component.html +++ b/frontend/src/app/team/team.component.html @@ -1,5 +1,6 @@ - + >

Staffing Team

The team that makes Altitude happen. Your owners, admins, moderators, and trainees are all working together to diff --git a/frontend/src/app/terms/terms.component.html b/frontend/src/app/terms/terms.component.html index 5ebf9ae..d7a73de 100644 --- a/frontend/src/app/terms/terms.component.html +++ b/frontend/src/app/terms/terms.component.html @@ -1,5 +1,6 @@ - + >

Terms of Use

diff --git a/frontend/src/app/vote/vote.component.html b/frontend/src/app/vote/vote.component.html new file mode 100644 index 0000000..2ceed81 --- /dev/null +++ b/frontend/src/app/vote/vote.component.html @@ -0,0 +1,138 @@ + + +
+

Vote Daily!

+

Support the server and help us conquer the world by voting on the websites below every day. Thank you for + supporting the Altitude server!

+
+
+ +
+
+
+
+
+

Daily Vote Crate

+

Vote on at least 5 sites to get a crate key every day! Crates contain a vast treasure of collectibles and + valuables. You can open vote crates at spawn on the survival server that you received the key on.

+

Please note: Days reset at midnight UTC + and votes do not process until you log in!

+
+
+
+
+

Weekly Vote Crate

+

Vote at least 36 times in a week (thats 6 times a day for 6 days!) to get a Weekly Crate Key! Weekly + Crates have higher value rewards, exclusive collectibles, and items with normally impossible + enchantments.

+

Please note: Weeks reset on Saturday at + midnight UTC and votes do not process until you log in!

+
+
+
+

Disclaimers & Info

+

You can only store 7 daily crate keys, 1 weekly crate key and 2 quest crate + keys.


+

Voting within 30 minutes of midnight UTC can cause your votes to glitch. Keys + lost due to voting too close to midnight UTC will not be reimbursed. + +

+
+
+
+
+
+

MinecraftServers

+ +
+
+

TopMinecraftServers

+ +
+
+

MCSL

+ +
+
+

Minecraft-Server

+ +
+
+

PlanetMinecraft

+ +
+
+

Minecraft-MP

+ +
+
+
+
+
+
+

Reddit

+

We are also listed on /r/mcservers! We create a new + listing every 7 days, and comment on several of the [Wanted] ads. You can find and upvote our listing as + well as comment if you have a Reddit account.

+ +
+ Visit /r/mcservers +
+
+
+
+
+ + +

Scroll Down

+
+
+
diff --git a/frontend/src/app/vote/vote.component.scss b/frontend/src/app/vote/vote.component.scss new file mode 100644 index 0000000..fc93297 --- /dev/null +++ b/frontend/src/app/vote/vote.component.scss @@ -0,0 +1,38 @@ +.voteDisclaimer { + width: 60%; + padding-bottom: 60px; + margin: 0 auto; +} + +.voteSection { + background-color: var(--link-color); + transition: 0.5s ease; +} + +.vote { + width: 33%; + min-width: 220px; + padding-bottom: 50px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: block; + margin: 0 5px; +} + +.vote div { + display: flex; + justify-content: center; +} + +.vote h2 { + text-align: center; + color: white; + padding-bottom: 15px; +} + +.vote .button-outer { + background-color: white; + color: black; + text-shadow: none; +} diff --git a/frontend/src/app/vote/vote.component.spec.ts b/frontend/src/app/vote/vote.component.spec.ts new file mode 100644 index 0000000..f817c77 --- /dev/null +++ b/frontend/src/app/vote/vote.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { VoteComponent } from './vote.component'; + +describe('VoteComponent', () => { + let component: VoteComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [VoteComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(VoteComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/vote/vote.component.ts b/frontend/src/app/vote/vote.component.ts new file mode 100644 index 0000000..d745b62 --- /dev/null +++ b/frontend/src/app/vote/vote.component.ts @@ -0,0 +1,19 @@ +import {Component} from '@angular/core'; +import {ScrollService} from '../scroll/scroll.service'; + +@Component({ + selector: 'app-vote', + standalone: false, + templateUrl: './vote.component.html', + styleUrl: './vote.component.scss' +}) +export class VoteComponent { + constructor(public scrollService: ScrollService) { + } + + voteMessage: string = ''; + + clickVote(id: string) { + this.voteMessage = 'Clicked!'; + } +} diff --git a/frontend/src/index.html b/frontend/src/index.html index e335254..09fd776 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -23,10 +23,8 @@