make an error page - use it only for landing page errors for now
parent
de6b629994
commit
147c870dbc
@ -0,0 +1,153 @@
|
||||
package pages
|
||||
|
||||
var ErrorPage = `
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="robots" content="noindex">
|
||||
<title>Landing page</title>
|
||||
<link rel="stylesheet" href="https://unpkg.com/rivet-core@2.9.1/css/rivet.min.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/rivet-stickers@0.3.1/dist/rivet-sticker-element.css">
|
||||
<script type="module" src="https://unpkg.com/rivet-stickers@0.3.1/dist/rivet-stickers.js"></script>
|
||||
</head>
|
||||
<body class="rvt-layout">
|
||||
|
||||
<!-- **************************************************************************
|
||||
LANDING PAGE
|
||||
|
||||
-> rivet.iu.edu/layouts/index-page/
|
||||
*************************************************************************** -->
|
||||
|
||||
<!-- **************************************************************************
|
||||
Header
|
||||
|
||||
-> rivet.iu.edu/components/header/
|
||||
*************************************************************************** -->
|
||||
|
||||
<header class="rvt-header-wrapper">
|
||||
|
||||
<!-- **********************************************************************
|
||||
"Skip to main content" link for keyboard users
|
||||
*********************************************************************** -->
|
||||
|
||||
<a class="rvt-header-wrapper__skip-link" href="#main-content">Skip to main content</a>
|
||||
|
||||
<!-- **********************************************************************
|
||||
Global header area
|
||||
*********************************************************************** -->
|
||||
|
||||
<div class="rvt-header-global">
|
||||
<div class="rvt-container-lg">
|
||||
<div class="rvt-header-global__inner">
|
||||
<div class="rvt-header-global__logo-slot">
|
||||
<a class="rvt-lockup" href="#0">
|
||||
|
||||
<!-- **************************************************
|
||||
Trident logo
|
||||
*************************************************** -->
|
||||
|
||||
<div class="rvt-lockup__tab">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="rvt-lockup__trident" viewBox="0 0 28 34">
|
||||
<path fill="currentColor" d="M-3.34344e-05 4.70897H8.83308V7.174H7.1897V21.1426H10.6134V2.72321H8.83308V0.121224H18.214V2.65476H16.2283V21.1426H19.7889V7.174H18.214V4.64047H27.0471V7.174H25.0614V23.6761L21.7746 26.8944H16.2967V30.455H18.214V33.8787H8.76463V30.592H10.6819V26.8259H5.20403L1.91726 23.6077V7.174H-3.34344e-05V4.70897Z"></path>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<!-- **************************************************
|
||||
Website or application title
|
||||
*************************************************** -->
|
||||
|
||||
<div class="rvt-lockup__body">
|
||||
<span class="rvt-lockup__title">Maurer School of Law</span>
|
||||
<span class="rvt-lockup__subtitle">Indiana University</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="rvt-header-global__controls">
|
||||
<div data-rvt-disclosure="menu" data-rvt-close-click-outside>
|
||||
<button aria-expanded="false" class="rvt-global-toggle rvt-global-toggle--menu rvt-hide-lg-up" data-rvt-disclosure-toggle="menu">
|
||||
<span class="rvt-sr-only">Menu</span>
|
||||
<svg class="rvt-global-toggle__open" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"> <path d="M15 4H1V2h14v2Zm0 5H1V7h14v2ZM1 14h14v-2H1v2Z"/></svg>
|
||||
<svg class="rvt-global-toggle__close" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"> <path d="m3.5 2.086 4.5 4.5 4.5-4.5L13.914 3.5 9.414 8l4.5 4.5-1.414 1.414-4.5-4.5-4.5 4.5L2.086 12.5l4.5-4.5-4.5-4.5L3.5 2.086Z"/></svg>
|
||||
</button>
|
||||
|
||||
<!-- ******************************************************
|
||||
Primary navigation
|
||||
******************************************************* -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- **************************************************************************
|
||||
Main content area
|
||||
*************************************************************************** -->
|
||||
|
||||
<main id="main-content" class="rvt-layout__wrapper">
|
||||
|
||||
<!-- **********************************************************************
|
||||
Hero
|
||||
*********************************************************************** -->
|
||||
|
||||
<div class="rvt-hero">
|
||||
<div class="rvt-container-lg">
|
||||
<div class="rvt-hero__inner">
|
||||
<div class="rvt-hero__body [ rvt-flow ]">
|
||||
<span class="rvt-hero__eyebrow">Maurer Applications</span>
|
||||
<h1 class="rvt-hero__title">Faculty Activity Portal</h1>
|
||||
<div class="rvt-alert rvt-alert--danger [ rvt-m-top-md ]" role="alert" aria-labelledby="error-alert-title" data-rvt-alert="error">
|
||||
<div class="rvt-alert__title" id="error-alert-title">Incorrect User ID or Password</div>
|
||||
<p class="rvt-alert__message">%s</p>
|
||||
<button class="rvt-alert__dismiss" data-rvt-alert-close>
|
||||
<span class="rvt-sr-only">Dismiss this alert</span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"> <path d="m3.5 2.086 4.5 4.5 4.5-4.5L13.914 3.5 9.414 8l4.5 4.5-1.414 1.414-4.5-4.5-4.5 4.5L2.086 12.5l4.5-4.5-4.5-4.5L3.5 2.086Z"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- **************************************************************************
|
||||
Footer: Copyright
|
||||
|
||||
-> rivet.iu.edu/components/footer/
|
||||
**************************************************************************** -->
|
||||
|
||||
<footer class="rvt-footer-base">
|
||||
<div class="rvt-container-lg">
|
||||
<div class="rvt-footer-base__inner">
|
||||
<div class="rvt-footer-base__logo">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<polygon fill="currentColor" points="15.3 3.19 15.3 5 16.55 5 16.55 15.07 13.9 15.07 13.9 1.81 15.31 1.81 15.31 0 8.72 0 8.72 1.81 10.12 1.81 10.12 15.07 7.45 15.07 7.45 5 8.7 5 8.7 3.19 2.5 3.19 2.5 5 3.9 5 3.9 16.66 6.18 18.98 10.12 18.98 10.12 21.67 8.72 21.67 8.72 24 15.3 24 15.3 21.67 13.9 21.67 13.9 18.98 17.82 18.98 20.09 16.66 20.09 5 21.5 5 21.5 3.19 15.3 3.19" fill="#231f20" />
|
||||
</svg>
|
||||
</div>
|
||||
<ul class="rvt-footer-base__list">
|
||||
<li class="rvt-footer-base__item">
|
||||
<a class="rvt-footer-base__link" href="https://faculty.law.indiana.edu">Faculty Portal</a>
|
||||
</li>
|
||||
<li class="rvt-footer-base__item">
|
||||
<a class="rvt-footer-base__link" href="https://accessibility.iu.edu/assistance/">Accessibility</a>
|
||||
</li>
|
||||
<li class="rvt-footer-base__item">
|
||||
<a class="rvt-footer-base__link" href="#0">Privacy Notice</a>
|
||||
</li>
|
||||
<li class="rvt-footer-base__item">
|
||||
<a class="rvt-footer-base__link" href="#0">Copyright</a> © 2026 The Trustees of <a class="rvt-footer-base__link" href="https://www.iu.edu">Indiana University</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="https://unpkg.com/rivet-core@2.9.1/js/rivet.min.js"></script>
|
||||
<script>
|
||||
Rivet.init();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
`
|
||||
Loading…
Reference in New Issue