Skip to content

Commit 0dc4111

Browse files
claireclark1wilwade
authored andcommitted
64 final formatting fixes (#66)
closes #64 --------- Co-authored-by: Claire Olmstead <[email protected]>
1 parent 85315c8 commit 0dc4111

14 files changed

+140
-133
lines changed

src/components/JoinSocials.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import IconBtn from './IconBtn.svelte';
55
</script>
66

7-
<div class="w-full max-w-[425px] pb-[80px] sm:pt-[80px] lg:pt-0">
7+
<div class="w-full max-w-[425px] pb-[80px] sm:pt-[80px] lg:pl-[140px] lg:pt-6">
88
<h3 class="text-base font-semibold">Join the Digital Revolution</h3>
99
<p class="text-sm">Become a part of shaping the future of the digital landscape with Frequency.</p>
1010
<div class="mt-4 flex gap-4" aria-label="Social Links">

src/components/SectionParagraph.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
export let classes = '';
33
</script>
44

5-
<p class={`body sm:max-w-[800px] lg:max-w-[450px] ${classes}`}>
5+
<p class={`body sm:max-w-[600px] md:max-w-[700px] lg:max-w-[450px] ${classes}`}>
66
<slot />
77
</p>

src/components/Sections/Section1.svelte

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,20 @@
55
import SectionNumber from '../SectionNumber.svelte';
66
</script>
77

8-
<SectionWrapper
9-
id="section1"
10-
classes="flex sm:flex-col-reverse md:flex-col-reverse lg:flex-row sm:justify-center md:justify-center lg:px-0 vertical-lg:min-h-[450px]"
11-
>
12-
<div
13-
class="relative sm:-mb-[8px] sm:h-full sm:min-h-[175px] sm:w-full md:-mb-[10px] md:h-[220px] lg:mb-0 lg:h-full lg:min-h-[250px] lg:w-[40%]"
14-
>
15-
<Section1Wave />
16-
</div>
17-
18-
<div class="border-navy sm:border-0 sm:px-[30px] md:px-[40px] lg:w-[60%] lg:px-0 horizontal:border-b-[10px]">
19-
<section class="paragraph-spacing-left flex h-full max-w-[680px] flex-col gap-6 lg:pl-6 lg:pr-0">
8+
<SectionWrapper id="section1" classes="lg:px-0 vertical-lg:min-h-[450px]">
9+
<div class="flex sm:justify-start sm:px-[30px] md:px-[40px] lg:justify-end lg:px-0">
10+
<section class="flex h-full w-full flex-col gap-6 lg:w-[60%] lg:pl-6">
2011
<SlideIn>
21-
<h2 class="title-75 text-teal">Build at a higher Frequency</h2>
12+
<h2 class="title-75 paragraph-spacing-left text-teal sm:max-w-[600px] md:max-w-[700px] lg:max-w-[800px]">
13+
Build at a higher Frequency
14+
</h2>
2215
</SlideIn>
2316
<SlideIn>
24-
<p class="subtitle">Frequency Empowers the Social Web, Putting Control and Data Privacy in Your Hands</p>
17+
<p class="subtitle paragraph-spacing-left sm:max-w-[600px] md:max-w-[700px] lg:max-w-[800px]">
18+
Frequency Empowers the Social Web, Putting Control and Data Privacy in Your Hands
19+
</p>
2520
</SlideIn>
26-
<p class="body">
21+
<p class="body paragraph-spacing-left sm:max-w-[600px] md:max-w-[700px] lg:max-w-[800px]">
2722
Frequency contributes to the mission of creating a better web and world. It empowers individuals to ensure the
2823
portability of their content and safeguard their privacy. The protocol enables ownership of digital identity and
2924
control over online presence. In a world where technology can have both positive and negative effects,
@@ -32,5 +27,9 @@
3227
</section>
3328
</div>
3429

35-
<SectionNumber classes="sm:text-teal sm:right-0 sm:bottom-[140px] md:bottom-0 z-10 lg:bottom-3">.01</SectionNumber>
30+
<SectionNumber classes="sm:text-teal sm:right-0 sm:bottom-[140px] z-10 lg:bottom-4">.01</SectionNumber>
31+
32+
<div class="w-full sm:-mb-[9px] sm:h-[190px] md:-mb-[10px] md:h-[220px] lg:mb-0 lg:h-full">
33+
<Section1Wave />
34+
</div>
3635
</SectionWrapper>
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
<div
2-
class={`absolute bottom-0 h-full w-full overflow-x-hidden bg-[url(/src/lib/assets/section1waves.svg)] bg-no-repeat sm:right-[10%] sm:bg-right-bottom lg:left-0 lg:bg-bottom`}
3-
/>
2+
class={`absolute bottom-0 w-full bg-no-repeat sm:right-[10%] sm:h-[180px] sm:bg-[url(/src/lib/assets/section1waves.svg)] sm:bg-right-bottom md:h-[200px] lg:left-0 lg:h-full lg:bg-none`}
3+
>
4+
<div
5+
class="z-1 relative h-full w-full bg-[url(/src/lib/assets/section1waves-top.svg)] bg-left-bottom bg-no-repeat sm:hidden md:hidden lg:block"
6+
/>
7+
<div
8+
class="-mt-[10px] h-full w-full bg-[url(/src/lib/assets/section1waves-bottom.svg)] bg-left-top bg-no-repeat sm:hidden md:hidden lg:block"
9+
/>
10+
</div>

src/components/Sections/Section2.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</div>
2525

2626
<SectionParagraph
27-
classes="text-left paragraph-spacing-right lg:pl-0 sm:pb-[100px] lg:pb-0 md:max-w-[615px] sm:max-w-auto lg:max-w-auto"
27+
classes="text-left paragraph-spacing-right lg:pl-0 sm:pb-[100px] lg:pb-0 sm:max-w-[515px] lg:max-w-auto"
2828
>
2929
With Frequency, you will have a choice in how your favorite applications and websites utilize your data. Obtain
3030
control over your privacy and how your data is shared.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div class={`absolute left-0 h-full w-full bg-left-bottom bg-no-repeat lg:bg-[url(/src/lib/assets/section2waves.svg)]`}>
22
<div
3-
class="h-full w-full bg-left-bottom bg-no-repeat sm:bg-[url(/src/lib/assets/section2mobile-top.svg)] lg:hidden"
3+
class="h-full w-full bg-left-bottom bg-no-repeat sm:w-[170%] sm:max-w-[900px] sm:bg-[url(/src/lib/assets/section2mobile-top.svg)] md:w-[110%] md:max-w-full lg:hidden"
44
/>
55
<div
6-
class="h-full w-full bg-left-top bg-no-repeat sm:bg-[url(/src/lib/assets/section2mobile-bottom.svg)] lg:hidden"
6+
class="h-full w-full bg-left-top bg-no-repeat sm:w-[170%] sm:max-w-[900px] sm:bg-[url(/src/lib/assets/section2mobile-bottom.svg)] md:w-[110%] md:max-w-full lg:hidden"
77
/>
88
</div>

src/components/Sections/Section4.svelte

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
</SectionParagraph>
2626
</section>
2727
</div>
28-
<SectionNumber
29-
isLeft={true}
30-
classes="text-yellow lg:bottom-[120px] md:bottom-8 sm:bottom-[100px] lg:text-200 lg:-right-[80px]"
28+
<SectionNumber isLeft={true} classes="text-yellow sm:bottom-[100px] md:bottom-[120px] lg:text-200 lg:-right-[80px]"
3129
>.04</SectionNumber
3230
>
3331

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div
2-
class={`absolute h-full w-full bg-[url(/src/lib/assets/section4waves.svg)] bg-bottom bg-no-repeat sm:-bottom-[6px] md:bottom-0 md:left-auto md:right-0`}
2+
class={`md:max-h-auto absolute h-full bg-[url(/src/lib/assets/section4waves.svg)] bg-bottom sm:-bottom-[6px] sm:right-[10%] sm:max-h-[100px] sm:w-[800px] sm:bg-no-repeat md:right-[50%] lg:bottom-0 lg:left-auto lg:right-0 lg:max-h-[150px] lg:w-full lg:bg-repeat-x`}
33
/>

src/components/Sections/Section5.svelte

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@
1212
classes="relative bg-indigo flex sm:flex-col lg:flex-row sm:pt-[50px] lg:pt-0 vertical-lg:min-h-[450px]"
1313
>
1414
<!-- Image -->
15-
<div class="absolute bottom-0 left-0 flex h-full w-full sm:hidden lg:block">
15+
<div class="absolute bottom-0 left-0 flex h-full w-full overflow-hidden sm:hidden lg:block">
1616
<Section5Wave />
17-
<span class="absolute bottom-0 right-0 w-[70%] border-b-4 border-darkIndigo" />
17+
<span class="absolute bottom-0 right-0 w-full border-b-4 border-darkIndigo" />
1818
</div>
1919

2020
<!-- Content -->
2121
<div
2222
class="freq-container right-0 top-0 flex h-full sm:w-full sm:flex-col sm:gap-12 lg:absolute lg:w-[70%] lg:flex-row lg:items-end lg:justify-around lg:gap-0 lg:px-6"
2323
>
24-
<section
25-
class="sm:paragraph-spacing-left relative flex flex-col gap-6 sm:max-w-[800px] lg:max-w-[640px] lg:pb-[80px] lg:pr-[80px]"
26-
>
24+
<section class="relative flex flex-col gap-6 sm:max-w-[800px] lg:max-w-[640px] lg:pb-[80px] lg:pr-[80px]">
2725
<SlideIn>
2826
<h2 class="title-75 text-yellow lg:max-w-[600px]">The Core of Our Technology</h2>
2927
</SlideIn>
30-
<SectionParagraph classes="text-cream">
28+
<SectionParagraph classes="md:pr-[140px] lg:px-0 text-cream">
3129
The creators of Frequency are at the forefront of innovation. They've created the Decentralized Social
3230
Networking Protocol (DSNP), an open-source solution that establishes a shared social graph independent of
3331
specific applications or centralized platforms.
3432
</SectionParagraph>
35-
<button
36-
class="max-w-[200px] border-2 border-cream px-10 py-3 text-xs font-semibold text-cream transition-colors duration-500 hover:bg-cream hover:bg-opacity-30"
37-
>Learn More</button
33+
<a href="https://docs.frequency.xyz/" target="_blank"
34+
><button
35+
class="max-w-[200px] border-2 border-cream px-10 py-3 text-xs font-semibold text-cream transition-colors duration-500 hover:bg-cream hover:bg-opacity-30"
36+
>Learn More</button
37+
></a
3838
>
3939
<SectionNumber classes="text-cream sm:hidden lg:block mr-[70px] bottom-4 right-0">.05</SectionNumber>
4040
</section>
Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1-
<script lang="ts">
2-
let startWave = 'wave';
3-
</script>
4-
5-
<div class={`absolute bottom-0 left-0 h-full w-full`}>
6-
<div class={startWave} />
7-
</div>
1+
<div class={`wave absolute bottom-0 left-0 z-10 h-full w-full`}></div>
82

93
<style>
4+
@keyframes wave {
5+
0%,
6+
100% {
7+
margin-left: 20;
8+
}
9+
50% {
10+
margin-left: -20px;
11+
}
12+
}
13+
1014
.wave {
11-
background: url(/src/lib/assets/section5waves.svg) no-repeat bottom;
15+
background: url(/src/lib/assets/section5waves.svg) repeat-x bottom;
1216
width: 30%;
1317
height: 100%;
1418
margin-right: 70%;
19+
/* animation: wave 5s infinite; */
1520
}
1621
</style>

0 commit comments

Comments
 (0)