This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("hello webflow"); | |
alert("Hello World!"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<div class="imageContainer"> | |
<div class="example-img-container" style="--interval:7939.155745263944"> | |
<img src="https://a.storyblok.com/f/144881/7a42170da0/orchardside-school-41.jpg/m/500x0" alt="" loading="lazy"> | |
<img src="https://a.storyblok.com/f/144881/2048x1365/2dc5855066/ws_neonflex_illuminated-signs_58.jpg/m/500x0" alt="" loading="lazy"> | |
</div> | |
<div class="example-img-container" style="--interval:9939.155745263944"> | |
<img src="https://a.storyblok.com/f/144881/7a42170da0/orchardside-school-41.jpg/m/500x0" alt="" loading="lazy"> | |
<img src="https://a.storyblok.com/f/144881/2048x1365/2dc5855066/ws_neonflex_illuminated-signs_58.jpg/m/500x0" alt="" loading="lazy"> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const OfflineStatusModal = () => { | |
return ( | |
<div className="justify-center items-center bg-black/80 flex overflow-x-hidden overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none"> | |
<div className="relative w-auto my-6 mx-auto max-w-3xl"> | |
{/*content*/} | |
<div className="border-0 rounded-lg shadow-lg relative flex flex-col w-full bg-background outline-none focus:outline-none"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useState, useEffect } from 'react'; | |
async function performNetworkCheck() { | |
const endpoint = 'https://www.google.com'; | |
try { | |
const response = await fetch(endpoint, { | |
method: 'HEAD', | |
cache: 'no-cache', | |
mode: 'no-cors', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.startupEditor": "none", | |
"window.autoDetectColorScheme": true, | |
"workbench.preferredDarkColorTheme": "Min Dark", | |
"workbench.preferredLightColorTheme": "Min Light", | |
"editor.minimap.enabled": false, | |
"breadcrumbs.enabled": false, | |
"editor.renderWhitespace": "all", | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ng-container *ngFor="let item of APIresponse | keyvalue: indexOrderAsc"> | |
{{item.key.replaceAll('_', ' ') | titlecase}}:{{item.value}} | |
</ng-container> |
NewerOlder