Skip to content

Commit

Permalink
New basic footer design to showcase some statistics before moving fro…
Browse files Browse the repository at this point in the history
…m project hosting to project sharing

Signed-off-by: Daniel Metzner <[email protected]>
  • Loading branch information
dmetzner committed Oct 4, 2024
1 parent d8d5c0d commit 4fcc03d
Show file tree
Hide file tree
Showing 35 changed files with 510 additions and 292 deletions.
55 changes: 31 additions & 24 deletions assets/Layout/Footer.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
@use '~@material/select';
@use '~@material/select/mdc-select';
@use '~@material/list/mdc-list';
@use '~@material/menu-surface/mdc-menu-surface';
@use '~@material/menu/mdc-menu';
@use '~@material/select/styles';
@import './Variables';
@import './Mixins';

// Keep the footer at the bottom at all time.

html,
body {
min-height: 100vh;
Expand All @@ -21,39 +13,54 @@ body {
margin-bottom: 1.25rem;
}

// ----

.footer {
margin-top: auto;
padding: 1.5rem;
padding: 1rem;
color: $footer-color;
background-color: $footer-background-color;

@media (width >= 768px) {
padding: 2rem;
}

a {
color: inherit;
text-decoration: underline;

&:hover {
text-decoration: none;
color: var(--primary);
}
}

ul {
padding: 0;
list-style: none;
.footer-links {
a {
font-size: 0.9rem;
transition: color 0.3s ease;
text-decoration: none;

.list-vertical {
li {
display: block;
hyphens: auto;
&:hover {
color: var(--primary);
}

&:not(:first-child) {
margin-left: 0.5rem;
}
}
}
}

.mdc-select {
width: 100% !important;
.footer-copyright {
font-size: 0.9rem;
}
}

.mdc-notched-outline__notch {
width: 100% !important;
.footer-download {
padding-top: 2rem;
padding-bottom: 2rem;
a {
text-decoration: none;

img {
margin-top: 0.3rem;
}
}
}
2 changes: 1 addition & 1 deletion bin/initial_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sudo apt upgrade
sudo apt install curl acl

## Php and its extensions, composer (php package manager)
sudo apt install php8.3-common php8.3-ldap php8.3-cli php8.3-curl php8.3-intl php8.3-apcu php8.3-imagick php8.3-mbstring php8.3-xml php8.3-fpm php8.3-mysql php8.3-gd php8.3-zip
sudo apt install php8.3-common php8.3-ldap php8.3-cli php8.3-curl php8.3-intl php8.3-apcu php8.3-imagick php8.3-mbstring php8.3-xml php8.3-fpm php8.3-mysql php8.3-gd php8.3-zip php8.3-bcmath
sudo apt install composer

## Node and npm (node package manager)
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "Catrobat's Share Community Platform",
"require": {
"php": ">=8.3",
"ext-bcmath": "*",
"ext-SimpleXML": "*",
"ext-gd": "*",
"ext-imagick": "*",
Expand Down Expand Up @@ -99,7 +100,8 @@
"ext-pcntl": "8.3",
"ext-posix": "8.3",
"ext-xml": "8.3",
"ext-zip": "8.3"
"ext-zip": "8.3",
"ext-bcmath": "8.3"
},
"bin-dir": "bin",
"preferred-install": {
Expand Down
Loading

0 comments on commit 4fcc03d

Please sign in to comment.