Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post live updates pt. 2 #101

Merged
merged 5 commits into from
Nov 21, 2024
Merged
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
2 changes: 1 addition & 1 deletion src/components/HAccordion.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import { createEventDispatcher, type Snippet } from 'svelte';
import { Button } from '@frequency-chain/style-guide';
import Arrow from '../lib/assets/arrow-right.svg';
import Arrow from '$lib/assets/UIIcons/arrow-right.svg';
import { MAX_MOBILE_WIDTH } from '$lib/consts';

const dispatch = createEventDispatcher();
Expand Down
4 changes: 2 additions & 2 deletions src/components/Sections/Ecosystem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import SectionWrapper from './SectionWrapper.svelte';
import TikTokTag from '../TikTokTag.svelte';
import WavesTwo from '$lib/assets/waves-two.svg';
import MeWeLogo from '$lib/assets/ecosystem/mewe.svg';
import SoarLogo from '$lib/assets/ecosystem/soar.svg';
import MeWeLogo from '$lib/assets/EcosystemIcons/mewe.svg';
import SoarLogo from '$lib/assets/EcosystemIcons/soar.svg';
import SlideIn from '../SlideIn.svelte';

const logoClasses = 'max-h-[120px] px-3 py-5 w-full sm:w-1/2 lg:w-1/4';
Expand Down
134 changes: 127 additions & 7 deletions src/components/Sections/Mission/MissionStatement.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,130 @@
<div class="bg-navy py-f24 text-white">
<div class="flex items-center justify-center gap-f12 md:gap-f24">
<h2 class="title-70 text-[30px] sm:text-[46px] md:text-[70px]">Your:</h2>
<div class="flex flex-col">
<span class="text-[20px] font-thin opacity-40 sm:text-[30px] md:text-[50px]">Followers</span>
<span class="text-[30px] font-thin sm:text-[48px] md:text-[70px]">Network</span>
<span class="text-[20px] font-thin opacity-40 sm:text-[30px] md:text-[50px]">Content</span>
<div class="flex items-center justify-center gap-f12 bg-navy text-white md:gap-f24">
<h2 class="title-70 text-[48px] md:text-[70px]">Your:</h2>

<div class="h-[240px] overflow-hidden">
<div class="text-slider-container">
<span class="slider-item" id="first">Content</span>
<span class="slider-item" id="second">Followers</span>
<span class="slider-item" id="third">Network</span>
<span class="slider-item" id="fourth">Content</span>
<span class="slider-item" id="fifth">Followers</span>
<span class="slider-item" id="sixth">Network</span>
</div>
</div>
</div>

<style>
.text-slider-container {
@apply flex flex-col gap-0;
animation: text-slide 10s linear infinite;
}

.slider-item {
@apply flex h-[80px] origin-[center_left] items-center text-[48px] font-thin md:text-[70px];
}

/*Text Slider Items bold and scale animations*/
#first {
scale: 0.75;
opacity: 0.33;
}
#second {
animation: second 10s linear infinite -0.2s;
}
#third {
animation: third 10s linear infinite;
}
#fourth {
animation: fourth 10s linear infinite;
}
#fifth {
animation: fifth 10s linear infinite;
}
#sixth {
scale: 0.75;
opacity: 0.33;
}

/*Followers bold and scale animation*/
@keyframes second {
0%,
20% {
transform: scale(1);
opacity: 1;
}
33.33%,
100% {
transform: scale(0.75);
opacity: 0.33;
}
}

/*Network bold and scale animation*/
@keyframes third {
0%,
20% {
transform: scale(0.75);
opacity: 0.33;
}
33.33%,
53.33% {
transform: scale(1);
opacity: 1;
}
66.66%,
100% {
transform: scale(0.75);
opacity: 0.33;
}
}

/*Content bold and scale animation*/
@keyframes fourth {
0%,
53.33% {
transform: scale(0.75);
opacity: 0.33;
}
66.66%,
86.66% {
transform: scale(1);
opacity: 1;
}
100% {
transform: scale(0.75);
opacity: 0.33;
}
}

/*Followers 2 bold and scale animation*/
@keyframes fifth {
0%,
86.66% {
transform: scale(0.75);
opacity: 0.33;
}
100% {
transform: scale(1);
opacity: 1;
}
}

/* Animation to slide all text */
@keyframes text-slide {
0%,
20% {
transform: translateY(0);
}
33.33%,
53.33% {
transform: translateY(-80px);
}
66.66%,
86.66% {
transform: translateY(-160px);
}
100% {
transform: translateY(-240px);
}
}
</style>
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
31 changes: 0 additions & 31 deletions src/lib/assets/section1waves-bottom.svg

This file was deleted.

31 changes: 0 additions & 31 deletions src/lib/assets/section1waves-top.svg

This file was deleted.

33 changes: 0 additions & 33 deletions src/lib/assets/section1waves.svg

This file was deleted.

25 changes: 0 additions & 25 deletions src/lib/assets/section2mobile-bottom.svg

This file was deleted.

33 changes: 0 additions & 33 deletions src/lib/assets/section2mobile-top.svg

This file was deleted.

25 changes: 0 additions & 25 deletions src/lib/assets/section2waves-bottom.svg

This file was deleted.

Loading
Loading