Skip to content

Commit

Permalink
Rough in the footer (#36)
Browse files Browse the repository at this point in the history
* Rough in the footer

* Only render banner client side

* Add social icons, fix responsiveness

* Remove homepage in favor of page builder

* Add social logos

* Add dynamic asset util

* Make assets white

* Tweak mobile side paddings

* Finalize footer spacing

* Fix type issue?

* Support homepage
  • Loading branch information
rijkvanzanten authored Jul 26, 2023
1 parent 06fd872 commit 56c139e
Show file tree
Hide file tree
Showing 19 changed files with 318 additions and 27 deletions.
4 changes: 4 additions & 0 deletions assets/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ h5,
h6 {
overflow-wrap: break-word;
}

a {
color: var(--primary);
}
7 changes: 3 additions & 4 deletions assets/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@
--gray-100: #f4f5f7;
--gray-200: #e5e7eb;
--gray-300: #d2d6dc;
--gray-400: #9fa6b2;
--gray-400: #a2b5cd;
--gray-500: #6b7280;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-800: #252f3f;
--gray-700: #2e3848;
--gray-800: #0e1c2f;
--gray-900: #161e2e;

--purple-50: #ede5ff;
--purple-100: #d0c0fd;
--purple-200: #af95fd;
Expand Down
11 changes: 11 additions & 0 deletions assets/svg/logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/svg/social/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/svg/social/docker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/svg/social/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/svg/social/linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/svg/social/npm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/svg/social/twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/svg/social/youtube.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions components/Base/Container.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ withDefaults(defineProps<BaseContainerProps>(), {
.container {
display: grid;
grid-template-columns:
[full-start] minmax(var(--space-2), 1fr)
[full-start] minmax(var(--space-5), 1fr)
[standard-start] 0
[narrow-start] minmax(var(--space-4), 67.5rem)
[narrow-end] 0
[standard-end] minmax(var(--space-2), 1fr)
[standard-end] minmax(var(--space-5), 1fr)
[full-end];
position: relative;
padding-inline: 0;
@media (min-width: 50rem) {
@media (width > 50rem) {
grid-template-columns:
[full-start] minmax(var(--space-8), 1fr)
[standard-start] var(--space-16)
Expand Down
4 changes: 3 additions & 1 deletion components/Base/Divider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

<style scoped>
.base-divider {
--base-divider-color: var(--gray-300);
width: 100%;
border-top: 1px solid var(--gray-300);
border-top: 1px solid var(--base-divider-color);
}
</style>
2 changes: 1 addition & 1 deletion components/Block/HeroForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const { data: block } = useAsyncData(props.uuid, () =>
</template>

<style scoped>
@media (min-width: 768px) {
@media (width > 50rem) {
.flex {
display: flex;
}
Expand Down
Loading

0 comments on commit 56c139e

Please sign in to comment.