Skip to content

Commit

Permalink
Merge pull request #147 from OpenTechStrategies/146-add-top-text-cita…
Browse files Browse the repository at this point in the history
…tion

Add top text citation
  • Loading branch information
hminsky2002 authored Oct 16, 2024
2 parents 818c6fc + d316669 commit 607024c
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 46 deletions.
4 changes: 2 additions & 2 deletions archesdataviewer/static/vite_build/.vite/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"index.html": {
"file": "assets/index-DmGzCBcG.js",
"file": "assets/index-DFgKWHlY.js",
"name": "index",
"src": "index.html",
"isEntry": true,
"css": [
"assets/index-Bf22cgUD.css"
"assets/index-AxqwSCVS.css"
]
}
}

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions archesdataviewer/static/vite_build/assets/index-DFgKWHlY.js

Large diffs are not rendered by default.

31 changes: 0 additions & 31 deletions archesdataviewer/static/vite_build/assets/index-DmGzCBcG.js

This file was deleted.

4 changes: 2 additions & 2 deletions archesdataviewer/static/vite_build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Arches Data Viewer</title>
<script type="module" crossorigin src="/assets/index-DmGzCBcG.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Bf22cgUD.css">
<script type="module" crossorigin src="/assets/index-DFgKWHlY.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-AxqwSCVS.css">
</head>
<body>
<div id="app"></div>
Expand Down
39 changes: 29 additions & 10 deletions front-end/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,24 @@
<XMarkIcon :class="showTopText ? 'button-icon shown' : 'button-icon hidden'" />
</button>
</div>
<p :class="showTopText ? 'top-text expanded' : 'top-text collapsed'">
In 2013, Columbia College Chicago launched the Wabash Arts Corridor to immerse students in
the creative spirit by using urban spaces and reclaimable resources to revitalize and
transform the South Loop business district into one of the city’s major cultural assets. The
heart of WAC is Wabash Avenue from Van Buren to Roosevelt and is framed to the east by
Michigan Avenue and to the west by State Street. The corridor is regarded as an “living
urban canvas” due to its ever-growing number of large-scale mural installations and
collaborative projects.
</p>
<div :class="showTopText ? 'top-text expanded' : 'top-text collapsed'">
<p>
In 2013, Columbia College Chicago launched the Wabash Arts Corridor to immerse students in
the creative spirit by using urban spaces and reclaimable resources to revitalize and
transform the South Loop business district into one of the city’s major cultural assets.
The heart of WAC is Wabash Avenue from Van Buren to Roosevelt and is framed to the east by
Michigan Avenue and to the west by State Street. The corridor is regarded as an “living
urban canvas” due to its ever-growing number of large-scale mural installations and
collaborative projects.
</p>
<p class="citation">
See Columbia College's
<a href="https://students.colum.edu/ssac/wabash-arts-corridor"
>page about the Wabash Arts Corridor</a
>
for more information.
</p>
</div>
</header>
<main>
<div id="map-container">
Expand Down Expand Up @@ -179,8 +188,14 @@ main {
padding 300ms ease;
}
.citation {
line-height: var(--wac--line-height);
font-size: var(--wac--font-size);
padding-top: 10px;
}
.top-text.expanded {
max-height: 350px;
max-height: 400px;
padding-top: 10px;
}
Expand Down Expand Up @@ -213,6 +228,10 @@ main {
font-size: var(--wac--font-size--xxl);
}
.citation {
font-size: var(--wac--font-size--lg);
}
main {
flex-direction: row-reverse;
}
Expand Down

0 comments on commit 607024c

Please sign in to comment.