Skip to content

Commit

Permalink
style: remove container and enlarge boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviareichl committed Jun 17, 2024
1 parent 485439c commit 17c381b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions components/app-footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const links = computed(() => {
</script>

<template>
<footer class="border-t">
<div class="container flex items-center justify-between gap-4 py-4">
<footer class="border-t px-12">
<div class="flex items-center justify-between gap-4 py-4">
<nav :aria-label="t('AppFooter.navigation-secondary')">
<ul class="flex items-center gap-4 text-sm" role="list">
<li v-for="(link, key) of links" :key="key">
Expand Down
4 changes: 2 additions & 2 deletions components/app-header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const links = computed(() => {
</script>

<template>
<header class="border-b bg-frisch-marine">
<header class="border-b bg-frisch-marine px-12">
<div class="w-full pb-4 pt-12">
<nav :aria-label="t('AppHeader.navigation-main')">
<div class="container grid items-end gap-4 lg:grid-cols-2">
<div class="grid items-end gap-4 lg:grid-cols-2">
<div class="text-4xl font-semibold text-frisch-orange">
<NavLink :href="homeLink.href">
Digitales Archiv
Expand Down
2 changes: 1 addition & 1 deletion pages/about.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const { data: memberList } = useQuery({
</script>

<template>
<MainContent class="container grid grid-cols-[2fr_3fr] gap-8 py-8">
<MainContent class="grid grid-cols-[2fr_3fr] gap-8 px-12 py-8">
<div class="flex justify-end">
<Card class="size-72 bg-frisch-grey">
<CardContent class="flex size-full py-4 text-2xl font-bold text-white">
Expand Down
2 changes: 1 addition & 1 deletion pages/explore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ usePageMetadata({
<MainContent class="container py-8">
<h1 class="sr-only">{{ t("ExplorePage.title") }}</h1>
<div class="mx-auto flex size-full max-h-full items-center justify-center font-semibold">
<div class="mx-auto grid max-h-full gap-4 text-2xl font-bold grid-fluid-cols-60">
<div class="mx-auto grid max-h-full gap-4 text-2xl font-bold grid-fluid-cols-72">
<Card
class="relative aspect-square overflow-hidden bg-frisch-orange p-4 text-white transition hover:scale-105"
>
Expand Down
4 changes: 2 additions & 2 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const links = {
</script>

<template>
<MainContent class="container h-full py-8">
<MainContent class="h-full py-8">
<h1 class="sr-only">{{ t("IndexPage.title") }}</h1>
<div
class="grid h-full gap-4 text-2xl font-bold sm:grid-cols-[repeat(3,minmax(0,250px))] sm:justify-center"
class="grid h-full gap-4 text-2xl font-bold sm:grid-cols-[repeat(3,minmax(0,350px))] sm:justify-center"
>
<NuxtLink v-for="(link, id) of links" :key="id" :href="link.href">
<Card class="size-full transition hover:scale-105" :class="link.color">
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const config = {
padding: "2rem",
screens: {
"2xl": "1440px",
"3xl": "1600px",
},
},
extend: {
Expand Down

0 comments on commit 17c381b

Please sign in to comment.