Skip to content

Commit

Permalink
Add static site
Browse files Browse the repository at this point in the history
  • Loading branch information
tannguyen04 committed Sep 16, 2024
1 parent 824ca26 commit 081b619
Show file tree
Hide file tree
Showing 53 changed files with 2,643 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,6 @@ in the `fs_test` module to create a fully functioning site.
This type of build is great for e2e integration testing since it doesn't need
access to production database sync or database stubs. It is supported by the
excellent [Default Content](https://drupal.org/project/default_content) module.

## Generate static site using Tome
ddev generate-static-site
157 changes: 157 additions & 0 deletions static-site/antibot/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
<!DOCTYPE html>
<html lang="en" dir="ltr" prefix="og: https://ogp.me/ns#">
<head>
<meta charset="utf-8" />
<noscript><style>form.antibot * :not(.antibot-message) { display: none !important; }</style>
</noscript><link rel="canonical" href="https://fs-web-static-site.ddev.site/antibot" />
<meta name="Generator" content="Drupal 10 (https://www.drupal.org)" />
<meta name="MobileOptimized" content="width" />
<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/themes/custom/fstheme/favicon.ico" type="image/vnd.microsoft.icon" />

<title>Submission failed | frees.au/ce</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cutive+Mono&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet"> <link rel="stylesheet" media="all" href="/sites/default/files/css/css_oddhxOaLzIES3AR2-JMmXlt7AVyA7Wj4u5Q9neOz1zY.css?delta=0&amp;language=en&amp;theme=fstheme&amp;include=eJxNxzEOgCAMBdALoT0SKeSjGEqVloHbuzg4vTxb5hBKbAjF_ISAjqaJ25bNwvVMjBVnjTxds8rd4KB_AnevSZ0-96JDXufRIng" />
<link rel="stylesheet" media="all" href="/sites/default/files/css/css_eYQHsHd2nc_KQivrYztSq3ltSay04uYyjxWAfoWs1cg.css?delta=1&amp;language=en&amp;theme=fstheme&amp;include=eJxNxzEOgCAMBdALoT0SKeSjGEqVloHbuzg4vTxb5hBKbAjF_ISAjqaJ25bNwvVMjBVnjTxds8rd4KB_AnevSZ0-96JDXufRIng" />


</head>
<body class="font-sans font-normal">
<div class="site-layout-frame pt-2 md:pt-4 lg:pt-8">
<a href="#main-content" class="visually-hidden focusable">
Skip to main content
</a>

<div class="dialog-off-canvas-main-canvas" data-off-canvas-main-canvas>
<div class="site-layout">
<header role="banner" class="layout-banner p-4 md:p-8">
<!-- Todo logo convert to component -->
<div class="flex flex-row justify-between items-center md:flex-none">
<a class="fs-toggle-menu block md:hidden">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="50px" height="50px"><path d="M 0 7.5 L 0 12.5 L 50 12.5 L 50 7.5 Z M 0 22.5 L 0 27.5 L 50 27.5 L 50 22.5 Z M 0 37.5 L 0 42.5 L 50 42.5 L 50 37.5 Z"/></svg>
</a>
<img class="w-[8rem] md:w-full md:max-w-[14rem] lg:w-full lg:max-w-full" src="/themes/custom/fstheme/logo.png">
</div>

</header>

<aside role="nav" class="
layout-nav opacity-0 hidden
text-2xl [&_li]:mb-4 mb-4 font-semibold
md:animate-none md:opacity-100 md:block p-4 md:p-8 md:text-lg
lg:text-xl
">
<div>
<nav role="navigation" aria-labelledby="block-fstheme-mainnav-menu" id="block-fstheme-mainnav">

<h2 class="visually-hidden" id="block-fstheme-mainnav-menu">Main navigation</h2>



<ul>
<li>
<a href="/ce" data-drupal-link-system-path="node/3">Back to front</a>
</li>
<li>
<a href="https://www.youtube.com/@FreeTheSauce">Videos</a>
</li>
<li>
<a href="/node/7" data-drupal-link-system-path="node/7">About / mission</a>
</li>
<li>
<a href="/ce/free-as-in-speech" data-drupal-link-system-path="webform/contact">Engage (with) us</a>
</li>
</ul>



</nav>

</div>

</aside>

<div class="layout-title p-4 md:p-8">
<div>
<div id="block-fstheme-page-title">





<h1 class="text-6xl font-mono font-extrabold">Submission failed</h1>


</div>

</div>

</div>

<main class="layout-main p-4 md:p-8">

<div>
<div data-drupal-messages-fallback class="hidden"></div>

</div>


<a id="main-content" tabindex="-1"></a>
<div>
<div id="block-fstheme-content">


<div class="antibot-message antibot-message-error">You have reached this page because you submitted a form that required JavaScript to be enabled on your browser. This protection is in place to attempt to prevent automated submissions made on forms. Please return to the page that you came from and enable JavaScript on your browser before attempting to submit the form again.</div>

</div>

</div>


</main>

<footer class="layout-footer">
<div>
<div id="block-fstheme-footer">



<p>Free Sauce continues to acknowledge the Traditional Owners and Custodians of the lands on which we work. We pay our respects to Indigenous Elders past, present, and emerging. Sovereignty has never been ceded. It always was and always will be Aboriginal land.</p>

</div>
<div id="block-fstheme-searchform">


<form action="/js-search/lunr/content">
<div class="search-api-lunr-form">
<div class="form-item">
<label>Search</label>
<input name="q" class="search-api-lunr-form__input search-api-lunr-autocomplete" type="text" placeholder="Search" data-server="lunr" data-index="content">
</div>
<input type="submit" value="Search">
</div>
</form>

</div>

</div>

</footer>
</div>

</div>


</div>
<script type="application/json" data-drupal-selector="drupal-settings-json">{"path":{"baseUrl":"\/","pathPrefix":"","currentPath":"antibot","currentPathIsAdmin":false,"isFront":false,"currentLanguage":"en"},"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"search_api_lunr":{"servers":{"lunr":{"indexes":{"content":{"fileList":["https:\/\/fs-web-static-site.ddev.site\/sites\/default\/files\/search-api-js\/lunr\/content\/index-2.json","https:\/\/fs-web-static-site.ddev.site\/sites\/default\/files\/search-api-js\/lunr\/content\/index-3.json","https:\/\/fs-web-static-site.ddev.site\/sites\/default\/files\/search-api-js\/lunr\/content\/index-4.json"],"fields":{"lead":{"boost":1,"special_type":"summary"},"node_grants":{"boost":1},"status":{"boost":1},"title":{"boost":21,"special_type":"label"},"uid":{"boost":1},"url":{"boost":1,"special_type":"url"}},"version":7}}}}},"user":{"uid":0,"permissionsHash":"b19f6891bd2b6805949920236091c596b205e02dd036cd72e27f15cf7ecfa047"}}</script>
<script src="/sites/default/files/js/js_gxL1OA2zjH6IWQ0eHg1irs5PAnZ33Mo3PcC5adtM51Y.js?scope=footer&amp;delta=0&amp;language=en&amp;theme=fstheme&amp;include=eJxLKy7JSM1N1U_PyU9KzNHNKtYpTk0sSs6ITyzIjM8pzSvSh_B1EvNKMpPyS_ShtF5aflEuAN0oF7Y"></script>
<script src="/modules/contrib/search_api_lunr/js/build/api.index.js?sj9rbt" type="module"></script>
<script src="/modules/contrib/search_api_lunr/js/build/theme.index.js?sj9rbt" type="module"></script>
<script src="/sites/default/files/js/js_HgzT0GZx5EmqOWghesoKKQ1b-S4gDQ9Io56zAqgkR0c.js?scope=footer&amp;delta=3&amp;language=en&amp;theme=fstheme&amp;include=eJxLKy7JSM1N1U_PyU9KzNHNKtYpTk0sSs6ITyzIjM8pzSvSh_B1EvNKMpPyS_ShtF5aflEuAN0oF7Y"></script>
<script src="/modules/contrib/search_api_lunr/js/build/search.index.js?sj9rbt" type="module"></script>
<script src="/sites/default/files/js/js_6MnFflPZQ2O_GOIbWQ-KOXSjhLVSZQR7GVUcVQRXjjA.js?scope=footer&amp;delta=5&amp;language=en&amp;theme=fstheme&amp;include=eJxLKy7JSM1N1U_PyU9KzNHNKtYpTk0sSs6ITyzIjM8pzSvSh_B1EvNKMpPyS_ShtF5aflEuAN0oF7Y"></script>

</body>
</html>
216 changes: 216 additions & 0 deletions static-site/ce/free-as-in-speech/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
<!DOCTYPE html>
<html lang="en" dir="ltr" prefix="og: https://ogp.me/ns#">
<head>
<meta charset="utf-8" />
<noscript><style>form.antibot * :not(.antibot-message) { display: none !important; }</style>
</noscript><link rel="canonical" href="https://fs-web-static-site.ddev.site/ce/free-as-in-speech" />
<meta name="Generator" content="Drupal 10 (https://www.drupal.org)" />
<meta name="MobileOptimized" content="width" />
<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/themes/custom/fstheme/favicon.ico" type="image/vnd.microsoft.icon" />

<title>Throw some shade | frees.au/ce</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cutive+Mono&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet"> <link rel="stylesheet" media="all" href="/sites/default/files/css/css_ZYic2aDJPpMnpdEST01P-tmzTGEUF3_6mXr4Dvt0c9U.css?delta=0&amp;language=en&amp;theme=fstheme&amp;include=eJx1jFEKgzAQRC-UJkeSjR1Ty263dTYUb69CPwTpzxseDI8rA1aqEGliPGAoTb2K3kYyfVEnX6z8NkP3wyuygZSG9Px0LOvQ50F6-Oj2VgTKWS6NA3_Dd4TMyhzemmIDOe89_w" />
<link rel="stylesheet" media="all" href="/sites/default/files/css/css_eYQHsHd2nc_KQivrYztSq3ltSay04uYyjxWAfoWs1cg.css?delta=1&amp;language=en&amp;theme=fstheme&amp;include=eJx1jFEKgzAQRC-UJkeSjR1Ty263dTYUb69CPwTpzxseDI8rA1aqEGliPGAoTb2K3kYyfVEnX6z8NkP3wyuygZSG9Px0LOvQ50F6-Oj2VgTKWS6NA3_Dd4TMyhzemmIDOe89_w" />


</head>
<body class="font-sans font-normal">
<div class="site-layout-frame pt-2 md:pt-4 lg:pt-8">
<a href="#main-content" class="visually-hidden focusable">
Skip to main content
</a>

<div class="dialog-off-canvas-main-canvas" data-off-canvas-main-canvas>
<div class="site-layout">
<header role="banner" class="layout-banner p-4 md:p-8">
<!-- Todo logo convert to component -->
<div class="flex flex-row justify-between items-center md:flex-none">
<a class="fs-toggle-menu block md:hidden">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="50px" height="50px"><path d="M 0 7.5 L 0 12.5 L 50 12.5 L 50 7.5 Z M 0 22.5 L 0 27.5 L 50 27.5 L 50 22.5 Z M 0 37.5 L 0 42.5 L 50 42.5 L 50 37.5 Z"/></svg>
</a>
<img class="w-[8rem] md:w-full md:max-w-[14rem] lg:w-full lg:max-w-full" src="/themes/custom/fstheme/logo.png">
</div>

</header>

<aside role="nav" class="
layout-nav opacity-0 hidden
text-2xl [&_li]:mb-4 mb-4 font-semibold
md:animate-none md:opacity-100 md:block p-4 md:p-8 md:text-lg
lg:text-xl
">
<div>
<nav role="navigation" aria-labelledby="block-fstheme-mainnav-menu" id="block-fstheme-mainnav">

<h2 class="visually-hidden" id="block-fstheme-mainnav-menu">Main navigation</h2>



<ul>
<li>
<a href="/ce" data-drupal-link-system-path="node/3">Back to front</a>
</li>
<li>
<a href="https://www.youtube.com/@FreeTheSauce">Videos</a>
</li>
<li>
<a href="/node/7" data-drupal-link-system-path="node/7">About / mission</a>
</li>
<li>
<a href="/ce/free-as-in-speech" data-drupal-link-system-path="webform/contact" class="is-active" aria-current="page">Engage (with) us</a>
</li>
</ul>



</nav>

</div>

</aside>

<div class="layout-title p-4 md:p-8">
<div>
<div id="block-fstheme-page-title">





<h1 class="text-6xl font-mono font-extrabold">Throw some shade</h1>


</div>

</div>

</div>

<main class="layout-main p-4 md:p-8">

<div>
<div data-drupal-messages-fallback class="hidden"></div>

</div>


<a id="main-content" tabindex="-1"></a>
<div>
<div id="block-fstheme-content">


<form class="webform-submission-form webform-submission-add-form webform-submission-contact-form webform-submission-contact-add-form js-webform-details-toggle webform-details-toggle prose prose-xl prose-zinc grid grid-cols-1 gap-4" data-drupal-selector="webform-submission-contact-add-form" action="/ce/free-as-in-speech" method="post" id="webform-submission-contact-add-form" accept-charset="UTF-8">

<div id="edit-intro" class="[&amp;&gt;p]:!mt-0">
<p>If you would like to reach out to me on <a href="https://www.linkedin.com/in/simehobbs/">LinkedIn</a>, please feel free to start a conversation.</p><p>-- Simon</p>
</div>

<div class="js-form-item form-item js-form-type-textfield form-item-name js-form-item-name grid grid-cols-1 gap-42">

<label for="edit-name" class="js-form-required form-required">Your Name</label>


<input data-drupal-selector="edit-name" type="text" id="edit-name" name="name" value="" size="60" maxlength="255" class="form-text required shadow appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-inner focus:shadow-fs-red-tint border-fs-red-tint" required="required" aria-required="true" />



</div>

<div class="js-form-item form-item js-form-type-email form-item-email js-form-item-email grid grid-cols-1 gap-42">

<label for="edit-email" class="js-form-required form-required">Your Email</label>


<input data-drupal-selector="edit-email" type="email" id="edit-email" name="email" value="" size="60" maxlength="254" class="form-email required shadow appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-inner focus:shadow-fs-red-tint border-fs-red-tint" required="required" aria-required="true" />



</div>

<div class="js-form-item form-item js-form-type-textfield form-item-subject js-form-item-subject grid grid-cols-1 gap-42">

<label for="edit-subject" class="js-form-required form-required">Subject</label>


<input data-drupal-selector="edit-subject" type="text" id="edit-subject" name="subject" value="" size="60" maxlength="255" class="form-text required shadow appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-inner focus:shadow-fs-red-tint border-fs-red-tint" required="required" aria-required="true" />



</div>

<div class="js-form-item form-item js-form-type-textarea form-item-message js-form-item-message grid grid-cols-1 gap-42">

<label for="edit-message" class="js-form-required form-required">Message</label>


<div class="shadow appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-inner focus:shadow-fs-red-tint border-fs-red-tint">
<textarea data-drupal-selector="edit-message" id="edit-message" name="message" rows="5" cols="60" class="form-textarea required" required="required" aria-required="true"></textarea>
</div>



</div>
<div data-drupal-selector="edit-actions" class="form-actions webform-actions js-form-wrapper form-wrapper" id="edit-actions"><input class="webform-button--submit button button--primary js-form-submit form-submit shadow appearance-none border rounded py-2 px-3 focus:outline-none focus:shadow-inner focus:shadow-fs-red-tint border-fs-red-tint" data-drupal-selector="edit-actions-submit" type="submit" id="edit-actions-submit" name="op" value="Send message" />

</div>
<input data-drupal-selector="form-ervnas7-debc7h26ruc4gfwdkkbx3zhfnqv-t-d2m3s" type="hidden" name="form_build_id" value="form-ErVnaS7-dEBC7h26RUC4GFwDKKbX3zhfNqV-t-D2M3s" class="shadow appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-inner focus:shadow-fs-red-tint border-fs-red-tint" />
<input data-drupal-selector="edit-webform-submission-contact-add-form" type="hidden" name="form_id" value="webform_submission_contact_add_form" class="shadow appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-inner focus:shadow-fs-red-tint border-fs-red-tint" />



</form>

</div>

</div>


</main>

<footer class="layout-footer">
<div>
<div id="block-fstheme-footer">



<p>Free Sauce continues to acknowledge the Traditional Owners and Custodians of the lands on which we work. We pay our respects to Indigenous Elders past, present, and emerging. Sovereignty has never been ceded. It always was and always will be Aboriginal land.</p>

</div>
<div id="block-fstheme-searchform">


<form action="/js-search/lunr/content">
<div class="search-api-lunr-form">
<div class="form-item">
<label>Search</label>
<input name="q" class="search-api-lunr-form__input search-api-lunr-autocomplete" type="text" placeholder="Search" data-server="lunr" data-index="content">
</div>
<input type="submit" value="Search">
</div>
</form>

</div>

</div>

</footer>
</div>

</div>


</div>
<script type="application/json" data-drupal-selector="drupal-settings-json">{"path":{"baseUrl":"\/","pathPrefix":"","currentPath":"webform\/contact","currentPathIsAdmin":false,"isFront":false,"currentLanguage":"en"},"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"search_api_lunr":{"servers":{"lunr":{"indexes":{"content":{"fileList":["https:\/\/fs-web-static-site.ddev.site\/sites\/default\/files\/search-api-js\/lunr\/content\/index-2.json","https:\/\/fs-web-static-site.ddev.site\/sites\/default\/files\/search-api-js\/lunr\/content\/index-3.json","https:\/\/fs-web-static-site.ddev.site\/sites\/default\/files\/search-api-js\/lunr\/content\/index-4.json"],"fields":{"lead":{"boost":1,"special_type":"summary"},"node_grants":{"boost":1},"status":{"boost":1},"title":{"boost":21,"special_type":"label"},"uid":{"boost":1},"url":{"boost":1,"special_type":"url"}},"version":7}}}}},"ajaxTrustedUrl":{"form_action_p_pvdeGsVG5zNF_XLGPTvYSKCf43t8qZYSwcfZl2uzM":true},"user":{"uid":0,"permissionsHash":"b19f6891bd2b6805949920236091c596b205e02dd036cd72e27f15cf7ecfa047"}}</script>
<script src="/sites/default/files/js/js_CHDWFwpQ86IHDWiLPyJuHpei2jz491awR7NGoBCk3uM.js?scope=footer&amp;delta=0&amp;language=en&amp;theme=fstheme&amp;include=eJyFjUsOgCAQQy-EcCQyaPmYAQyDen01ujPGTZvmtamXHpFhAldHPMyidjhfWzaPa_DJS9cTOiUWLbThs5QhQgFKQG2MlpZkeS3N3Pk1u-T3sNcQGAe03kGF"></script>
<script src="/modules/contrib/search_api_lunr/js/build/api.index.js?sj9rbt" type="module"></script>
<script src="/modules/contrib/search_api_lunr/js/build/theme.index.js?sj9rbt" type="module"></script>
<script src="/sites/default/files/js/js_HgzT0GZx5EmqOWghesoKKQ1b-S4gDQ9Io56zAqgkR0c.js?scope=footer&amp;delta=3&amp;language=en&amp;theme=fstheme&amp;include=eJyFjUsOgCAQQy-EcCQyaPmYAQyDen01ujPGTZvmtamXHpFhAldHPMyidjhfWzaPa_DJS9cTOiUWLbThs5QhQgFKQG2MlpZkeS3N3Pk1u-T3sNcQGAe03kGF"></script>
<script src="/modules/contrib/search_api_lunr/js/build/search.index.js?sj9rbt" type="module"></script>
<script src="/sites/default/files/js/js_i7sVXu_FXvKxbhNGE1-tljx9c0hYaSY_Od9LDJInVvs.js?scope=footer&amp;delta=5&amp;language=en&amp;theme=fstheme&amp;include=eJyFjUsOgCAQQy-EcCQyaPmYAQyDen01ujPGTZvmtamXHpFhAldHPMyidjhfWzaPa_DJS9cTOiUWLbThs5QhQgFKQG2MlpZkeS3N3Pk1u-T3sNcQGAe03kGF"></script>

</body>
</html>
Loading

0 comments on commit 081b619

Please sign in to comment.