Skip to content

Commit caaafc3

Browse files
authored
Bs12 carousel cleanup (#310)
* Remove Carousel components. The functionality was never implemented and the css has caused conflicts. Remove the cruft. We can start fresh if we decide a carousel is something useful in the future. * Finish cleanup work
1 parent e748af6 commit caaafc3

File tree

8 files changed

+31
-505
lines changed

8 files changed

+31
-505
lines changed

assets/scss/_styles_project.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
display: none;
33
}
44

5-
div.td-page-meta {
5+
.td-page-meta {
66
display: none;
77
}

content/en/_index.html

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,6 @@ <h1>The Interlisp Revival</h1>
3333
<p>Most software in this project is licensed under the terms of the <a href="https://github.com/Interlisp/medley/blob/master/LICENSE">MIT license</a>.</p>
3434

3535
</div>
36-
<!--
37-
<p>Xerox's Palo Alto Research Center (PARC) is remembered mainly as the birthplace of the modern graphical user interface, influencing the development of the graphical operating systems we know today. At the same time PARC did pioneering work in the field of AI using a language called Interlisp. This powerful programmable language became the basis of Medley, a graphical software environment that carried on the design thinking of PARC's original Alto interface.</p>
38-
39-
<p>Medley's life as a commercial product ended in the 1990s, and until 2009 its source code only remained in the hands of the development team. Now the system is running again on modern computer systems, thanks to the combined efforts of original developers and interested newcomers. Our goal is to revive Interlisp in language, environment and spirit through the Medley Interlisp Project.</p>
40-
41-
42-
<div class="col">
43-
<h3>What do all these terms mean?</h3>
44-
<p>With over five decades of history and many design iterations, there are a lot of names and other vocabulary associated with the project. <a href="project/glossary">Visit the glossary</a> to learn more.
45-
</p>
46-
<h3>Have other questions?</h3>
47-
<p><a href="/project/faqs">Our FAQs page</a> addresses other common queries about the project.</p>
48-
</div>
49-
50-
<!-- >{{< carousel items="1" height="500" unit="px" duration="7000" >}} -->
5136

5237
{{< /blocks/section >}}
5338

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<!-- ><script type="text/javascript" src="/js/carousel.js"></script>
2-
<link rel="stylesheet" href="/css/carousel.css"> -->
31
{{range .Site.Params.custom_css -}}
42
<link rel="stylesheet" href="{{ . | absURL }}">
53
{{- end}}

layouts/shortcodes/blocks/cover.html

Lines changed: 21 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -33,81 +33,25 @@
3333
</style>
3434
{{ end -}}
3535

36-
<!-- <div class="carousel" aria-label="Gallery">
37-
<ol class="carousel__viewport">
38-
<li id="carousel__slide1"
39-
tabindex="0"
40-
class="carousel__slide"> -->
41-
<section id="{{ $blockID }}" class="row td-cover-block td-cover-block--height-{{ $height -}}
42-
{{ if not .Site.Params.ui.navbar_translucent_over_cover_disable }} js-td-cover
43-
{{- end }} td-overlay td-overlay--dark -bg-{{ $col_id }}">
44-
<div class="col-12 hero-content-column"
45-
style="background-image: url(./Resources/logoWindows.svg)">
46-
<div class="container td-overlay__inner">
47-
<!-- <img id="banner-hero-logo" class="hero-logo" alt="Interlisp Medley logotype" src="/Resources/logoWindows.svg"> -->
48-
<div class="text-center">
49-
{{ with .Get "title" }}<h1 class="display-1 fw-bold mt-0 mt-md-5 pb-4">{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "70x70 %s" $logo_anchor)) }}<img class="td-cover-logo" src="{{ $logo_image_resized.RelPermalink }}" alt="{{ $title | html }} Logo">{{ end }}{{ $title | html }}</h1>{{ end }}
50-
{{ with .Get "subtitle" }}<p class="display-3 fw-bold mb-0">{{ . | html }}</p>{{ end }}
51-
<div class="pt-3 lead">
52-
{{ if eq .Page.File.Ext "md" }}
53-
{{ .Inner | markdownify }}
54-
{{ else }}
55-
{{ .Inner | htmlUnescape | safeHTML }}
56-
{{ end }}
57-
</div>
58-
</div>
59-
</div>
36+
<section id="{{ $blockID }}" class="row td-cover-block td-cover-block--height-{{ $height -}}
37+
{{ if not .Site.Params.ui.navbar_translucent_over_cover_disable }} js-td-cover
38+
{{- end }} td-overlay td-overlay--dark -bg-{{ $col_id }}">
39+
<div class="col-12 hero-content-column" style="background-image: url(./Resources/logoWindows.svg)">
40+
<div class="container td-overlay__inner">
41+
<div class="text-center">
42+
{{ with .Get "title" }}<h1 class="display-1 fw-bold mt-0 mt-md-5 pb-4">{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "70x70 %s" $logo_anchor)) }}<img class="td-cover-logo" src="{{ $logo_image_resized.RelPermalink }}" alt="{{ $title | html }} Logo">{{ end }}{{ $title | html }}</h1>{{ end }}
43+
{{ with .Get "subtitle" }}<p class="display-3 fw-bold mb-0">{{ . | html }}</p>{{ end }}
44+
<div class="pt-3 lead">
45+
{{ if eq .Page.File.Ext "md" }}
46+
{{ .Inner | markdownify }}
47+
{{ else }}
48+
{{ .Inner | htmlUnescape | safeHTML }}
49+
{{ end }}
6050
</div>
61-
{{ with .Get "byline" | default "" -}}
62-
<div class="byline">{{ . }}</div>
63-
{{- end }}
64-
</section>
65-
{{/**/ -}}
66-
<!--
67-
</li>
68-
<li id="carousel__slide2"
69-
tabindex="0"
70-
class="carousel__slide">
71-
<section id="{{ $blockID }}" class="row td-cover-block td-cover-block--height-{{ $height -}}
72-
{{ if not .Site.Params.ui.navbar_translucent_over_cover_disable }} js-td-cover
73-
{{- end }} td-overlay td-overlay--dark -bg-{{ $col_id }}">
74-
<div class="col-12 hero-content-column"
75-
style="background-image: url(./Resources/logoWindows.svg)">
76-
<div class="container td-overlay__inner">
77-
<div class="text-center">
78-
{{ with .Get "title" }}<h1 class="display-1 mt-0 mt-md-5 pb-4">{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "70x70 %s" $logo_anchor)) }}<img class="td-cover-logo" src="{{ $logo_image_resized.RelPermalink }}" alt="{{ $title | html }} Logo">{{ end }}{{ $title | html }}</h1>{{ end }}
79-
{{ with .Get "subtitle" }}<p class="display-2 mb-0">{{ . | html }}</p>{{ end }}
80-
<div class="pt-3 lead">
81-
{{ if eq .Page.File.Ext "md" }}
82-
{{ .Inner | markdownify }}
83-
{{ else }}
84-
{{ .Inner | htmlUnescape | safeHTML }}
85-
{{ end }}
86-
</div>
87-
</div>
88-
</div>
89-
</div>
90-
{{ with .Get "byline" | default "" -}}
91-
<div class="byline">{{ . }}</div>
92-
{{- end }}
93-
</section>
94-
{{/**/ -}}
95-
96-
</li>
97-
</ol>
98-
</section> -->
99-
100-
<!-- ><section class="carousel" aria-label="Gallery">
101-
<ol class="carousel__viewport">
102-
<li id="carousel__slide1"
103-
tabindex="0"
104-
class="carousel__slide">
105-
<div class="carousel__snapper">
106-
<a href="#carousel__slide4"
107-
class="carousel__prev">Go to last slide</a>
108-
<a href="#carousel__slide2"
109-
class="carousel__next">Go to next slide</a>
110-
</div>
111-
</li>
112-
</ol>
113-
</section> -->
51+
</div>
52+
</div>
53+
</div>
54+
{{ with .Get "byline" | default "" -}}
55+
<div class="byline">{{ . }}</div>
56+
{{- end }}
57+
</section>

layouts/shortcodes/carousel.html

Lines changed: 0 additions & 18 deletions
This file was deleted.

static/css/carousel.css

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)